diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 31799f7c..bca52b96 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -34,10 +34,18 @@ jobs: with: python-version: ${{ matrix.python-version }} cache: "pip" - - name: Install dependencies + - name: Install dependencies (Python 3.8) + if: matrix.python-version <= '3.8' + run: | + python -m pip install --upgrade pip + python -m pip install -r requirements-ci-python38.txt + - name: Install dependencies (Python > 3.8) + if: matrix.python-version > '3.8' run: | python -m pip install --upgrade pip python -m pip install -r requirements-ci.txt + - name: Install Playwright browsers + run: | # See https://playwright.dev/python/docs/intro#installing-playwright-pytest playwright install chromium --with-deps - name: Run tests diff --git a/requirements-ci-python38.txt b/requirements-ci-python38.txt new file mode 100644 index 00000000..2682fbdb --- /dev/null +++ b/requirements-ci-python38.txt @@ -0,0 +1,118 @@ +# +# This file is autogenerated by pip-compile with Python 3.11 +# by the following command: +# +# pip-compile requirements-ci.in +# +asv==0.6.5 + # via -r requirements-ci.in +asv-runner==0.2.1 + # via asv +build==1.2.2.post1 + # via asv +cachetools==5.5.2 + # via tox +certifi==2025.1.31 + # via requests +chardet==5.2.0 + # via tox +charset-normalizer==3.4.1 + # via requests +colorama==0.4.6 + # via tox +distlib==0.3.9 + # via virtualenv +exceptiongroup==1.2.2 + # via pytest +filelock==3.16.1 + # via + # tox + # virtualenv +greenlet==3.1.1 + # via playwright +idna==3.10 + # via requests +importlib-metadata==8.5.0 + # via + # asv + # asv-runner + # build +iniconfig==2.0.0 + # via pytest +json5==0.10.0 + # via asv +packaging==24.2 + # via + # asv + # build + # pyproject-api + # pytest + # tox +pathspec==0.12.1 + # via -r requirements-ci.in +platformdirs==4.3.6 + # via + # tox + # virtualenv +playwright==1.55.0 + # via -r requirements-ci.in +pluggy==1.5.0 + # via + # pytest + # tox +pyee==12.0.0 + # via playwright +pympler==1.1 + # via asv +pyproject-api==1.8.0 + # via tox +pyproject-hooks==1.2.0 + # via build +pytest==8.3.5 + # via + # pytest-asyncio + # pytest-django +pytest-asyncio==0.24.0 + # via -r requirements-ci.in +pytest-django==4.11.1 + # via -r requirements-ci.in +pyyaml==6.0.2 + # via asv +requests==2.32.3 + # via -r requirements-ci.in +tabulate==0.9.0 + # via asv +tomli==2.2.1 + # via + # asv + # build + # pyproject-api + # pytest + # tox +tox==4.25.0 + # via + # -r requirements-ci.in + # tox-gh-actions +tox-gh-actions==3.4.0 + # via -r requirements-ci.in +types-requests==2.32.0.20241016 + # via -r requirements-ci.in +typing-extensions==4.13.2 + # via + # -r requirements-ci.in + # pyee + # tox + # virtualenv +urllib3==2.2.3 + # via + # requests + # types-requests +virtualenv==20.35.3 + # via + # -r requirements-ci.in + # asv + # tox +whitenoise==6.7.0 + # via -r requirements-ci.in +zipp==3.20.2 + # via importlib-metadata