aboutsummaryrefslogtreecommitdiff
path: root/python/scripts
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2026-01-30 00:05:18 -0500
committerRichard Henderson <richard.henderson@linaro.org>2026-02-02 16:46:40 +1000
commit587f4a1805c83a4e1d59dd43cb14e0a834843d1d (patch)
treeab3054e079ea07d51c56cb5c5b715945c6a8621d /python/scripts
parent4bf4976e8ec48923124086c0e374b2bb1093a557 (diff)
downloadqemu-587f4a1805c83a4e1d59dd43cb14e0a834843d1d.tar.gz
qemu-587f4a1805c83a4e1d59dd43cb14e0a834843d1d.tar.bz2
qemu-587f4a1805c83a4e1d59dd43cb14e0a834843d1d.zip
python: fix msys64 wheel directory specification
In python3.14, fixes were made to the file URI parsing [1] such that file URIs that used to work but were technically out of spec are now broken. As a result, our msys2 GitLab CI tests began failing. Stop using "file://" URI links in favor of simple paths (Thanks pbo) to fix parsing errors under Python 3.14 and fix the msys2 GitLab CI tests. [1] https://docs.python.org/3/whatsnew/3.14.html#urllib Reported-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Suggested-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Tested-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20260130050518.517688-2-jsnow@redhat.com>
Diffstat (limited to 'python/scripts')
-rw-r--r--python/scripts/mkvenv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/scripts/mkvenv.py b/python/scripts/mkvenv.py
index a064709e6c..5cba5770d2 100644
--- a/python/scripts/mkvenv.py
+++ b/python/scripts/mkvenv.py
@@ -683,7 +683,7 @@ def pip_install(
if not online:
full_args += ["--no-index"]
if wheels_dir:
- full_args += ["--find-links", f"file://{str(wheels_dir)}"]
+ full_args += ["--find-links", str(wheels_dir)]
full_args += list(args)
subprocess.run(
full_args,