From 4ccdc0bc9fc0846803b2541e798aa9e27d044d07 Mon Sep 17 00:00:00 2001 From: rbi-aap Date: Mon, 2 Sep 2024 12:01:43 +1000 Subject: [PATCH] update for env --- .github/workflows/tests-py38.yml | 8 ++++++-- .github/workflows/tests.yml | 2 +- assets/ui/components/ArticleBodyHtml.jsx | 3 --- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests-py38.yml b/.github/workflows/tests-py38.yml index afa63853..95c5aadc 100644 --- a/.github/workflows/tests-py38.yml +++ b/.github/workflows/tests-py38.yml @@ -17,7 +17,11 @@ jobs: python-version: 3.8 - name: docker-compose - run: docker-compose -f .actions-docker-compose.yml up -d + run: docker compose -f .actions-docker-compose.yml up -d + + - run: | + sudo apt-get update + sudo apt-get install pkg-config libxml2-dev libxmlsec1-dev libxmlsec1-openssl - name: cache pip uses: actions/cache@v2 @@ -30,7 +34,7 @@ jobs: - name: pip install run: | - python -m pip install --upgrade pip wheel setuptools + python -m pip install --upgrade pip==24.0 wheel setuptools pip install -r dev-requirements.txt - name: flake8 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2427ff76..c11e638e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,7 +17,7 @@ jobs: python-version: 3.6 - name: docker-compose - run: docker-compose -f .actions-docker-compose.yml up -d + run: docker compose -f .actions-docker-compose.yml up -d - run: | sudo apt-get update diff --git a/assets/ui/components/ArticleBodyHtml.jsx b/assets/ui/components/ArticleBodyHtml.jsx index 999b88ad..93e37663 100644 --- a/assets/ui/components/ArticleBodyHtml.jsx +++ b/assets/ui/components/ArticleBodyHtml.jsx @@ -176,13 +176,10 @@ class ArticleBodyHtml extends React.PureComponent { return; } - // const startTime = Date.now(); const loadHandler = () => { - // const loadTime = Date.now() - startTime; if (player.media.videoWidth === 0 && player.media.videoHeight === 0) { if (!player.poster) { - // } else { player.poster = fallbackDefault; } } else {