Commit 2fc9bc5
committed
fix: remove --frozen flag from lowest-direct pytest runs
Root cause identified: The --frozen flag was causing uv to validate
against the lockfile, which has anyio 4.10.0 (from highest resolution).
When running lowest-direct tests, we install anyio 4.5.0, but uv run
with --frozen was re-resolving or using the lockfile version, causing
the ImportError for RunFinishedError (which only exists in 4.11+).
Changes:
- lowest-direct tests now use: uv run --no-sync pytest
- highest tests still use: uv run --frozen --no-sync pytest
- Improved debugging to check venv directly without triggering re-resolution
- Added comparison tests between --no-sync and --frozen --no-sync
This ensures lowest-direct tests use the packages installed by
--resolution lowest-direct without interference from the lockfile.
Github-Issue: #13251 parent c1492fb commit 2fc9bc5
File tree
1 file changed
+9
-10
lines changed- .github/workflows
1 file changed
+9
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
| 62 | + | |
| 63 | + | |
65 | 64 | | |
66 | | - | |
67 | | - | |
| 65 | + | |
| 66 | + | |
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
73 | | - | |
74 | | - | |
| 72 | + | |
| 73 | + | |
75 | 74 | | |
76 | | - | |
77 | | - | |
| 75 | + | |
| 76 | + | |
78 | 77 | | |
79 | 78 | | |
80 | | - | |
| 79 | + | |
81 | 80 | | |
82 | 81 | | |
83 | 82 | | |
| |||
0 commit comments