Zanie Blue
464a33ca82
Bump version to 0.11.3 ( #18805 )
2026-04-01 15:52:54 -05:00
Martin Jansche
8fe68cf52d
Support debug CPython ABI tags in environment compatibility ( #18739 )
...
## Summary
This PR fixes a problem in `uv pip install`, which currently refuses to
install debug wheels in virtual environments with debug CPythons.
Before this change, wheel parsing already preserved debug ABI suffixes
like cp313d and cp314d, but Tags::from_env only propagated free-threaded
and legacy pymalloc variants. As a result, uv would detect a debug
interpreter correctly during discovery while still generating
cp313/cp314 environment tags, causing debug-built wheels to be rejected
as incompatible.
Fix this by accepting a debug_enabled flag in Tags::from_env, mapping it
to CPythonAbiVariants::Debug, and passing the interpreter debug state
from the production call sites in uv-python and uv pip resolution.
Also update the affected tests and helpers, and add a regression test
that verifies debug CPython 3.13 generates cp313-cp313d manylinux tags.
## Test Plan
Tests run:
- cargo test -p uv-platform-tags
tags::tests::test_system_tags_debug_cpython -- --exact
- cargo test -p uv-installer
plan::tests::test_abi3_on_free_threaded_python_hint -- --exact
- cargo test -p uv-installer
plan::tests::test_gil_enabled_cpython_on_free_threaded_python_hint --
--exact
- cargo test -p uv-installer
plan::tests::test_abi3_on_regular_python_no_special_hint -- --exact
- cargo test -p uv --test it
pip_install::abi_compatibility_on_debug_python -- --exact
---------
Co-authored-by: konstin <konstin@mailbox.org >
2026-04-01 19:21:12 +02:00
Zanie Blue
02036a8ba5
Bump version to 0.11.2 ( #18732 )
2026-03-26 20:44:25 +00:00
github-actions[bot]
d247329fbb
Sync latest Python releases ( #18720 )
...
Automated update for Python releases.
Co-authored-by: zanieb <2586601+zanieb@users.noreply.github.com >
2026-03-26 15:43:53 -05:00
Zanie Blue
a6042f67fc
Bump version to 0.11.1 ( #18704 )
2026-03-24 22:18:22 +00:00
Zanie Blue
edb1744df6
Special-case == Python version request ranges ( #9697 )
...
Related to https://github.com/astral-sh/uv/issues/9695
Doesn't solve the reported issue with `requires-python` because that
doesn't go through the parser
https://github.com/astral-sh/uv/blob/6ed6fc108e95e742075cf1eddb09ec86c04f632e/crates/uv/src/commands/project/mod.rs#L518-L526
2026-03-24 08:45:27 -05:00
Zanie Blue
1f31f0e9fb
Bump version to 0.11.0 ( #18683 )
...
Co-authored-by: Zsolt Dollenstein <zsol.zsol@gmail.com >
Co-authored-by: Geoffrey Thomas <geofft@ldpreload.com >
2026-03-23 21:13:35 +00:00
Zanie Blue
0967b5a28b
Fix the free-threaded install-only downloads on macOS ( #18609 )
...
I'm honestly not sure what the root cause is here but I'm going to merge
to unblock `main` which is otherwise broken.
2026-03-20 20:22:21 +00:00
github-actions[bot]
00e4746cc0
Sync latest Python releases ( #18591 )
...
Automated update for Python releases.
Co-authored-by: zanieb <2586601+zanieb@users.noreply.github.com >
2026-03-20 13:13:22 -05:00
Zanie Blue
00d72dac7b
Bump version to 0.10.12 ( #18578 )
2026-03-19 21:18:55 +00:00
Zanie Blue
b03b033924
Move is_explicit check to PythonSource ( #18569 )
2026-03-19 12:28:50 -05:00
Zanie Blue
d7da792648
Consolidate PythonPreference enforcement ( #18567 )
2026-03-19 10:01:03 -05:00
Zanie Blue
5e25583c42
Construct PythonInstallation early instead of passing around source / interpreter separately ( #18564 )
2026-03-19 08:21:23 -05:00
Zsolt Dollenstein
46c9bac182
download-metadata: Use ndjson instead of GH releases for CPython ( #18406 )
2026-03-19 11:36:19 +00:00
Zanie Blue
42c85f654f
Add support for using Python 3.6 interpreters ( #18454 )
...
Applies a patch to use Python 3.6 compatible types in our vendored
`packaging` implementation used in the interpreter query script. Adds
Python 3.6 and 3.7 test coverage in CI.
2026-03-18 18:33:30 -05:00
github-actions[bot]
87950df2cc
Add pypy 3.11.15 ( #18468 )
...
Automated update for Python releases.
Co-authored-by: zanieb <2586601+zanieb@users.noreply.github.com >
2026-03-18 07:48:18 -05:00
Charlie Marsh
006b56b12d
Bump version to 0.10.11 ( #18521 )
...
Co-authored-by: Tomasz Kramkowski <tom@astral.sh >
2026-03-16 19:32:39 -04:00
Zanie Blue
fe5ca6ca80
Disable SYSTEM_VERSION_COMPAT when querying interpreters on macOS ( #18452 )
...
Closes https://github.com/astral-sh/uv/issues/14267
Replaces https://github.com/astral-sh/uv/pull/18436 — adding my review
because I cannot push there
Replaces https://github.com/astral-sh/uv/pull/18416
---------
Co-authored-by: Ed Schofield <ed@pythoncharmers.com >
2026-03-14 12:45:37 -05:00
Charlie Marsh
45ea4dd4ec
Fix uv sync --active recreating active environments when UV_PYTHON_INSTALL_DIR is relative ( #18398 )
...
## Summary
We need to normalize any relative managed-Python install roots before
checking whether the active environment’s interpreter is uv-managed, so
that `sync --active` reuses the environment.
Closes https://github.com/astral-sh/uv/issues/16631 .
2026-03-13 18:47:53 -05:00
Zanie Blue
8c730aaad6
Bump version to 0.10.10 ( #18455 )
2026-03-13 14:35:08 -05:00
Zanie Blue
f190514288
Improve error handling for platform detection in Python downloads ( #18453 )
...
I noticed this weird error chain in
https://github.com/astral-sh/uv/issues/8635#issuecomment-4055185865
```
error: Failed to parse request part
Caused by: Could not read ELF interpreter from any of the following paths: /bin/sh, /usr/bin/env, /bin/dash, /bin/ls
```
Co-authored-by: Claude <noreply@anthropic.com >
2026-03-13 19:11:05 +00:00
github-actions[bot]
9bcbaac3e9
Add CPython 3.15.0a7 ( #18403 )
...
Automated update for Python releases.
Co-authored-by: jjhelmus <1050278+jjhelmus@users.noreply.github.com >
2026-03-12 23:55:37 +00:00
Zanie Blue
dd0d76cd83
Fix type errors on main ( #18430 )
2026-03-12 21:48:06 +00:00
Zsolt Dollenstein
ed35fe83ab
Fetch Ruff from an Astral mirror ( #18286 )
2026-03-12 20:54:30 +00:00
Tomasz Kramkowski
5d52a35830
Remove unnecessary error wrapper type ( #18411 )
...
## Summary
I was [working on addressing feedback and some issues I spotted in the
centralised environments
PR](https://www.youtube.com/watch?v=5W4NFcamRhM ) and I noticed that this
wrapper type was unnecessary to achieve the desired result.
## Test Plan
Existing tests.
2026-03-12 12:05:06 +00:00
Zanie Blue
f675560f32
Bump version to 0.10.9 ( #18357 )
2026-03-06 14:00:59 -06:00
Zanie Blue
363aea27be
Drop the sys-info dependency ( #18324 )
...
Part of https://github.com/astral-sh/uv/issues/14574 and
https://github.com/termux/termux-packages/issues/27547
Avoids the downstream patch at
https://github.com/termux/termux-packages/blob/master/packages/uv/0001-sys-info-replace-index-with-strchr.diff
`sys-info-rs` has not been updated in years
https://github.com/FillZpp/sys-info-rs — it includes C code and can't be
built on Termux https://github.com/FillZpp/sys-info-rs/issues/116
I considered switching to https://github.com/GuillaumeGomez/sysinfo but
our usage is trivial, so we implement our requirements in `uv-platform`
instead
2026-03-06 16:30:19 +00:00
konsti
401661ee22
Log the duration we took before erroring ( #18231 )
...
We previously errored due to not having long enough backoff, and there
were questions about how long the retries are, so let's log this on
failure.
2026-03-06 08:51:10 -06:00
Zanie Blue
8b82d17f44
Support Python 3.13+ on Android ( #18301 )
...
Python 3.13+ changed how it reports platform information on Android; see
https://peps.python.org/pep-0738/#architectures
Here we add support for the new platform values, without which uv will
fail due to an unrecognized interpreter.
Closes #18296
Closes #18285
Closes https://github.com/astral-sh/uv/issues/18313
---------
Co-authored-by: Claude <noreply@anthropic.com >
2026-03-06 07:42:21 -06:00
konsti
8efb5421bc
Skip over broken tool Python on Windows too ( #17176 )
...
Fixes #16252
2026-03-05 10:02:49 +01:00
github-actions[bot]
379f056aff
Sync latest Python releases ( #18282 )
...
Automated update for Python releases.
Co-authored-by: zanieb <2586601+zanieb@users.noreply.github.com >
2026-03-03 20:23:27 -06:00
Zanie Blue
c021be36ab
Bump version to 0.10.8 ( #18277 )
2026-03-03 15:08:03 -06:00
github-actions[bot]
36955f7527
Sync latest Python releases ( #18268 )
...
Automated update for Python releases.
Co-authored-by: zsol <66740+zsol@users.noreply.github.com >
2026-03-03 17:36:38 +00:00
Zsolt Dollenstein
ce4b9a410a
Fetch CPython from an Astral mirror by default ( #18207 )
2026-03-03 07:02:09 -05:00
Zsolt Dollenstein
08ab1a3447
Bump version to 0.10.7 ( #18212 )
2026-02-27 07:07:47 -05:00
Zanie Blue
a91bcf2683
Bump version to 0.10.6 ( #18189 )
2026-02-24 17:33:36 -06:00
Zanie Blue
f5b95ba548
Fix Python version selection for scripts with a requires-python conflicting with .python-version ( #18097 )
...
See https://github.com/astral-sh/uv/issues/17717#issuecomment-3886377795
Updates `ScriptPython::from_request` to match the implementation of
`WorkspacePython::from_request` and adds filtering such that if the
`.python-version` conflicts with the `requires-python`, we prefer the
latter.
Co-authored-by: Claude <noreply@anthropic.com >
2026-02-24 05:16:48 -06:00
Zanie Blue
e2c05a54e6
Bump version to 0.10.5 ( #18172 )
2026-02-23 16:16:32 -06:00
Zanie Blue
463a78f707
Remove the unused Error::LinkExecutable.to field ( #18065 )
...
Fixes https://github.com/astral-sh/uv/pull/18008/changes#r2813876103
2026-02-18 09:39:44 -06:00
konsti
baa977a114
Fix iOS detection ( #17973 )
...
The fix is `[_version, architecture, _platform] =
version_arch.split("-")`, but I also improved the general structure a
bunch.
Fixes
https://github.com/astral-sh/uv/issues/16724#issuecomment-3530941106
2026-02-18 10:32:37 +00:00
Tomasz Kramkowski
079e3fd059
Bump version to 0.10.4 ( #18072 )
2026-02-17 21:15:57 +00:00
konsti
23234a3c03
Remove duplicate paths in managed Python errors ( #18008 )
...
Fixes https://github.com/astral-sh/uv/issues/17988
2026-02-16 17:27:50 +00:00
Tomasz Kramkowski
c75a0c625c
Bump version to 0.10.3 ( #18012 )
2026-02-16 10:42:51 +00:00
cui
4ce3853c52
Do not match cpython 3.10 for cpython-3.1 ( #17972 )
...
<!--
Thank you for contributing to uv! To help us out with reviewing, please
consider the following:
- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title?
- Does this pull request include references to any relevant issues?
-->
## Summary
<!-- What's the purpose of the change? What does it do, and why? -->
bug fix, in find version 3.1 should not match 3.10
## Test Plan
<!-- How was it tested? -->
---------
Co-authored-by: konstin <konstin@mailbox.org >
Co-authored-by: Zanie Blue <contact@zanie.dev >
2026-02-12 17:46:40 +00:00
Zanie Blue
33a8132b87
Fix handling of --allow-existing with minor version links on Windows ( #17978 )
...
Closes #17963
2026-02-12 11:30:36 -06:00
Jonathan J. Helmus
6663f8899d
Add CPython 3.15.0a6 ( #17987 )
...
Update available python versions to include CPython 3.15.0a6
Update scripts used to sync pbs releases to account for recent changes
in the repo and to support running on macOS.
2026-02-12 11:23:41 -06:00
Tomasz Kramkowski
a788db7e5d
Bump version to 0.10.2 ( #17958 )
2026-02-10 18:21:21 +00:00
William Woodruff
471137f5b2
Deprecate unexpected ZIP compression methods ( #17946 )
2026-02-10 12:46:30 -05:00
konsti
b1b14d39ae
Bump version to 0.10.1 ( #17953 )
2026-02-10 11:14:16 +00:00
William Woodruff
3876553531
Revert "Warn on unexpected ZIP compression methods" ( #17944 )
...
Reverts astral-sh/uv#17885
2026-02-09 13:53:13 -05:00