Commit 911807d
committed
fix(cli_audit): filter pre-release Python versions from Atom feed
- Add pre-release filtering for Python in Atom feed fallback
- Filter out alpha, beta, rc versions (e.g., v3.15.0a1, v3.14.0rc3)
- Pick highest stable version by semantic version comparison
- Fixes issue where Python 3.15.0a1 (alpha) was detected as latest
- Now correctly identifies 3.14.0 as latest stable version
The Atom feed fallback is used when GitHub API is rate-limited.
Without this fix, pre-release versions would be treated as stable
upgrades, prompting users to install alpha/beta Python versions.1 parent e45af68 commit 911807d
1 file changed
Lines changed: 32 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2134 | 2134 | | |
2135 | 2135 | | |
2136 | 2136 | | |
2137 | | - | |
2138 | | - | |
2139 | | - | |
2140 | | - | |
2141 | | - | |
| 2137 | + | |
| 2138 | + | |
| 2139 | + | |
| 2140 | + | |
| 2141 | + | |
| 2142 | + | |
| 2143 | + | |
| 2144 | + | |
| 2145 | + | |
| 2146 | + | |
| 2147 | + | |
| 2148 | + | |
| 2149 | + | |
| 2150 | + | |
| 2151 | + | |
| 2152 | + | |
| 2153 | + | |
| 2154 | + | |
| 2155 | + | |
| 2156 | + | |
| 2157 | + | |
2142 | 2158 | | |
2143 | | - | |
| 2159 | + | |
2144 | 2160 | | |
| 2161 | + | |
| 2162 | + | |
| 2163 | + | |
| 2164 | + | |
| 2165 | + | |
| 2166 | + | |
| 2167 | + | |
| 2168 | + | |
| 2169 | + | |
| 2170 | + | |
2145 | 2171 | | |
2146 | 2172 | | |
2147 | 2173 | | |
| |||
0 commit comments