Commit 2d5a6fc
Fix smoke-test install: bust uv index cache on retry
The smoke-test jobs retry `uv pip install python-flexeval==<version>` to
absorb index propagation lag after publish. But uv caches the simple-index
listing on the first attempt, so when that attempt runs before the new
version has propagated, every subsequent retry reuses the stale cached
listing and fails with "no version of python-flexeval==<version>" — even
though the version is already live.
This is what failed smoke-test-pypi on the v0.5.1 release: 0.5.1 was fully
published (both files present on PyPI), but the job's 6 retries all saw the
cached pre-publish listing.
Add --refresh-package python-flexeval so each retry re-fetches that
package's index metadata (deps stay cached). Verified locally that a plain
install reproduced the stale-cache failure while --refresh-package resolved
0.5.1. Applied to both the PyPI and TestPyPI smoke jobs.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 44c7546 commit 2d5a6fc
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
118 | 121 | | |
119 | 122 | | |
120 | 123 | | |
121 | 124 | | |
122 | 125 | | |
| 126 | + | |
123 | 127 | | |
124 | 128 | | |
125 | 129 | | |
| |||
206 | 210 | | |
207 | 211 | | |
208 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
209 | 216 | | |
210 | 217 | | |
211 | 218 | | |
212 | 219 | | |
213 | 220 | | |
| 221 | + | |
214 | 222 | | |
215 | 223 | | |
216 | 224 | | |
| |||
0 commit comments