Zanie Blue
dc3fd46472
Bump version to 0.7.12 ( #13892 )
CI / check cache | macos aarch64 (push) Has been cancelled
CI / check system | python on debian (push) Has been cancelled
CI / check system | python on fedora (push) Has been cancelled
CI / check system | python on ubuntu (push) Has been cancelled
CI / check system | python on rocky linux 8 (push) Has been cancelled
CI / check system | python on rocky linux 9 (push) Has been cancelled
CI / check system | graalpy on ubuntu (push) Has been cancelled
CI / check system | pypy on ubuntu (push) Has been cancelled
CI / check system | pyston (push) Has been cancelled
CI / check system | python on macos aarch64 (push) Has been cancelled
CI / check system | homebrew python on macos aarch64 (push) Has been cancelled
CI / check system | python on macos x86-64 (push) Has been cancelled
CI / check system | python3.10 on windows x86-64 (push) Has been cancelled
CI / check system | python3.10 on windows x86 (push) Has been cancelled
CI / check system | python3.13 on windows x86-64 (push) Has been cancelled
CI / check system | x86-64 python3.13 on windows aarch64 (push) Has been cancelled
CI / check system | windows registry (push) Has been cancelled
CI / check system | python3.12 via chocolatey (push) Has been cancelled
CI / check system | python3.9 via pyenv (push) Has been cancelled
CI / check system | python3.13 (push) Has been cancelled
CI / check system | conda3.11 on macos aarch64 (push) Has been cancelled
CI / check system | conda3.8 on macos aarch64 (push) Has been cancelled
CI / check system | conda3.11 on linux x86-64 (push) Has been cancelled
CI / check system | conda3.8 on linux x86-64 (push) Has been cancelled
CI / check system | conda3.11 on windows x86-64 (push) Has been cancelled
CI / check system | conda3.8 on windows x86-64 (push) Has been cancelled
CI / check system | amazonlinux (push) Has been cancelled
CI / check system | embedded python3.10 on windows x86-64 (push) Has been cancelled
CI / benchmarks | walltime aarch64 linux (push) Has been cancelled
CI / benchmarks | instrumented (push) Has been cancelled
2025-06-06 19:42:06 +00:00
konsti
5b0133c0ec
Hint at tool.uv.required-environments
( #13575 )
...
For the case where there was no matching wheel on sync, we previously
added a note about which wheels are available vs. on which platform you
are on. We extend this error message to link directly towards
`tool.uv.required-environments`, which otherwise has a discovery
problem.
On Linux (Setting `tool.uv.required-environments` doesn't help here
either, but it's a clear example):
```
[project]
name = "debug"
version = "0.1.0"
requires-python = "==3.10.*"
dependencies = ["tensorflow-macos>=2.13.1"]
```
```
Resolved 41 packages in 24ms
error: Distribution `tensorflow-macos==2.16.2 @ registry+https://pypi.org/simple ` can't be installed because it doesn't have a source distribution or wheel for the current platform
hint: You're on Linux (`manylinux_2_39_x86_64`), but there are no wheels for the current platform, consider configuring `tool.uv.required-environments`.
hint: `tensorflow-macos` (v2.16.2) only has wheels for the following platform: `macosx_12_0_arm64`.
```

---------
Co-authored-by: Zanie Blue <contact@zanie.dev>
2025-06-06 19:15:52 +00:00
konsti
7aefbe8dc5
Don't hint at versions removed by excluded-newer ( #13884 )
...
General small hint false positives that shows up as CI failure in our
snapshots.
Fixes #13867
2025-06-06 18:35:18 +00:00
konsti
0109af1aa5
Hint at tool.uv.environments
on resolution error ( #13455 )
...
Users are not (yet) properly familiar with the concept of universal
resolution and its implication that we need to resolve for all possible
platforms and Python versions. Some projects only target a specific
platform or Python version, and users experience resolution errors due
to failures for other platforms. Indicated by the number of questions we
get about it, `tool.uv.environments` for restricting environments is not
well discoverable.
We add a special hint when resolution failed on a fork disjoint with the
current environment, hinting the user to constrain `requires-python` and
`tool.uv.environments` respectively.
The hint has false positives for cases where the resolution failed on a
different platform, but equally fails on the current platform, in cases
where the non-current fork was tried earlier. Given that conflicts can
be based on `requires-python`, afaik we can't parse whether the current
platform would also be affected from the derivation tree.
Two cases not covered by this are build errors as well as install errors
that need `tool.uv.required-environments`.
2025-06-06 14:17:52 +00:00
Yury Fedotov
8a88ab2c70
Minor internal README enhancement for Markdown list in PEP440 ( #13880 )
...
CI / check cache | macos aarch64 (push) Blocked by required conditions
CI / check system | python on debian (push) Blocked by required conditions
CI / check system | python on fedora (push) Blocked by required conditions
CI / check system | python on ubuntu (push) Blocked by required conditions
CI / check system | python on rocky linux 8 (push) Blocked by required conditions
CI / check system | python on rocky linux 9 (push) Blocked by required conditions
CI / check system | graalpy on ubuntu (push) Blocked by required conditions
CI / check system | pypy on ubuntu (push) Blocked by required conditions
CI / check system | pyston (push) Blocked by required conditions
CI / check system | python on macos aarch64 (push) Blocked by required conditions
CI / check system | homebrew python on macos aarch64 (push) Blocked by required conditions
CI / check system | python on macos x86-64 (push) Blocked by required conditions
CI / check system | python3.10 on windows x86-64 (push) Blocked by required conditions
CI / check system | python3.10 on windows x86 (push) Blocked by required conditions
CI / check system | python3.13 on windows x86-64 (push) Blocked by required conditions
CI / check system | x86-64 python3.13 on windows aarch64 (push) Blocked by required conditions
CI / check system | windows registry (push) Blocked by required conditions
CI / check system | python3.12 via chocolatey (push) Blocked by required conditions
CI / check system | python3.9 via pyenv (push) Blocked by required conditions
CI / check system | python3.13 (push) Blocked by required conditions
CI / check system | conda3.11 on macos aarch64 (push) Blocked by required conditions
CI / check system | conda3.8 on macos aarch64 (push) Blocked by required conditions
CI / check system | conda3.11 on linux x86-64 (push) Blocked by required conditions
CI / check system | conda3.8 on linux x86-64 (push) Blocked by required conditions
CI / check system | conda3.11 on windows x86-64 (push) Blocked by required conditions
CI / check system | conda3.8 on windows x86-64 (push) Blocked by required conditions
CI / check system | amazonlinux (push) Blocked by required conditions
CI / check system | embedded python3.10 on windows x86-64 (push) Blocked by required conditions
CI / benchmarks | walltime aarch64 linux (push) Blocked by required conditions
CI / benchmarks | instrumented (push) Blocked by required conditions
- Define all list elements using `-`: it used to be a mix of `*` and
`-`. `-` is what Prettier linter formats it to by default.
- Removed unnecessary blank line between 2 list elements. Other elements
were stitched together without blank lines in between.
- Only the first list element started in sentence case (capital letter
first) - I made all start like so.
2025-06-06 08:45:37 -05:00
konsti
bf96c60e3e
Lock during uv sync
, uv add
and uv remove
to avoid race conditions ( #13869 )
...
Surprisingly, we weren't locking during `uv sync` so far, so running `uv
sync` in parallel could cause errors in filesystem races.
I've also added locks to `uv add` and `uv remove` which concurrently
modify `pyproject.toml`. These locks only apply after we determined the
interpreter, so they don't actually prevent computing the same thing
twice when running `uv add` in parallel.
All other subcommands that I checked were already locking (with no claim
to exhaustiveness)
Fixes #12751
# Test Plan
I don't have CI-sized reproducer for this.
```toml
[project]
name = "debug"
version = "0.1.0"
requires-python = ">=3.12"
dependencies = [
"boto3>=1.38.30",
"fastapi>=0.115.12",
"numba>=0.61.2",
"polars>=1.30.0",
"protobuf>=6.31.1",
"pyarrow>=20.0.0",
"pydantic>=2.11.5",
"requests>=2.32.3",
"urllib3>=2.4.0",
"scikit-learn>=1.6.1",
"jupyter>=1.1.1",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
```
```
rm -rf .venv && parallel -n0 "uv sync -q" ::: {1..10}
```
2025-06-06 14:16:40 +02:00
Micha Reiser
b865f76b78
Change GlobDirFilter
fallback to true
( #13882 )
...
## Summary
I think `GlobDirFilter::match_directory` should return `true` if it
failed to construct a DFA
to force a full directory traversal. Returning `false` means that the
build backend excludes all files which
is unlikely what we want in that situation.
2025-06-06 14:07:34 +02:00
samypr100
a68fb53c4b
PEP 751 uv export supports --no-editable ( #13852 )
...
## Summary
When trying out `uv export --no-editable --format pylock.toml` the
exported contents would still retain `editable = true` regardless.
## Test Plan
Added additional test. Tested locally on few projects where I was
previously using `uv export --no-editable --format requirements.txt` to
ensure the output aligns.
2025-06-06 07:52:14 -04:00
Zanie Blue
7dd564d3d0
Improve python pin
error messages ( #13862 )
...
CI / check system | python on macos aarch64 (push) Blocked by required conditions
CI / check cache | macos aarch64 (push) Blocked by required conditions
CI / check system | python on debian (push) Blocked by required conditions
CI / check system | python on fedora (push) Blocked by required conditions
CI / check system | python on ubuntu (push) Blocked by required conditions
CI / check system | python on rocky linux 8 (push) Blocked by required conditions
CI / check system | python on rocky linux 9 (push) Blocked by required conditions
CI / check system | graalpy on ubuntu (push) Blocked by required conditions
CI / check system | pypy on ubuntu (push) Blocked by required conditions
CI / check system | pyston (push) Blocked by required conditions
CI / check system | homebrew python on macos aarch64 (push) Blocked by required conditions
CI / check system | python on macos x86-64 (push) Blocked by required conditions
CI / check system | python3.10 on windows x86-64 (push) Blocked by required conditions
CI / check system | python3.10 on windows x86 (push) Blocked by required conditions
CI / check system | python3.13 on windows x86-64 (push) Blocked by required conditions
CI / check system | x86-64 python3.13 on windows aarch64 (push) Blocked by required conditions
CI / check system | windows registry (push) Blocked by required conditions
CI / check system | python3.12 via chocolatey (push) Blocked by required conditions
CI / check system | python3.9 via pyenv (push) Blocked by required conditions
CI / check system | python3.13 (push) Blocked by required conditions
CI / check system | conda3.11 on macos aarch64 (push) Blocked by required conditions
CI / check system | conda3.8 on macos aarch64 (push) Blocked by required conditions
CI / check system | conda3.11 on linux x86-64 (push) Blocked by required conditions
CI / check system | conda3.8 on linux x86-64 (push) Blocked by required conditions
CI / check system | conda3.11 on windows x86-64 (push) Blocked by required conditions
CI / check system | conda3.8 on windows x86-64 (push) Blocked by required conditions
CI / check system | amazonlinux (push) Blocked by required conditions
CI / check system | embedded python3.10 on windows x86-64 (push) Blocked by required conditions
CI / benchmarks | walltime aarch64 linux (push) Blocked by required conditions
CI / benchmarks | instrumented (push) Blocked by required conditions
Addresses https://github.com/astral-sh/uv/issues/13854
2025-06-05 21:48:34 +00:00
Jack O'Connor
94ed6f880f
update Git and GitHub Actions docs to mention gh auth login
( #13850 )
2025-06-05 20:44:59 +00:00
Zanie Blue
b1a50c33cf
Fix lock_requires_python
test case ( #13866 )
...
Tracking https://github.com/astral-sh/uv/issues/13867
2025-06-05 17:27:52 +00:00
Zanie Blue
262ca73965
Remove the configuration section in favor of concepts / reference ( #13842 )
...
Extends https://github.com/astral-sh/uv/pull/13841 — I'll drop that
commit later after that pull request merges but it's small.
I find the split into a "Configuration" section awkward and don't think
it's helping us. Everything moved into the "Concepts" section, except
the "Environment variables" page which definitely belongs in the
reference and the "Installer" page which is fairly niche and seems
better in the reference.
Before / After
<img
src="https://github.com/user-attachments/assets/80d8304b-17da-4900-a5f4-c3ccac96fcc5 "
width="400">
2025-06-05 17:09:49 +00:00
Zanie Blue
062b6ab743
Add uv python pin --rm
to remove .python-version
pins ( #13860 )
...
I realized it is non-trivial to delete the global Python version pin,
and that we were missing this simple functionality
2025-06-05 12:05:42 -05:00
Zanie Blue
789a246cf3
Move the pip interface documentation into the concepts section ( #13841 )
...
The motivation here being a reduction in the length of the navigation. I
don't think we did this in the first place because we didn't have the
capability to do another nested level, but now we're doing that for
Projects.
2025-06-05 11:53:27 -05:00
github-actions[bot]
cd89a592ea
Update tag for Python sysconfig metadata ( #13851 )
...
Automated update for Python releases.
Co-authored-by: zanieb <2586601+zanieb@users.noreply.github.com>
2025-06-05 11:21:35 -05:00
Abhishek Upadhye
efd4652faa
List .gitignore
in project init files ( #13855 )
...
Fixes https://github.com/astral-sh/uv/issues/13639
Just added a missing `.gitignore` file in the docs, so that there would
be no confusion for readers referring it.
Thank you!
2025-06-05 09:21:15 -05:00
Michał Górny
3a29bb0986
Switch sync_dry_run
test to Python 3.9 ( #13858 )
...
CI / check system | python3.13 on windows x86-64 (push) Blocked by required conditions
CI / check system | x86-64 python3.13 on windows aarch64 (push) Blocked by required conditions
CI / check system | windows registry (push) Blocked by required conditions
CI / check system | python3.12 via chocolatey (push) Blocked by required conditions
CI / check system | python3.9 via pyenv (push) Blocked by required conditions
CI / check system | python3.13 (push) Blocked by required conditions
CI / check system | conda3.11 on macos aarch64 (push) Blocked by required conditions
CI / check system | conda3.8 on macos aarch64 (push) Blocked by required conditions
CI / check system | conda3.11 on linux x86-64 (push) Blocked by required conditions
CI / check system | conda3.8 on linux x86-64 (push) Blocked by required conditions
CI / check system | conda3.11 on windows x86-64 (push) Blocked by required conditions
CI / check system | conda3.8 on windows x86-64 (push) Blocked by required conditions
CI / check system | amazonlinux (push) Blocked by required conditions
CI / check system | embedded python3.10 on windows x86-64 (push) Blocked by required conditions
CI / benchmarks | walltime aarch64 linux (push) Blocked by required conditions
CI / benchmarks | instrumented (push) Blocked by required conditions
CI / check cache | macos aarch64 (push) Blocked by required conditions
CI / check system | python on debian (push) Blocked by required conditions
CI / check system | python on fedora (push) Blocked by required conditions
CI / check system | python on ubuntu (push) Blocked by required conditions
CI / check system | python on rocky linux 8 (push) Blocked by required conditions
CI / check system | python on rocky linux 9 (push) Blocked by required conditions
CI / check system | graalpy on ubuntu (push) Blocked by required conditions
CI / check system | pypy on ubuntu (push) Blocked by required conditions
CI / check system | pyston (push) Blocked by required conditions
CI / check system | python on macos aarch64 (push) Blocked by required conditions
CI / check system | homebrew python on macos aarch64 (push) Blocked by required conditions
CI / check system | python on macos x86-64 (push) Blocked by required conditions
CI / check system | python3.10 on windows x86-64 (push) Blocked by required conditions
CI / check system | python3.10 on windows x86 (push) Blocked by required conditions
## Summary
Switch the `sync_dry_run` test to use Python 3.9 instead of Python 3.8.
I didn't previously catch it since it was marked as `python_managed`.
## Test Plan
`cargo test --no-default-features --features git,pypi,python` without
Python 3.8 installed.
2025-06-05 08:15:00 -05:00
Michał Górny
042e8a448b
Make requirements_txt_ssh_git_username
not write into homedir ( #13857 )
...
## Summary
Modify `requirements_txt_ssh_git_username` test to pass `-o
UserKnownHostsFile=/dev/null` to OpenSSH, in order to prevent it from
trying to write into the known-hosts in user's home directory. To add
insult to the injury, OpenSSH ignores `HOME` and writes into the actual
home when it is explicitly overridden for the purpose of testing.
## Test Plan
`cargo test --no-default-features --features=git,pypi,python` in an
environment where the user can't write to `pw_home` (but can to
`${HOME}`). Previously the test would fail:
```
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: requirements_txt_ssh_git_username
Source: crates/uv/tests/it/export.rs:1252
────────────────────────────────────────────────────────────────────────────────
Expression: snapshot
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
7 7 │ ├─▶ failed to clone into: [PATH]
8 8 │ ├─▶ failed to fetch branch, tag, or commit `d780faf0ac91257d4d5a4f0c5a0e4509608c0071`
9 9 │ ╰─▶ process didn't exit successfully: [GIT_COMMAND_ERROR]
10 10 │ --- stderr
11 │+ Could not create directory '/var/lib/portage/home/.ssh' (Permission denied).
12 │+ Failed to add the host to the list of known hosts (/var/lib/portage/home/.ssh/known_hosts).
11 13 │ Load key "[TEMP_DIR]/fake_deploy_key": [ERROR]
12 14 │ git@github.com: Permission denied (publickey).
13 15 │ fatal: Could not read from remote repository.
14 16 │
────────────┴───────────────────────────────────────────────────────────────────
```
---------
Co-authored-by: konstin <konstin@mailbox.org>
2025-06-05 10:35:21 +00:00
Jack O'Connor
90a4416ab8
Bump version to 0.7.11 ( #13844 )
CI / check cache | macos aarch64 (push) Blocked by required conditions
CI / check system | python on debian (push) Blocked by required conditions
CI / check system | python on fedora (push) Blocked by required conditions
CI / check system | python on ubuntu (push) Blocked by required conditions
CI / check system | python on rocky linux 8 (push) Blocked by required conditions
CI / check system | python on rocky linux 9 (push) Blocked by required conditions
CI / check system | graalpy on ubuntu (push) Blocked by required conditions
CI / check system | pypy on ubuntu (push) Blocked by required conditions
CI / check system | pyston (push) Blocked by required conditions
CI / check system | python on macos aarch64 (push) Blocked by required conditions
CI / check system | homebrew python on macos aarch64 (push) Blocked by required conditions
CI / check system | python on macos x86-64 (push) Blocked by required conditions
CI / check system | python3.10 on windows x86-64 (push) Blocked by required conditions
CI / check system | python3.10 on windows x86 (push) Blocked by required conditions
CI / check system | python3.13 on windows x86-64 (push) Blocked by required conditions
CI / check system | x86-64 python3.13 on windows aarch64 (push) Blocked by required conditions
CI / check system | windows registry (push) Blocked by required conditions
CI / check system | python3.12 via chocolatey (push) Blocked by required conditions
CI / check system | python3.9 via pyenv (push) Blocked by required conditions
CI / check system | python3.13 (push) Blocked by required conditions
CI / check system | conda3.11 on macos aarch64 (push) Blocked by required conditions
CI / check system | conda3.8 on macos aarch64 (push) Blocked by required conditions
CI / check system | conda3.11 on linux x86-64 (push) Blocked by required conditions
CI / check system | conda3.8 on linux x86-64 (push) Blocked by required conditions
CI / check system | conda3.11 on windows x86-64 (push) Blocked by required conditions
CI / check system | conda3.8 on windows x86-64 (push) Blocked by required conditions
CI / check system | amazonlinux (push) Blocked by required conditions
CI / check system | embedded python3.10 on windows x86-64 (push) Blocked by required conditions
CI / benchmarks | walltime aarch64 linux (push) Blocked by required conditions
CI / benchmarks | instrumented (push) Blocked by required conditions
2025-06-04 12:35:56 -07:00
github-actions[bot]
8e8b7449dc
Sync latest Python releases ( #13848 )
...
20250604
Co-authored-by: zanieb <2586601+zanieb@users.noreply.github.com>
2025-06-04 19:07:04 +00:00
Zanie Blue
f168802ba4
Bump cargo-test-macos
timeout to 15m ( #13847 )
...
Closes https://github.com/astral-sh/uv/issues/13846
15m is fine, we should definitely take action if it runs that long
normally though.
2025-06-04 18:24:40 +00:00
konsti
794b3ec750
Downgrade reqwest and hyper-util ( #13835 )
...
Workaround for https://github.com/astral-sh/uv/issues/13831 , see also
https://github.com/hyperium/hyper/issues/3900
2025-06-04 18:48:53 +02:00
Aria Desires
d8636a4088
Prefer the binary's version when checking if it's up to date ( #13840 )
...
Fixes #13741
2025-06-04 11:32:59 -04:00
konsti
a748336a09
Follow-up #13814 , git+ssh test case ( #13839 )
...
Follow-ups to review on #13814
2025-06-04 15:02:26 +00:00
konsti
e7c066cf16
Test case: Don't redact username git
for SSH ( #13814 )
CI / check system | homebrew python on macos aarch64 (push) Blocked by required conditions
CI / check cache | macos aarch64 (push) Blocked by required conditions
CI / check system | python on debian (push) Blocked by required conditions
CI / check system | python on fedora (push) Blocked by required conditions
CI / check system | python on ubuntu (push) Blocked by required conditions
CI / check system | python on rocky linux 8 (push) Blocked by required conditions
CI / check system | python on rocky linux 9 (push) Blocked by required conditions
CI / check system | graalpy on ubuntu (push) Blocked by required conditions
CI / check system | pypy on ubuntu (push) Blocked by required conditions
CI / check system | pyston (push) Blocked by required conditions
CI / check system | python on macos aarch64 (push) Blocked by required conditions
CI / check system | conda3.11 on macos aarch64 (push) Blocked by required conditions
CI / check system | conda3.8 on macos aarch64 (push) Blocked by required conditions
CI / check system | conda3.11 on linux x86-64 (push) Blocked by required conditions
CI / check system | conda3.8 on linux x86-64 (push) Blocked by required conditions
CI / check system | conda3.11 on windows x86-64 (push) Blocked by required conditions
CI / check system | conda3.8 on windows x86-64 (push) Blocked by required conditions
CI / check system | amazonlinux (push) Blocked by required conditions
CI / check system | embedded python3.10 on windows x86-64 (push) Blocked by required conditions
CI / benchmarks | walltime aarch64 linux (push) Blocked by required conditions
CI / benchmarks | instrumented (push) Blocked by required conditions
CI / check system | python on macos x86-64 (push) Blocked by required conditions
CI / check system | python3.10 on windows x86-64 (push) Blocked by required conditions
CI / check system | python3.10 on windows x86 (push) Blocked by required conditions
CI / check system | python3.13 on windows x86-64 (push) Blocked by required conditions
CI / check system | x86-64 python3.13 on windows aarch64 (push) Blocked by required conditions
CI / check system | windows registry (push) Blocked by required conditions
CI / check system | python3.12 via chocolatey (push) Blocked by required conditions
CI / check system | python3.9 via pyenv (push) Blocked by required conditions
CI / check system | python3.13 (push) Blocked by required conditions
2025-06-04 09:57:24 +02:00
Zanie Blue
3ca8d074a4
Use "terminal driver" instead of "shell" in SIGINT docs ( #13787 )
...
CI / check cache | macos aarch64 (push) Blocked by required conditions
CI / check system | python on debian (push) Blocked by required conditions
CI / check system | python on fedora (push) Blocked by required conditions
CI / check system | python on ubuntu (push) Blocked by required conditions
CI / check system | python on rocky linux 8 (push) Blocked by required conditions
CI / check system | python on rocky linux 9 (push) Blocked by required conditions
CI / check system | graalpy on ubuntu (push) Blocked by required conditions
CI / check system | pypy on ubuntu (push) Blocked by required conditions
CI / check system | pyston (push) Blocked by required conditions
CI / check system | python on macos aarch64 (push) Blocked by required conditions
CI / check system | homebrew python on macos aarch64 (push) Blocked by required conditions
CI / check system | python on macos x86-64 (push) Blocked by required conditions
CI / check system | python3.10 on windows x86-64 (push) Blocked by required conditions
CI / check system | python3.10 on windows x86 (push) Blocked by required conditions
CI / check system | python3.13 on windows x86-64 (push) Blocked by required conditions
CI / check system | x86-64 python3.13 on windows aarch64 (push) Blocked by required conditions
CI / check system | windows registry (push) Blocked by required conditions
CI / check system | python3.12 via chocolatey (push) Blocked by required conditions
CI / check system | python3.9 via pyenv (push) Blocked by required conditions
CI / check system | python3.13 (push) Blocked by required conditions
CI / check system | conda3.11 on macos aarch64 (push) Blocked by required conditions
CI / check system | conda3.8 on macos aarch64 (push) Blocked by required conditions
CI / check system | conda3.11 on linux x86-64 (push) Blocked by required conditions
CI / check system | conda3.8 on linux x86-64 (push) Blocked by required conditions
CI / check system | conda3.11 on windows x86-64 (push) Blocked by required conditions
CI / check system | conda3.8 on windows x86-64 (push) Blocked by required conditions
CI / check system | amazonlinux (push) Blocked by required conditions
CI / check system | embedded python3.10 on windows x86-64 (push) Blocked by required conditions
CI / benchmarks | walltime aarch64 linux (push) Blocked by required conditions
CI / benchmarks | instrumented (push) Blocked by required conditions
Addressing the comment at
https://github.com/astral-sh/uv/issues/12108#issuecomment-2925703719
2025-06-03 22:07:03 +00:00
Jacob Woliver
f5c3601445
Better error message for version specifier with missing operator ( #13803 )
...
CI / benchmarks | instrumented (push) Blocked by required conditions
CI / check cache | macos aarch64 (push) Blocked by required conditions
CI / check system | python on debian (push) Blocked by required conditions
CI / check system | python on fedora (push) Blocked by required conditions
CI / check system | python on ubuntu (push) Blocked by required conditions
CI / check system | python on rocky linux 8 (push) Blocked by required conditions
CI / check system | python on rocky linux 9 (push) Blocked by required conditions
CI / check system | graalpy on ubuntu (push) Blocked by required conditions
CI / check system | pypy on ubuntu (push) Blocked by required conditions
CI / check system | pyston (push) Blocked by required conditions
CI / check system | python on macos aarch64 (push) Blocked by required conditions
CI / check system | homebrew python on macos aarch64 (push) Blocked by required conditions
CI / check system | python on macos x86-64 (push) Blocked by required conditions
CI / check system | python3.10 on windows x86-64 (push) Blocked by required conditions
CI / check system | python3.10 on windows x86 (push) Blocked by required conditions
CI / check system | python3.13 on windows x86-64 (push) Blocked by required conditions
CI / check system | x86-64 python3.13 on windows aarch64 (push) Blocked by required conditions
CI / check system | windows registry (push) Blocked by required conditions
CI / check system | python3.12 via chocolatey (push) Blocked by required conditions
CI / check system | python3.9 via pyenv (push) Blocked by required conditions
CI / check system | python3.13 (push) Blocked by required conditions
CI / check system | conda3.11 on macos aarch64 (push) Blocked by required conditions
CI / check system | conda3.8 on macos aarch64 (push) Blocked by required conditions
CI / check system | conda3.11 on linux x86-64 (push) Blocked by required conditions
CI / check system | conda3.8 on linux x86-64 (push) Blocked by required conditions
CI / check system | conda3.11 on windows x86-64 (push) Blocked by required conditions
CI / check system | conda3.8 on windows x86-64 (push) Blocked by required conditions
CI / check system | amazonlinux (push) Blocked by required conditions
CI / check system | embedded python3.10 on windows x86-64 (push) Blocked by required conditions
CI / benchmarks | walltime aarch64 linux (push) Blocked by required conditions
## Summary
When missing an operator for version parsing, it would give an error
that was hard to know how to fix if you were not familiar with version
specifiers / PEP-440:
```
Unexpected end of version specifier, expected operator
```
Now, it will attempt to provide a more useful hint if it can parse the
version from the remaining scanner:
```
Unexpected end of version specifier, expected operator (did you mean "==3.12"?)
```
## Test Plan
Unit tests in `version_specifier.rs` were added/updated for the
following cases:
- `test_parse_specifier_missing_operator_error`
- `test_parse_specifier_missing_operator_invalid_version_error`
- `test_invalid_word`
- `test_invalid_specifier`
- `error_message_version_specifiers_parse_error`
A test in `edit.rs` for failing to parse the `pyproject.toml` when using
`add` was also included to match the request in the original issue:
- `add_invalid_requires_python`
I didn't add cases where no version specifier is provided because it
seemed like it doesn't get to the point of parsing in that case, so it
should not happen.
## Reference
Fixes #13126
---------
Co-authored-by: Jacob Woliver <jacob@jmw.sh>
Co-authored-by: konstin <konstin@mailbox.org>
2025-06-03 19:18:19 +00:00
Hood Chatham
f9d3f24728
Add Pyodide support ( #12731 )
...
This includes some initial work on adding Pyodide support (issue
#12729 ). It is enough to get
```
uv pip compile -p /path/to/pyodide --extra-index-url file:/path/to/simple-index
```
to work which should already be quite useful.
## Test Plan
* added a unit test for `pyodide_platform`
* integration tested manually with:
```
cargo run pip install \
-p /home/rchatham/Documents/programming/tmp/pyodide-venv-test/.pyodide-xbuildenv-0.29.3/0.27.4/xbuildenv/pyodide-root/dist/python \
--extra-index-url file:/home/rchatham/Documents/programming/tmp/pyodide-venv-test/.pyodide-xbuildenv-0.29.3/0.27.4/xbuildenv/pyodide-root/package_index \
--index-strategy unsafe-best-match --target blah --no-build \
numpy pydantic
```
---------
Co-authored-by: konsti <konstin@mailbox.org>
Co-authored-by: Zanie Blue <contact@zanie.dev>
2025-06-03 12:01:26 -05:00
Zanie Blue
37e22e4da6
Remove python-managed
marker from sync_dry_run
test ( #13816 )
...
Not sure why this is present, it does not seem to use a managed
interpreter
2025-06-03 11:08:09 -05:00
Zanie Blue
1e5120e15c
Bump version to 0.7.10 ( #13821 )
2025-06-03 11:07:21 -05:00
Zanie Blue
f429d99b6c
Disable OpenSUSE system test for now ( #13818 )
...
ref #13811
2025-06-03 14:53:09 +00:00
John Mumm
90aefe4a4a
Display ssh git username in Debug
implementation ( #13806 )
...
This updates the `Debug` implementation of `DisplaySafeUrl` to display
the git username in a case like `git+ssh://git@github.com/org/repo`. It
also factors out the git username check into a shared function and adds
related unit tests to `DisplaySafeUrl`.
2025-06-03 14:52:51 +00:00
Zanie Blue
a96e766b55
Retain credentials for direct URLs in uv export
( #13809 )
...
Reverts unintended breaking change from #13560
Test case from https://github.com/astral-sh/uv/pull/13808
2025-06-03 14:23:07 +00:00
konsti
63ba5e9f9e
Add data locations to logging ( #13797 )
...
`trace!`-log the locations of data directories used by a wheel. These
paths are queried from sysconfig, i.e. they are mostly Python
interpreter defined instead of being computed by uv.
2025-06-03 09:22:18 -05:00
konsti
eb9ad6c8c0
Don't redact username git
for SSH ( #13799 )
...
Fixes #13795 specifically by not redacting the username convention `git`
for SSH URLs, though we should never write stars in `uv export`
generally (#13791 ).
2025-06-03 09:18:18 -05:00
Zanie Blue
99a4b78af2
Add comment to lock_redact_url_sources
indicating that we do not redact the credentials ( #13813 )
...
This was previously present, but got removed at some point.
https://github.com/astral-sh/uv/pull/8307/files#diff-82edd36151736f44055f699a34c8b19a63ffc4cf3c86bf5fb34d69f8ac88a957R6544
2025-06-03 14:15:46 +00:00
Zanie Blue
c8448815ef
Add uv export
test cases for PEP 751 format with credentials ( #13810 )
...
Same as the following, but for `pylock.toml` instead of
`requirements.txt`
- #13808
- #13792
2025-06-03 09:11:53 -05:00
Zanie Blue
4cdac77fe9
Add test case for HTTPS credentials on direct URL in uv export
( #13808 )
...
Related to
- #13799
- #13792
2025-06-03 14:11:13 +00:00
konsti
fd48b8bb78
Update acj/freebsd-firecracker-action to v0.4.1 ( #13804 )
...
This should hopefully fix the flakes we're seeing.
Fixes #13746 , hopefully.
2025-06-03 15:12:03 +02:00
Zanie Blue
98c708149a
Add uv export
test case with credentials in pyproject.toml
( #13792 )
...
Testing reported case in https://github.com/astral-sh/uv/issues/13791
I cherry-picked this commit onto 0.7.0, and saw no change.
2025-06-03 07:47:05 -05:00
konsti
4368c403fe
Downgrade firecracker action to v0.3 ( #13786 )
...
CI / check system | conda3.8 on windows x86-64 (push) Blocked by required conditions
CI / check system | amazonlinux (push) Blocked by required conditions
CI / check system | embedded python3.10 on windows x86-64 (push) Blocked by required conditions
CI / benchmarks | walltime aarch64 linux (push) Blocked by required conditions
CI / benchmarks | instrumented (push) Blocked by required conditions
CI / check system | python on debian (push) Blocked by required conditions
CI / check system | python on fedora (push) Blocked by required conditions
CI / check system | python on ubuntu (push) Blocked by required conditions
CI / check system | python on opensuse (push) Blocked by required conditions
CI / check system | python on rocky linux 8 (push) Blocked by required conditions
CI / check system | python on rocky linux 9 (push) Blocked by required conditions
CI / check system | graalpy on ubuntu (push) Blocked by required conditions
CI / check system | pypy on ubuntu (push) Blocked by required conditions
CI / check system | pyston (push) Blocked by required conditions
CI / check system | python on macos aarch64 (push) Blocked by required conditions
CI / check system | homebrew python on macos aarch64 (push) Blocked by required conditions
CI / check system | python on macos x86-64 (push) Blocked by required conditions
CI / check system | python3.10 on windows x86-64 (push) Blocked by required conditions
CI / check system | python3.10 on windows x86 (push) Blocked by required conditions
CI / check system | python3.13 on windows x86-64 (push) Blocked by required conditions
CI / check system | x86-64 python3.13 on windows aarch64 (push) Blocked by required conditions
CI / check system | windows registry (push) Blocked by required conditions
CI / check system | python3.12 via chocolatey (push) Blocked by required conditions
CI / check system | python3.9 via pyenv (push) Blocked by required conditions
CI / check system | python3.13 (push) Blocked by required conditions
CI / check system | conda3.11 on macos aarch64 (push) Blocked by required conditions
CI / check system | conda3.8 on macos aarch64 (push) Blocked by required conditions
CI / check system | conda3.11 on linux x86-64 (push) Blocked by required conditions
CI / check system | conda3.8 on linux x86-64 (push) Blocked by required conditions
CI / check system | conda3.11 on windows x86-64 (push) Blocked by required conditions
See https://github.com/acj/freebsd-firecracker-action/issues/3
2025-06-02 13:25:12 -05:00
samypr100
d65c146b21
feat: add dynamically generated sysconfig replacement mappings ( #13441 )
...
## Summary
Implementation referenced in
https://github.com/astral-sh/uv/pull/12239#issuecomment-2744880003
Closes #12919 #12901
This makes the sysconfig replacements mappings dynamically generated
from
https://github.com/astral-sh/python-build-standalone/blob/main/cpython-unix/targets.yml
## Test Plan
cargo dev tests, and tested scenario from
https://github.com/astral-sh/uv/issues/12901#issuecomment-2822107454
2025-06-02 10:58:30 -05:00
konsti
73eb2dfb1f
Remove winsafe ( #13779 )
...
We've been using a number of different winapi crates. This PR removes
winsafe in favor of the official windows-* crates, so all of uv's own
winapi calls go through the official windows-* crates.
---------
Co-authored-by: Aria Desires <aria.desires@gmail.com>
2025-06-02 17:53:03 +02:00
Tobias Gårdhus
459c902425
add --show-extras
to uv tool list
to list extra requirements installed with tools ( #13783 )
...
## Summary
Implemented as suggested in #13761
eg.
```
$ uv tool install 'harlequin[postgres]'
$ uv tool list --show-extras
harlequin v2.1.2 [extras: postgres]
- harlequin
```
## Test Plan
Added a new test with the argument along with the others from the `uv
tool list` cli.
2025-06-02 14:59:40 +00:00
corentin-ant
5400434957
Unify zip
and async_zip
compression methods ( #13781 )
...
## Summary
#13285 added additional compression methods for `async_zip`, but they
should also be added to `zip` to support local wheel installation, on
top of the ones retrieved over network.
## Test Plan
Installation of local wheels with alternative compression schemes now
works (e.g. `uv add test.whl`)
2025-06-02 14:39:31 +02:00
Michał Górny
b5e7ad2c6d
Update lock::lock_requires_python
not to require Python 3.8 ( #13780 )
...
CI / check system | python on macos x86-64 (push) Blocked by required conditions
CI / check system | python3.10 on windows x86-64 (push) Blocked by required conditions
CI / check system | python3.10 on windows x86 (push) Blocked by required conditions
CI / check system | python3.13 on windows x86-64 (push) Blocked by required conditions
CI / check system | x86-64 python3.13 on windows aarch64 (push) Blocked by required conditions
CI / check system | windows registry (push) Blocked by required conditions
CI / check system | python3.12 via chocolatey (push) Blocked by required conditions
CI / check system | python3.9 via pyenv (push) Blocked by required conditions
CI / check system | python3.13 (push) Blocked by required conditions
CI / check system | conda3.11 on macos aarch64 (push) Blocked by required conditions
CI / check system | conda3.8 on macos aarch64 (push) Blocked by required conditions
CI / check system | conda3.11 on linux x86-64 (push) Blocked by required conditions
CI / check system | conda3.8 on linux x86-64 (push) Blocked by required conditions
CI / check system | conda3.11 on windows x86-64 (push) Blocked by required conditions
CI / check system | conda3.8 on windows x86-64 (push) Blocked by required conditions
CI / check system | amazonlinux (push) Blocked by required conditions
CI / check system | embedded python3.10 on windows x86-64 (push) Blocked by required conditions
CI / benchmarks | walltime aarch64 linux (push) Blocked by required conditions
CI / benchmarks | instrumented (push) Blocked by required conditions
CI / check cache | macos aarch64 (push) Blocked by required conditions
CI / check system | python on debian (push) Blocked by required conditions
CI / check system | python on ubuntu (push) Blocked by required conditions
CI / check system | python on opensuse (push) Blocked by required conditions
CI / check system | python on rocky linux 8 (push) Blocked by required conditions
CI / check system | python on rocky linux 9 (push) Blocked by required conditions
CI / check system | graalpy on ubuntu (push) Blocked by required conditions
CI / check system | pypy on ubuntu (push) Blocked by required conditions
CI / check system | pyston (push) Blocked by required conditions
CI / check system | python on macos aarch64 (push) Blocked by required conditions
CI / check system | homebrew python on macos aarch64 (push) Blocked by required conditions
## Summary
Update `lock::lock_requires_python` not to require Python 3.8.
Fixes #13676
## Test Plan
`cargo test --no-default-features --features git,pypi,python` after
removing Python 3.8.
2025-06-02 09:10:51 +00:00
Eric Egli
290849d438
Update dockerfile path in contributing docs ( #13751 )
...
<!--
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
Sets the correct path to the builder dockerfile in the contributing
docs.
---------
Co-authored-by: konsti <konstin@mailbox.org>
2025-06-02 08:16:20 +00:00
renovate[bot]
25294a5393
Update Rust crate nix to 0.30.0 ( #13773 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [nix](https://redirect.github.com/nix-rust/nix ) |
workspace.dependencies | minor | `0.29.0` -> `0.30.0` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>nix-rust/nix (nix)</summary>
###
[`v0.30.1`](https://redirect.github.com/nix-rust/nix/blob/HEAD/CHANGELOG.md#0301---2025-05-04 )
[Compare
Source](https://redirect.github.com/nix-rust/nix/compare/v0.30.0...v0.30.1 )
##### Fixed
- doc.rs build
([#​2634](https://redirect.github.com/nix-rust/nix/pull/2634 ))
###
[`v0.30.0`](https://redirect.github.com/nix-rust/nix/blob/HEAD/CHANGELOG.md#0300---2025-04-29 )
[Compare
Source](https://redirect.github.com/nix-rust/nix/compare/v0.29.0...v0.30.0 )
##### Added
- Add socket option `IPV6_PKTINFO` for BSDs/Linux/Android, also
`IPV6_RECVPKTINFO` for DragonFlyBSD
([#​2113](https://redirect.github.com/nix-rust/nix/pull/2113 ))
- Add `fcntl`'s `F_PREALLOCATE` constant for Apple targets.
([#​2393](https://redirect.github.com/nix-rust/nix/pull/2393 ))
- Improve support for extracting the TTL / Hop Limit from incoming
packets
and support for DSCP (ToS / Traffic Class).
([#​2425](https://redirect.github.com/nix-rust/nix/pull/2425 ))
- Add socket option IP_TOS (nix::sys::socket::sockopt::IpTos)
IPV6\_TCLASS
(nix::sys::socket::sockopt::Ipv6TClass) on Android/FreeBSD
([#​2464](https://redirect.github.com/nix-rust/nix/pull/2464 ))
- Add `SeekData` and `SeekHole` to `Whence` for hurd and apple targets
([#​2473](https://redirect.github.com/nix-rust/nix/pull/2473 ))
- Add `From` trait implementation between `SocketAddr` and `Sockaddr`,
`Sockaddr6`
([#​2474](https://redirect.github.com/nix-rust/nix/pull/2474 ))
- Added wrappers for `posix_spawn` API
([#​2475](https://redirect.github.com/nix-rust/nix/pull/2475 ))
- Add the support for Emscripten.
([#​2477](https://redirect.github.com/nix-rust/nix/pull/2477 ))
- Add fcntl constant `F_RDADVISE` for Apple target
([#​2480](https://redirect.github.com/nix-rust/nix/pull/2480 ))
- Add fcntl constant `F_RDAHEAD` for Apple target
([#​2482](https://redirect.github.com/nix-rust/nix/pull/2482 ))
- Add `F_LOG2PHYS` and `F_LOG2PHYS_EXT` for Apple target
([#​2483](https://redirect.github.com/nix-rust/nix/pull/2483 ))
- `MAP_SHARED_VALIDATE` was added for all linux targets. & `MAP_SYNC`
was added
for linux with the exclusion of mips architecures, and uclibc
([#​2499](https://redirect.github.com/nix-rust/nix/pull/2499 ))
- Add `getregs()`/`getregset()`/`setregset()` for Linux/musl/aarch64
([#​2502](https://redirect.github.com/nix-rust/nix/pull/2502 ))
- Add FcntlArgs `F_TRANSFEREXTENTS` constant for Apple targets
([#​2504](https://redirect.github.com/nix-rust/nix/pull/2504 ))
- Add `MapFlags::MAP_STACK` in `sys::man` for netbsd
([#​2526](https://redirect.github.com/nix-rust/nix/pull/2526 ))
- Add support for `libc::LOCAL_PEERTOKEN` in `getsockopt`.
([#​2529](https://redirect.github.com/nix-rust/nix/pull/2529 ))
- Add support for `syslog`, `openlog`, `closelog` on all `unix`.
([#​2537](https://redirect.github.com/nix-rust/nix/pull/2537 ))
- Add the `TCP_FUNCTION_BLK` sockopt, on FreeBSD.
([#​2539](https://redirect.github.com/nix-rust/nix/pull/2539 ))
- Implements `Into<OwnedFd>` for
`PtyMaster/Fanotify/Inotify/SignalFd/TimerFd`
([#​2548](https://redirect.github.com/nix-rust/nix/pull/2548 ))
- Add `MremapFlags::MREMAP_DONTUNMAP` to `sys::mman::mremap` for linux
target.
([#​2555](https://redirect.github.com/nix-rust/nix/pull/2555 ))
- Added `sockopt_impl!` to the public API. It's now possible for users
to
define
their own sockopts without needing to make a PR to Nix.
([#​2556](https://redirect.github.com/nix-rust/nix/pull/2556 ))
- Add the `TCP_FUNCTION_ALIAS` sockopt, on FreeBSD.
([#​2558](https://redirect.github.com/nix-rust/nix/pull/2558 ))
- Add `sys::mman::MmapAdvise` `MADV_PAGEOUT`, `MADV_COLD`,
`MADV_WIPEONFORK`,
`MADV_KEEPONFORK` for Linux and Android targets
([#​2559](https://redirect.github.com/nix-rust/nix/pull/2559 ))
- Add socket protocol `Sctp`, as well as `MSG_NOTIFICATION` for
non-Android
Linux targets.
([#​2562](https://redirect.github.com/nix-rust/nix/pull/2562 ))
- Added `from_owned_fd` constructor to `EventFd`
([#​2563](https://redirect.github.com/nix-rust/nix/pull/2563 ))
- Add `sys::mman::MmapAdvise` `MADV_POPULATE_READ`,
`MADV_POPULATE_WRITE` for
Linux and Android targets
([#​2565](https://redirect.github.com/nix-rust/nix/pull/2565 ))
- Added `from_owned_fd` constructor to
`PtyMaster/Fanotify/Inotify/SignalFd/TimerFd`
([#​2566](https://redirect.github.com/nix-rust/nix/pull/2566 ))
- Added `FcntlArg::F_READAHEAD` for FreeBSD target
([#​2569](https://redirect.github.com/nix-rust/nix/pull/2569 ))
- Added `sockopt::LingerSec` for Apple targets
([#​2572](https://redirect.github.com/nix-rust/nix/pull/2572 ))
- Added `sockopt::EsclBind` for solarish targets
([#​2573](https://redirect.github.com/nix-rust/nix/pull/2573 ))
- Exposed the `std::os::fd::AsRawFd` trait method for
`nix::sys::fanotify::Fanotify` struct
([#​2575](https://redirect.github.com/nix-rust/nix/pull/2575 ))
- Add support for syslog's `setlogmask` on all `unix`.
([#​2579](https://redirect.github.com/nix-rust/nix/pull/2579 ))
- Added Fuchsia support for `ioctl`.
([#​2580](https://redirect.github.com/nix-rust/nix/pull/2580 ))
- Add `sys::socket::SockProtocol::EthIp`,
`sys::socket::SockProtocol::EthIpv6`,
`sys::socket::SockProtocol::EthLoop`
([#​2581](https://redirect.github.com/nix-rust/nix/pull/2581 ))
- Add OpenHarmony target into CI and Update documents.
([#​2599](https://redirect.github.com/nix-rust/nix/pull/2599 ))
- Added the TcpMaxSeg `setsockopt` option for apple targets
([#​2603](https://redirect.github.com/nix-rust/nix/pull/2603 ))
- Add `FilAttach` and `FilDetach` to socket::sockopt for Illumos
([#​2611](https://redirect.github.com/nix-rust/nix/pull/2611 ))
- Add `PeerPidfd` (`SO_PEERPIDFD`) to `socket::sockopt` for Linux
([#​2620](https://redirect.github.com/nix-rust/nix/pull/2620 ))
- Added `socket::sockopt::AttachReusePortCbpf` for Linux
([#​2621](https://redirect.github.com/nix-rust/nix/pull/2621 ))
- Add `ptrace::syscall_info` for linux/glibc
([#​2627](https://redirect.github.com/nix-rust/nix/pull/2627 ))
##### Changed
- Module sys/signal now adopts I/O safety
([#​1936](https://redirect.github.com/nix-rust/nix/pull/1936 ))
- Change the type of the `name` argument of `memfd_create()` from
`&CStr` to
`<P: NixPath>(name: &P)`
([#​2431](https://redirect.github.com/nix-rust/nix/pull/2431 ))
- Public interfaces in `fcntl.rs` and `dir.rs` now use I/O-safe types.
([#​2434](https://redirect.github.com/nix-rust/nix/pull/2434 ))
- Module `sys/stat` now adopts I/O safety.
([#​2439](https://redirect.github.com/nix-rust/nix/pull/2439 ))
- Module unistd now adopts I/O safety.
([#​2440](https://redirect.github.com/nix-rust/nix/pull/2440 ))
- Module sys/fanotify now adopts I/O safety
([#​2443](https://redirect.github.com/nix-rust/nix/pull/2443 ))
- Socket option `IpTos` has been renamed to `Ipv4Tos`, the old symbol is
deprecated since 0.30.0
([#​2465](https://redirect.github.com/nix-rust/nix/pull/2465 ))
- Rename Flags `EventFlag` to `EvFlags`, and `MemFdCreateFlag` to
`MFdFlags`
([#​2476](https://redirect.github.com/nix-rust/nix/pull/2476 ))
- Made `nix::sys::socket::UnknownCmsg` public and more readable
([#​2520](https://redirect.github.com/nix-rust/nix/pull/2520 ))
- recvmsg: take slice for cmsg_buffer instead of Vec
([#​2524](https://redirect.github.com/nix-rust/nix/pull/2524 ))
- linkat: allow distinct types for path arguments
([#​2582](https://redirect.github.com/nix-rust/nix/pull/2582 ))
##### Fixed
- Disable unsupported signals on sparc-linux
([#​2454](https://redirect.github.com/nix-rust/nix/pull/2454 ))
- Fix cmsg_len() return type on OpenHarmony
([#​2456](https://redirect.github.com/nix-rust/nix/pull/2456 ))
- The `ns` argument of `sys::prctl::set_timerslack()` should be of type
`c_ulong`
([#​2505](https://redirect.github.com/nix-rust/nix/pull/2505 ))
- Properly exclude NUL characters from `OSString`s returned by
`getsockopt`.
([#​2557](https://redirect.github.com/nix-rust/nix/pull/2557 ))
- Fixes the build on OpenHarmony
([#​2587](https://redirect.github.com/nix-rust/nix/pull/2587 ))
##### Removed
- Type `SigevNotify` is no longer `PartialEq`, `Eq` and `Hash` due to
the use
of `BorrowedFd`
([#​1936](https://redirect.github.com/nix-rust/nix/pull/1936 ))
- `EventFd::defuse()` is removed because it does nothing,
`EventFd::arm()` is
also removed for symmetry reasons.
([#​2452](https://redirect.github.com/nix-rust/nix/pull/2452 ))
- Removed the `Copy` trait from `PollFd`
([#​2631](https://redirect.github.com/nix-rust/nix/pull/2631 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/astral-sh/uv ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4zMy42IiwidXBkYXRlZEluVmVyIjoiNDAuMzMuNiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: konstin <konstin@mailbox.org>
2025-06-02 08:05:01 +00:00
Ben Beasley
73829f3bf4
Conditionalize more tests that require PyPI ( #13699 )
...
<!--
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? -->
Use the existing `pypi` feature to conditionalize a number of tests that
attempt to access https://pypi.org and/or
https://files.pythonhosted.org . See
https://github.com/astral-sh/uv/issues/8970#issuecomment-2466794088 .
There is no reason to believe that these are *all* of the tests that
need to be conditionalized on the `pypi` feature, but this should be a
solid step in the right direction.
## Test Plan
<!-- How was it tested? -->
This allows me to build and run the integration tests in [Fedora’s `uv`
package](https://src.fedoraproject.org/rpms/uv ) without having to
manually skip tests that try to access PyPI. I confirmed that this
appears to accomplish that goal.
Otherwise, this should be tested by building and running the tests as
usual. As mentioned in
https://github.com/astral-sh/uv/issues/8970#issuecomment-2516181501 , a
more complete solution would include CI tests that confirm these
features are working as intended. I’m not in a position to offer that.
2025-06-02 09:57:03 +02:00
renovate[bot]
1e890b5ac7
Update taiki-e/install-action action to v2.52.4 ( #13778 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[taiki-e/install-action](https://redirect.github.com/taiki-e/install-action )
| action | minor | `v2.50.3` -> `v2.52.4` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>taiki-e/install-action (taiki-e/install-action)</summary>
###
[`v2.52.4`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.52.4 ):
2.52.4
[Compare
Source](https://redirect.github.com/taiki-e/install-action/compare/v2.52.3...v2.52.4 )
- Update `cargo-binstall@latest` to 1.12.6.
- Update `wash@latest` to 0.42.0.
###
[`v2.52.3`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.52.3 ):
2.52.3
[Compare
Source](https://redirect.github.com/taiki-e/install-action/compare/v2.52.2...v2.52.3 )
- Update `cargo-nextest@latest` to 0.9.97.
- Update `trivy@latest` to 0.63.0.
- Update `protoc@latest` to 3.31.1.
###
[`v2.52.2`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.52.2 ):
2.52.2
[Compare
Source](https://redirect.github.com/taiki-e/install-action/compare/v2.52.1...v2.52.2 )
- Update `mdbook@latest` to 0.4.51.
###
[`v2.52.1`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.52.1 ):
2.52.1
[Compare
Source](https://redirect.github.com/taiki-e/install-action/compare/v2.52.0...v2.52.1 )
- Update `taplo@latest` to 0.10.0.
- Update `mdbook@latest` to 0.4.50.
- Update `deepsource@latest` to 0.9.0.
- Update `cargo-shear@latest` to 1.3.0.
###
[`v2.52.0`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.52.0 ):
2.52.0
[Compare
Source](https://redirect.github.com/taiki-e/install-action/compare/v2.51.3...v2.52.0 )
- Support `trivy`.
([#​970](https://redirect.github.com/taiki-e/install-action/pull/970 ),
thanks [@​jayvdb](https://redirect.github.com/jayvdb ))
- Update `syft@latest` to 1.26.1.
- Update `rclone@latest` to 1.69.3.
- Update `cargo-shear@latest` to 1.2.8.
###
[`v2.51.3`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.51.3 ):
2.51.3
[Compare
Source](https://redirect.github.com/taiki-e/install-action/compare/v2.51.2...v2.51.3 )
- Update `wasmtime@latest` to 33.0.0.
- Update `cargo-tarpaulin@latest` to 0.32.7.
- Update `espup@latest` to 0.15.1.
- Update `dprint@latest` to 0.50.0.
###
[`v2.51.2`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.51.2 ):
2.51.2
[Compare
Source](https://redirect.github.com/taiki-e/install-action/compare/v2.51.1...v2.51.2 )
- Update `syft@latest` to 1.25.1.
- Update `release-plz@latest` to 0.3.135.
###
[`v2.51.1`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.51.1 ):
2.51.1
[Compare
Source](https://redirect.github.com/taiki-e/install-action/compare/v2.51.0...v2.51.1 )
- Update `syft@latest` to 1.25.0.
- Update `cargo-binstall@latest` to 1.12.5.
###
[`v2.51.0`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.51.0 ):
2.51.0
[Compare
Source](https://redirect.github.com/taiki-e/install-action/compare/v2.50.10...v2.51.0 )
- Support `cargo-shear`.
([#​962](https://redirect.github.com/taiki-e/install-action/pull/962 ),
thanks [@​vivienm](https://redirect.github.com/vivienm ))
- Update `grcov@latest` to 0.10.0.
- Update `cargo-nextest@latest` to 0.9.96.
- Update `protoc@latest` to 3.31.0.
- Update `syft@latest` to 1.24.0.
###
[`v2.50.10`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.50.10 ):
2.50.10
[Compare
Source](https://redirect.github.com/taiki-e/install-action/compare/v2.50.9...v2.50.10 )
- Update `trunk@latest` to 0.21.14.
- Update `release-plz@latest` to 0.3.134.
- Update `cargo-binstall@latest` to 1.12.4.
###
[`v2.50.9`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.50.9 ):
2.50.9
[Compare
Source](https://redirect.github.com/taiki-e/install-action/compare/v2.50.8...v2.50.9 )
- Update `editorconfig-checker@latest` to 3.3.0.
- Update `cargo-lambda@latest` to 1.8.5.
###
[`v2.50.8`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.50.8 ):
2.50.8
[Compare
Source](https://redirect.github.com/taiki-e/install-action/compare/v2.50.7...v2.50.8 )
- Update `cargo-tarpaulin@latest` to 0.32.5.
- Update `mdbook@latest` to 0.4.49.
###
[`v2.50.7`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.50.7 ):
2.50.7
[Compare
Source](https://redirect.github.com/taiki-e/install-action/compare/v2.50.6...v2.50.7 )
- Update `cargo-tarpaulin@latest` to 0.32.4.
###
[`v2.50.6`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.50.6 ):
2.50.6
[Compare
Source](https://redirect.github.com/taiki-e/install-action/compare/v2.50.5...v2.50.6 )
- Update `knope@latest` to 0.20.0.
###
[`v2.50.5`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.50.5 ):
2.50.5
[Compare
Source](https://redirect.github.com/taiki-e/install-action/compare/v2.50.4...v2.50.5 )
- Update `xh@latest` to 0.24.1.
- Update `typos@latest` to 1.32.0.
- Update `rclone@latest` to 1.69.2.
###
[`v2.50.4`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.50.4 ):
2.50.4
[Compare
Source](https://redirect.github.com/taiki-e/install-action/compare/v2.50.3...v2.50.4 )
- Update `typos@latest` to 1.31.2.
- Update `osv-scanner@latest` to 2.0.2.
- Update `cargo-nextest@latest` to 0.9.95.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/astral-sh/uv ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4zMy42IiwidXBkYXRlZEluVmVyIjoiNDAuMzMuNiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-02 09:50:01 +02:00