Skip to content

Commit

Permalink
Use stable dev requirements, and the lowest possible install requirem…
Browse files Browse the repository at this point in the history
…ents in the versions test
  • Loading branch information
adamtheturtle committed Feb 18, 2024
1 parent 41d828b commit b124fa2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
packaging >= 20.5
packaging >= 22
pip >= 23.2
22 changes: 11 additions & 11 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b124fa2

Please sign in to comment.