Repository navigation
Commit 507c754
committed
[KT VM] Replace python3-wget with curl for VM image download
python3-wget (last released 2017) subclasses urllib.request.FancyURLopener,
which was removed in Python 3.14. This breaks the whole kt import chain
(kt -> content_release -> vm) wherever python3-wget gets installed, e.g.
GitHub runners on the new Ubuntu 26 images where python3 is 3.14:
AttributeError: module 'urllib.request' has no attribute 'FancyURLopener'
Use curl via LocalCommand.run instead, matching the existing pattern in
kt/commands/content_release/impl.py. -f fails on HTTP errors (wget raised
on those) and -L follows redirects (wget default).
Also drops the dead python3-wget dependency and its transitive deps
(hurry.filesize, cli-exit-tools, lib-detect-testenv).1 parent c0b051c commit 507c754
2 files changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
202 | 201 | | |
203 | 202 | | |
204 | 203 | | |
205 | | - | |
| 204 | + | |
206 | 205 | | |
207 | 206 | | |
208 | 207 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
0 commit comments