Commit 7f67ada
committed
fix: refresh anyio package in lowest-direct resolution tests
The CI was failing for lowest-direct tests due to cache corruption
where anyio 4.5.0 was being installed with mixed files from anyio 4.10.0.
This occurred because the cache was shared between the "highest" tests
(which install anyio 4.10.0 from the lockfile) and "lowest-direct" tests
(which resolve to anyio 4.5.0).
The symptom was that anyio's _backends/_asyncio.py tried to import
RunFinishedError (which only exists in anyio 4.11+), but the
_exceptions.py file was from anyio 4.5.0 (which doesn't have it),
causing ImportError.
This fix adds --refresh-package anyio to lowest-direct tests, forcing
anyio to be revalidated from PyPI while keeping the cache enabled for
other packages.
Github-Issue: #13251 parent 63363bf commit 7f67ada
File tree
1 file changed
+1
-1
lines changed- .github/workflows
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments