Skip to content

Comments

Tracking branch for 0.10#17661

Merged
zanieb merged 18 commits intomainfrom
release/010
Feb 5, 2026
Merged

Tracking branch for 0.10#17661
zanieb merged 18 commits intomainfrom
release/010

Conversation

@zanieb
Copy link
Member

@zanieb zanieb commented Jan 22, 2026

Closes #13565

@zanieb zanieb added the build:skip Disable additional builds for a pull request label Jan 22, 2026
@konstin konstin temporarily deployed to uv-test-publish January 27, 2026 16:42 — with GitHub Actions Inactive
zanieb added a commit that referenced this pull request Jan 30, 2026
@zanieb zanieb temporarily deployed to uv-test-publish January 30, 2026 03:44 — with GitHub Actions Inactive
zanieb added a commit that referenced this pull request Jan 30, 2026
@zanieb zanieb temporarily deployed to uv-test-publish January 30, 2026 04:09 — with GitHub Actions Inactive
konstin pushed a commit that referenced this pull request Jan 30, 2026
konstin pushed a commit that referenced this pull request Jan 30, 2026
@zanieb zanieb temporarily deployed to uv-test-publish February 1, 2026 13:44 — with GitHub Actions Inactive
@zanieb zanieb temporarily deployed to uv-test-publish February 3, 2026 17:30 — with GitHub Actions Inactive
zanieb added a commit that referenced this pull request Feb 3, 2026
zanieb added a commit that referenced this pull request Feb 3, 2026
zanieb added a commit that referenced this pull request Feb 3, 2026
zanieb added a commit that referenced this pull request Feb 3, 2026
zanieb added a commit that referenced this pull request Feb 4, 2026
zanieb added a commit that referenced this pull request Feb 4, 2026
@zanieb zanieb temporarily deployed to uv-test-publish February 4, 2026 15:18 — with GitHub Actions Inactive
@zanieb zanieb temporarily deployed to uv-test-publish February 5, 2026 02:00 — with GitHub Actions Inactive
@zanieb zanieb temporarily deployed to uv-test-publish February 5, 2026 14:10 — with GitHub Actions Inactive
konstin and others added 4 commits February 5, 2026 11:24
PPC64 (big endian) seems dead, and it's only supported on one exact
manylinux version (pypa/auditwheel#669), so we
should drop it.

This change does not affect PPC64LE (little endian).
…#17660)

Stabilize `uv add --bounds` and the `add-bounds` configuration option.

There's not many usages of the features, but there also aren't any
problem reports, and I don't expect its functionality to change unless
there were bigger `uv add` and/or argument/configuration handling
changes.

* https://github.com/search?q=path%3A**%2F*.toml%20add-bounds&type=code
* https://grep.app/search?regexp=true&q=uv+add.*--bounds
* https://github.com/search?q=%22uv+add%22+%22--bounds%22&type=code&p=1

Not breaking, but queuing up for 0.10 since it fits nicely with that
release.
charliermarsh and others added 14 commits February 5, 2026 11:24
Since you cannot reference these indexes, I don't think we need a
warning and deprecation period.

Co-authored-by: Claude <[email protected]>
This has been in warnings since 0.8
…all` (#14112)

Closes #12921

For `uv tool run`, we'll just use the global Python version for all
invocations without an explicit alternative request (i.e., via the
`--python` flag).

For `uv tool install`, it's a bit more complicated:

- If the tool is not installed, we'll use the global Python version
- If the tool is already installed, we won't change the Python version
unless `--reinstall` or `--python` is used
- If the tool was installed with `--python`, we won't use the global
Python version, unless the tool is uninstalled first

The behavior can be demonstrated as follows

```
$ uv python pin --global 3.12
$ uv tool install flask  # uses 3.12
$ uv tool install flask  # no-op
$ uv python pin --global 3.13
$ uv tool install flask  # no-op
$ uv tool install flask --reinstall  # uses 3.13
$ uv tool install flask -p 3.12 # uses 3.12
$ uv tool install flask  # no-op
$ uv tool install flask --reinstall # uses 3.12
```

This is a little more complicated than always reinstalling when the
global Python version pin changes, but I think it's probably more
intuitive when actually using the tool. We briefly touched on this when
adding global version pins at
#12115 (comment)

Minor note: I need to do a self-review of this implementation, as it's a
little awkward to encode this behavior in the existing logic.
…n arbitrary one (#16983)

This PR makes `TextCredentialStore.get_credentials` fail on ambiguous
matches, instead of returning the first "best" match while iterating
over all credentials.

Added a unit test, plus tested via:

```
❯ jq -n '{uri: "https://foo"}' | cargo -q run auth helper --protocol=bazel get
error: Multiple credentials found for URL 'https://foo/', specify which username to use
```
(the above needed two username/password combos registered for
`https://foo` using `uv auth login https://foo`)
#17721)

I think if you switch to a different exclude newer time we should only
change package versions if they're no longer within the range.
Otherwise, changing your exclude-newer settings can cause a bunch of
package upgrades without recourse.
I'll roll this into 0.10 even though it isn't breaking for "users".

---------

Co-authored-by: Claude <[email protected]>
Includes a few things...

- Drops preview warnings for use of `uv python upgrade` and `uv python
install --upgrade`
- Adds `--resolve-links` to `uv python find`, which I needed in test
cases to retain existing snapshots
- Fixes issues in our "Using environment ..." messages on Windows which
were incorrect
- Refactors `from_executable` for the `PythonMinorVersionLink` type
(28b2ed2)
to use the type system to prevent incorrect construction (for above)
- Removes special casing where we only upgrade links if they already
exist, which existed so preview wasn't needed on every invocation
- Fixes a bug with `PythonMinorVersionLink::exists` which returned
`true` even if the link pointed to the wrong Python installation leading
to discovery failures
@zanieb zanieb marked this pull request as ready for review February 5, 2026 17:29
@zanieb zanieb merged commit d2ab2d0 into main Feb 5, 2026
83 checks passed
zanieb added a commit that referenced this pull request Feb 5, 2026
zanieb added a commit that referenced this pull request Feb 5, 2026
@zanieb zanieb deleted the release/010 branch February 5, 2026 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build:skip Disable additional builds for a pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Install PyPy to PATH as pypy/pypy3

4 participants