Skip to content

Commit 2dd5372

Browse files
committed
Merge branch 'main' into fix-8743
* main: (53 commits) Shorten "Using existing Python versions" nav item so it fits on one line (astral-sh#11077) docs: suggest copy linking for GitLab integration guide (astral-sh#11067) Refactor `uv tool run` hint into separate function (astral-sh#11069) Fix typo in no-deps docs/comments/cli description (astral-sh#11073) Allow `--no-dev --invert` in `uv tree` (astral-sh#11068) Add docs for signal handling (astral-sh#11041) Add a bit more context about SIGTERM and PID 1 (astral-sh#11036) Reflow CLI documentation comments (astral-sh#11040) doc typo: unnecessary backslashes to represent brackets in markdown (astral-sh#11059) Update Dependabot links (astral-sh#11054) Document `gather_credentials` (astral-sh#11024) Link to our MRE documentation in the issue template (astral-sh#11045) Avoid sharing state between universal and non-universal resolves (astral-sh#11051) Mark metadata as dynamic when reading from built wheel cache (astral-sh#11046) Fix formatting of `RUST_LOG` documentation (astral-sh#10053) Bump version to 0.5.25 (astral-sh#11042) Add CVE disclosure to security policy (astral-sh#11037) Guard against concurrent cache writes on Windows (astral-sh#11007) Add SECURITY policy (astral-sh#11035) Improve SIGINT handling in `uv run` (astral-sh#11009) ...
2 parents c32dd8e + 2ca5150 commit 2dd5372

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+2629
-1245
lines changed

.github/ISSUE_TEMPLATE/1_bug_report.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ body:
1111
attributes:
1212
label: Summary
1313
description: |
14-
A clear and concise description of the bug, including [a minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example).
14+
A clear and concise description of the bug, including [a minimal reproducible example](https://docs.astral.sh/uv/reference/troubleshooting/reproducible-examples/).
1515
If we cannot reproduce the bug, it is unlikely that we will be able to help you.
1616
validations:
1717
required: true

.github/workflows/build-binaries.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Assumed to run as a subworkflow of .github/workflows/release.yml; specifically, as a local
66
# artifacts job within `cargo-dist`.
7-
name: "Build binaries"
7+
name: "Build release binaries"
88

99
on:
1010
workflow_call:

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,10 @@ jobs:
160160
runs-on: ubuntu-latest
161161
steps:
162162
- uses: actions/checkout@v4
163-
- uses: cargo-bins/cargo-binstall@main
164-
- run: cargo binstall --no-confirm cargo-shear
163+
- name: "Install cargo shear"
164+
uses: taiki-e/install-action@v2
165+
with:
166+
tool: cargo-shear
165167
- run: cargo shear
166168

167169
# We use the large GitHub actions runners
@@ -349,14 +351,14 @@ jobs:
349351
target-arch: ["x86_64", "i686"]
350352
steps:
351353
- uses: actions/checkout@v4
354+
- uses: Swatinem/rust-cache@v2
355+
with:
356+
workspaces: ${{ github.workspace }}/crates/uv-trampoline
352357
- name: "Install Rust toolchain"
353358
working-directory: ${{ github.workspace }}/crates/uv-trampoline
354359
run: |
355360
rustup target add ${{ matrix.target-arch }}-pc-windows-msvc
356361
rustup component add rust-src --target ${{ matrix.target-arch }}-pc-windows-msvc
357-
- uses: Swatinem/rust-cache@v2
358-
with:
359-
workspaces: ${{ github.workspace }}/crates/uv-trampoline
360362
- name: "Test committed binaries"
361363
working-directory: ${{ github.workspace }}
362364
run: |

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ repos:
4242
types_or: [yaml, json5]
4343

4444
- repo: https://github.com/astral-sh/ruff-pre-commit
45-
rev: v0.9.2
45+
rev: v0.9.3
4646
hooks:
4747
- id: ruff-format
4848
- id: ruff

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# Changelog
22

3+
## 0.5.25
4+
5+
### Enhancements
6+
7+
- Allow installation of manylinux wheels on loongarch64 ([#10927](https://github.com/astral-sh/uv/pull/10927))
8+
- Allow optional `=` for editables in `requirements.txt` ([#10954](https://github.com/astral-sh/uv/pull/10954))
9+
- Add Windows aarch64 to the release binaries ([#10885](https://github.com/astral-sh/uv/pull/10885))
10+
11+
### Bug fixes
12+
13+
- Use spec-compliant (`128+n`) exit codes for `uv run` and `uv tool run` on Unix ([#10781](https://github.com/astral-sh/uv/pull/10781))
14+
- Fix best-interpreter lookups when there is an invalid interpreter in the `PATH` ([#11030](https://github.com/astral-sh/uv/pull/11030))
15+
- Guard against concurrent cache writes on Windows ([#11007](https://github.com/astral-sh/uv/pull/11007))
16+
- Prioritize package preferences with greater package versions ([#10963](https://github.com/astral-sh/uv/pull/10963))
17+
- Reject `--editable` flag on non-directory requirements ([#10994](https://github.com/astral-sh/uv/pull/10994))
18+
- Respect `--no-sources` for `uv pip install` workspace discovery ([#11003](https://github.com/astral-sh/uv/pull/11003))
19+
- Set `JEMALLOC_SYS_WITH_LG_PAGE=16` in ARM Docker builds ([#10943](https://github.com/astral-sh/uv/pull/10943))
20+
- Update `riscv64` Python downloads to allow install on `riscv64gc` ([#10937](https://github.com/astral-sh/uv/pull/10937))
21+
- Fix file persist retries on Windows ([#11008](https://github.com/astral-sh/uv/pull/11008))
22+
- Fix incorrect error message when specifying `tool.uv.sources.(package).workspace` with other options ([#11013](https://github.com/astral-sh/uv/pull/11013))
23+
- Improve SIGINT handling in `uv run` ([#11009](https://github.com/astral-sh/uv/pull/11009))
24+
25+
### Documentation
26+
27+
- Add `SECURITY` policy ([#11035](https://github.com/astral-sh/uv/pull/11035))
28+
- Add `Requires-Python` upper bound behavior to the docs ([#10964](https://github.com/astral-sh/uv/pull/10964))
29+
- Add a troubleshooting section and reproducible example guide ([#10947](https://github.com/astral-sh/uv/pull/10947))
30+
- Add documentation for `uv add -r` ([#10926](https://github.com/astral-sh/uv/pull/10926))
31+
- Amend `requires-python` rules in resolver documentation ([#10993](https://github.com/astral-sh/uv/pull/10993))
32+
- Reference workspaces in `--no-sources` documentation ([#10995](https://github.com/astral-sh/uv/pull/10995))
33+
- Update documentation for activating virtual environments in different shell ([#11000](https://github.com/astral-sh/uv/pull/11000))
34+
- Add Docker SHA pinning tip ([#10955](https://github.com/astral-sh/uv/pull/10955))
35+
336
## 0.5.24
437

538
### Enhancements

0 commit comments

Comments
 (0)