From b124fa2fc8a6fee57876766fc41855cd44bee07e Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Sun, 18 Feb 2024 13:25:20 +0000 Subject: [PATCH] Use stable dev requirements, and the lowest possible install requirements in the versions test --- .github/workflows/ci.yml | 6 ++++-- requirements.txt | 2 +- test-requirements.txt | 22 +++++++++++----------- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6cb7cec..32e7829 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: - uv-resolution: ['highest', 'lowest-direct'] + uv-resolution: ['highest', 'lowest'] # The minimum version should be represented in setup.py. python-version: ["3.9", "3.10", "3.11", "3.12"] os: [ubuntu-latest, windows-latest] @@ -49,7 +49,9 @@ jobs: - name: "Install dependencies" run: | ${{ steps.venv.outputs.activate }} - uv pip install --resolution=${{ matrix.uv-resolution }} --upgrade --editable .[dev] + # We want the latest dev requirements, but the lowest install requirements. + uv pip install --upgrade --editable .[dev] + uv pip install --resolution=${{ matrix.uv-resolution }} --upgrade --editable . - name: "Lint" run: | diff --git a/requirements.txt b/requirements.txt index 338e526..92ad8ea 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -packaging >= 20.5 +packaging >= 22 pip >= 23.2 diff --git a/test-requirements.txt b/test-requirements.txt index cc3c66a..5b0a876 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,12 +1,12 @@ -actionlint-py -mypy -pyenchant -pylint -pyproject-fmt -pyright -pyroma -pytest -pytest-cov -ruamel.yaml +actionlint-py==1.6.26.11 +mypy==1.8.0 +pyenchant==3.2.2 +pylint==3.0.3 +pyproject-fmt==1.7.0 +pyright==1.1.350 +pyroma==4.2 +pytest==8.0.1 +pytest-cov==4.1.0 +ruamel.yaml==0.18.6 ruff==0.2.1 -types-setuptools +types-setuptools==69.1.0.20240217