Skip to content

Commit 5499cda

Browse files
Copilotstrawgatejlowin
authored
Fix lowest-direct dependency tests to actually test minimum versions (#2295)
* Initial plan * Pin dev dependencies and use --resolution lowest-direct in pytest commands Co-authored-by: strawgate <[email protected]> * Update uv.lock * bump ty version * ty upper bound * Update uv.lock * Update ty lock --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: strawgate <[email protected]> Co-authored-by: Jeremiah Lowin <[email protected]>
1 parent aba7d76 commit 5499cda

File tree

3 files changed

+34
-34
lines changed

3 files changed

+34
-34
lines changed

.github/workflows/run-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ jobs:
7979
run: uv sync --resolution lowest-direct
8080

8181
- name: Run tests (excluding integration and client_process)
82-
run: uv run pytest --inline-snapshot=disable tests -m "not integration and not client_process" --numprocesses auto --maxprocesses 4 --dist worksteal
82+
run: uv run --resolution lowest-direct pytest --inline-snapshot=disable tests -m "not integration and not client_process" --numprocesses auto --maxprocesses 4 --dist worksteal
8383

8484
- name: Run client process tests separately
85-
run: uv run pytest --inline-snapshot=disable tests -m "client_process" -x
85+
run: uv run --resolution lowest-direct pytest --inline-snapshot=disable tests -m "client_process" -x
8686

8787
run_integration_tests:
8888
name: "Run integration tests"

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,22 +56,22 @@ dev = [
5656
"fastapi>=0.115.12",
5757
"inline-snapshot[dirty-equals]>=0.27.2",
5858
"ipython>=8.12.3",
59-
"pdbpp>=0.10.3",
60-
"psutil",
59+
"pdbpp>=0.11.7",
60+
"psutil>=7.0.0",
6161
"pyinstrument>=5.0.2",
6262
"pyperclip>=1.9.0",
6363
"pytest>=8.3.3",
6464
"pytest-asyncio>=1.2.0",
6565
"pytest-cov>=6.1.1",
6666
"pytest-env>=1.1.5",
67-
"pytest-flakefinder",
67+
"pytest-flakefinder>=1.1.0",
6868
"pytest-httpx>=0.35.0",
6969
"pytest-report>=0.2.1",
7070
"pytest-retry>=1.7.0",
7171
"pytest-timeout>=2.4.0",
7272
"pytest-xdist>=3.6.1",
73-
"ruff",
74-
"ty>=0.0.1a19",
73+
"ruff>=0.12.8",
74+
"ty==0.0.1a19",
7575
"prek>=0.2.12",
7676
]
7777

uv.lock

Lines changed: 27 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)