renovate[bot]
26fb1ac320
Update taiki-e/install-action digest to 09dc018 ( #12996 )
2025-04-21 02:15:02 +00:00
renovate[bot]
f967ca7afe
Update astral-sh/setup-uv digest to d4b2f3b ( #12995 )
2025-04-21 02:12:27 +00:00
Aria Desires
eef3fc2215
update cargo-dist and enable ci checks ( #12949 )
...
Fixes #12881
Potentially Fixes #12780
Prevents #12879
2025-04-17 19:32:56 -04:00
renovate[bot]
693110506a
Update Artifact GitHub Actions dependencies ( #12865 )
2025-04-14 08:31:19 -04:00
renovate[bot]
e718f55677
Update taiki-e/install-action digest to be7c31b ( #12860 )
2025-04-14 08:21:35 -04:00
Zanie Blue
50de464425
Add integration test for GitHub provided free-threaded Python ( #12471 )
2025-04-10 16:51:50 -05:00
Aria Desires
876b9aef50
update cargo-dist ( #12790 )
...
Putting this up to confirm that it does what it should:
* undirty the release.yml by including action-commits in the config
* add `persist-credentials=false` hardening
* includes but does not use `[package.metadata.dist.binaries]` overrides
(for #11786 )
2025-04-10 09:42:41 -04:00
renovate[bot]
df2d773d52
Update taiki-e/install-action digest to 2db3465 ( #12697 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[taiki-e/install-action](https://redirect.github.com/taiki-e/install-action )
| action | digest | `6aca1cf` -> `2db3465` |
---
### 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMjcuMyIsInVwZGF0ZWRJblZlciI6IjM5LjIzNS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-08 12:07:05 -05:00
konsti
b0a6ef4dd6
Update maturin-action to v1.48.1 ( #12736 )
...
Initially, this was for testing CI for #12688 , but I think it makes
sense to merge this independently and rebase #12688 on top of it.
2025-04-08 12:10:48 -04:00
Meitar Reihan
2b62f73064
Add `UV_PYTHON_DOWNLOADS_JSON_URL` to set custom managed python sources ( #10939 )
...
## Summary
Add an option to overwrite the list of available Python downloads from a
local JSON file by using the environment variable
`UV_PYTHON_DOWNLOADS_JSON_URL`
as an experimental support for providing custom sources for Python
distribution binaries #8015
related #10203
I probably should make the JSON to be fetched from a remote URL instead
of a local file.
please let me know what you think and I will modify the code
accordingly.
## Test Plan
### normal run
```
root@75c66494ba8b:/# /code/target/release/uv python list
cpython-3.14.0a4+freethreaded-linux-x86_64-gnu <download available>
cpython-3.14.0a4-linux-x86_64-gnu <download available>
cpython-3.13.1+freethreaded-linux-x86_64-gnu <download available>
cpython-3.13.1-linux-x86_64-gnu <download available>
cpython-3.12.8-linux-x86_64-gnu <download available>
cpython-3.11.11-linux-x86_64-gnu <download available>
cpython-3.10.16-linux-x86_64-gnu <download available>
cpython-3.9.21-linux-x86_64-gnu <download available>
cpython-3.8.20-linux-x86_64-gnu <download available>
cpython-3.7.9-linux-x86_64-gnu <download available>
pypy-3.10.14-linux-x86_64-gnu <download available>
pypy-3.9.19-linux-x86_64-gnu <download available>
pypy-3.8.16-linux-x86_64-gnu <download available>
pypy-3.7.13-linux-x86_64-gnu <download available>
```
### empty JSON file
```sh
root@75c66494ba8b:/# export UV_PYTHON_DOWNLOADS_JSON_URL=/code/crates/uv-python/my-download-metadata.json
root@75c66494ba8b:/# cat $UV_PYTHON_DOWNLOADS_JSON_URL
{}
root@75c66494ba8b:/# /code/target/release/uv python list
root@75c66494ba8b:/#
```
### JSON file with valid version
```sh
root@75c66494ba8b:/# export UV_PYTHON_DOWNLOADS_JSON_URL=/code/crates/uv-python/my-download-metadata.json
root@75c66494ba8b:/# cat $UV_PYTHON_DOWNLOADS_JSON_URL
{
"cpython-3.11.9-linux-x86_64-gnu": {
"name": "cpython",
"arch": {
"family": "x86_64",
"variant": null
},
"os": "linux",
"libc": "gnu",
"major": 3,
"minor": 11,
"patch": 9,
"prerelease": "",
"url": "https://github.com/astral-sh/python-build-standalone/releases/download/20240814/cpython-3.11.9%2B20240814-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz ",
"sha256": "daa487c7e73005c4426ac393273117cf0e2dc4ab9b2eeda366e04cd00eea00c9",
"variant": null
}
}
root@75c66494ba8b:/# /code/target/release/uv python list
cpython-3.11.9-linux-x86_64-gnu <download available>
root@75c66494ba8b:/#
```
### Remote Path
```sh
root@75c66494ba8b:/# export UV_PYTHON_DOWNLOADS_JSON_URL=http://a.com/file.json
root@75c66494ba8b:/# /code/target/release/uv python list
error: Remote python downloads JSON is not yet supported, please use a local path (without `file://` prefix)
```
---------
Co-authored-by: Aria Desires <aria.desires@gmail.com>
2025-04-07 13:55:00 -04:00
Aria Desires
ba443fae75
use astral-sh/cargo-dist instead ( #12659 )
2025-04-03 17:25:18 -04:00
renovate[bot]
c1b49b9ab2
Update astral-sh/setup-uv digest to 0c5e2b8 ( #12569 )
2025-03-31 13:29:05 +00:00
renovate[bot]
545ededdf6
Pin actions/checkout action to 11bd719 ( #12567 )
2025-03-31 09:07:40 -04:00
renovate[bot]
be615cb213
Update Artifact GitHub Actions dependencies ( #12572 )
2025-03-31 09:07:01 -04:00
renovate[bot]
ae03d7e617
Update taiki-e/install-action digest to 6aca1cf ( #12570 )
2025-03-31 09:06:51 -04:00
renovate[bot]
123b9d7a5c
Update actions/setup-python digest to 8d9ed9a ( #12568 )
2025-03-31 09:06:17 -04:00
Zanie Blue
a28db37f33
Add smoke test script in Python ( #11628 )
...
I wanted to consolidate these anyway, and apparently it's a huge pain to
make a Windows task fail early via GitHub's PowerShell setup so I
implement this in Python instead.
2025-03-27 15:35:21 -05:00
konsti
99e2324dcf
Use 64-bit host for 32-bit releases to work around OOM ( #12466 )
...
The i686 linux gnu release job started failing since the last release
(#12430 ) due to an OOM with llvm breaking the 4GB limit for 32-bit
processes. We work around this by using a 64-bit host targeting 32-bit.
2025-03-25 18:33:31 +01:00
renovate[bot]
f00f8e908a
Update taiki-e/install-action digest to 914ac1e ( #12410 )
2025-03-24 09:19:26 -04:00
renovate[bot]
2040c1c330
Update webfactory/ssh-agent action to v0.9.1 ( #12421 )
2025-03-24 09:19:07 -04:00
renovate[bot]
6355a24240
Update PyO3/maturin-action action to v1.47.3 ( #12411 )
2025-03-23 22:15:00 -04:00
renovate[bot]
b69be96e0f
Update astral-sh/setup-uv digest to 2269511 ( #12409 )
2025-03-23 22:14:16 -04:00
renovate[bot]
619e300025
Update Swatinem/rust-cache digest to 9d47c6a ( #12408 )
2025-03-23 22:14:10 -04:00
Charlie Marsh
e9d2b6ecea
Un-pin `maturin-action` version ( #12287 )
...
## Summary
The commit we want is in https://github.com/PyO3/maturin-action/pull/330
which is now released.
2025-03-18 10:54:22 -05:00
renovate[bot]
3c20ffe9ef
Update PyO3/maturin-action action to v1.47.2 ( #12228 )
2025-03-17 14:17:16 -04:00
renovate[bot]
28a2d07c44
Update CodSpeedHQ/action action to v3.5.0 ( #12227 )
2025-03-17 14:17:03 -04:00
renovate[bot]
68ece236a9
Update peter-evans/create-pull-request action to v7.0.8 ( #12226 )
2025-03-17 14:16:46 -04:00
renovate[bot]
f31a1edd42
Update taiki-e/install-action digest to 2c41309 ( #12213 )
2025-03-17 03:32:42 +00:00
renovate[bot]
5880a98163
Pin dependencies ( #12191 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [CodSpeedHQ/action](https://redirect.github.com/CodSpeedHQ/action ) |
action | pinDigest | -> `0010eb0` |
|
[EmbarkStudios/cargo-deny-action](https://redirect.github.com/EmbarkStudios/cargo-deny-action )
| action | pinDigest | -> `3f4a782` |
| [PyO3/maturin-action](https://redirect.github.com/PyO3/maturin-action )
| action | pinDigest | -> `36db840` |
|
[SebRollen/toml-action](https://redirect.github.com/SebRollen/toml-action )
| action | pinDigest | -> `b1b3628` |
| [Swatinem/rust-cache](https://redirect.github.com/Swatinem/rust-cache )
| action | pinDigest | -> `f0deed1` |
|
[acj/freebsd-firecracker-action](https://redirect.github.com/acj/freebsd-firecracker-action )
| action | pinDigest | -> `4d93174` |
|
[actions/attest-build-provenance](https://redirect.github.com/actions/attest-build-provenance )
| action | pinDigest | -> `c074443` |
| [actions/checkout](https://redirect.github.com/actions/checkout ) |
action | pinDigest | -> `11bd719` |
|
[actions/setup-python](https://redirect.github.com/actions/setup-python )
| action | pinDigest | -> `4237552` |
| [astral-sh/setup-uv](https://redirect.github.com/astral-sh/setup-uv ) |
action | pinDigest | -> `f94ec6b` |
|
[conda-incubator/setup-miniconda](https://redirect.github.com/conda-incubator/setup-miniconda )
| action | pinDigest | -> `505e639` |
|
[docker/build-push-action](https://redirect.github.com/docker/build-push-action )
| action | pinDigest | -> `471d1dc` |
| [docker/login-action](https://redirect.github.com/docker/login-action )
| action | pinDigest | -> `74a5d14` |
|
[docker/metadata-action](https://redirect.github.com/docker/metadata-action )
| action | pinDigest | -> `902fa8e` |
|
[docker/setup-buildx-action](https://redirect.github.com/docker/setup-buildx-action )
| action | pinDigest | -> `b5ca514` |
|
[ludeeus/action-shellcheck](https://redirect.github.com/ludeeus/action-shellcheck )
| action | pinDigest | -> `00cae50` |
|
[peter-evans/create-pull-request](https://redirect.github.com/peter-evans/create-pull-request )
| action | pinDigest | -> `271a8d0` |
|
[taiki-e/install-action](https://redirect.github.com/taiki-e/install-action )
| action | pinDigest | -> `2153a01` |
|
[uraimo/run-on-arch-action](https://redirect.github.com/uraimo/run-on-arch-action )
| action | pinDigest | -> `ac33288` |
|
[webfactory/ssh-agent](https://redirect.github.com/webfactory/ssh-agent )
| action | pinDigest | -> `dc588b6` |
---
### 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.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions ) if
that's undesired.
---
- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM5LjIwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-15 16:25:19 -04:00
renovate[bot]
8cf439bc36
Update Artifact GitHub Actions dependencies ( #12192 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[actions/download-artifact](https://redirect.github.com/actions/download-artifact )
| action | minor | `v4` -> `v4.1.9` |
|
[actions/upload-artifact](https://redirect.github.com/actions/upload-artifact )
| action | minor | `v4` -> `v4.6.1` |
---
### Release Notes
<details>
<summary>actions/download-artifact (actions/download-artifact)</summary>
###
[`v4.1.9`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.1.9 )
[Compare
Source](https://redirect.github.com/actions/download-artifact/compare/v4.1.8...v4.1.9 )
#### What's Changed
- Add workflow file for publishing releases to immutable action package
by [@​Jcambass](https://redirect.github.com/Jcambass ) in
[https://github.com/actions/download-artifact/pull/354 ](https://redirect.github.com/actions/download-artifact/pull/354 )
- docs: small migration fix by
[@​froblesmartin](https://redirect.github.com/froblesmartin ) in
[https://github.com/actions/download-artifact/pull/370 ](https://redirect.github.com/actions/download-artifact/pull/370 )
- Update MIGRATION.md by
[@​andyfeller](https://redirect.github.com/andyfeller ) in
[https://github.com/actions/download-artifact/pull/372 ](https://redirect.github.com/actions/download-artifact/pull/372 )
- Update artifact package to 2.2.2 by
[@​yacaovsnc](https://redirect.github.com/yacaovsnc ) in
[https://github.com/actions/download-artifact/pull/380 ](https://redirect.github.com/actions/download-artifact/pull/380 )
#### New Contributors
- [@​Jcambass](https://redirect.github.com/Jcambass ) made their
first contribution in
[https://github.com/actions/download-artifact/pull/354 ](https://redirect.github.com/actions/download-artifact/pull/354 )
- [@​froblesmartin](https://redirect.github.com/froblesmartin )
made their first contribution in
[https://github.com/actions/download-artifact/pull/370 ](https://redirect.github.com/actions/download-artifact/pull/370 )
- [@​andyfeller](https://redirect.github.com/andyfeller ) made
their first contribution in
[https://github.com/actions/download-artifact/pull/372 ](https://redirect.github.com/actions/download-artifact/pull/372 )
- [@​yacaovsnc](https://redirect.github.com/yacaovsnc ) made their
first contribution in
[https://github.com/actions/download-artifact/pull/380 ](https://redirect.github.com/actions/download-artifact/pull/380 )
**Full Changelog**:
https://github.com/actions/download-artifact/compare/v4...v4.1.9
###
[`v4.1.8`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.1.8 )
[Compare
Source](https://redirect.github.com/actions/download-artifact/compare/v4.1.7...v4.1.8 )
#### What's Changed
- Update
[@​actions/artifact](https://redirect.github.com/actions/artifact )
version, bump dependencies by
[@​robherley](https://redirect.github.com/robherley ) in
[https://github.com/actions/download-artifact/pull/341 ](https://redirect.github.com/actions/download-artifact/pull/341 )
**Full Changelog**:
https://github.com/actions/download-artifact/compare/v4...v4.1.8
###
[`v4.1.7`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.1.7 )
[Compare
Source](https://redirect.github.com/actions/download-artifact/compare/v4.1.6...v4.1.7 )
#### What's Changed
- Update
[@​actions/artifact](https://redirect.github.com/actions/artifact )
dependency by
[@​bethanyj28](https://redirect.github.com/bethanyj28 ) in
[https://github.com/actions/download-artifact/pull/325 ](https://redirect.github.com/actions/download-artifact/pull/325 )
**Full Changelog**:
https://github.com/actions/download-artifact/compare/v4.1.6...v4.1.7
###
[`v4.1.6`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.1.6 )
[Compare
Source](https://redirect.github.com/actions/download-artifact/compare/v4.1.5...v4.1.6 )
#### What's Changed
- updating `@actions/artifact` dependency to v2.1.6 by
[@​eggyhead](https://redirect.github.com/eggyhead ) in
[https://github.com/actions/download-artifact/pull/324 ](https://redirect.github.com/actions/download-artifact/pull/324 )
**Full Changelog**:
https://github.com/actions/download-artifact/compare/v4.1.5...v4.1.6
###
[`v4.1.5`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.1.5 )
[Compare
Source](https://redirect.github.com/actions/download-artifact/compare/v4.1.4...v4.1.5 )
##### What's Changed
- Update readme with v3/v2/v1 deprecation notice by
[@​robherley](https://redirect.github.com/robherley ) in
[https://github.com/actions/download-artifact/pull/322 ](https://redirect.github.com/actions/download-artifact/pull/322 )
- Update dependencies `@actions/core` to v1.10.1 and `@actions/artifact`
to v2.1.5
**Full Changelog**:
https://github.com/actions/download-artifact/compare/v4.1.4...v4.1.5
###
[`v4.1.4`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.1.4 )
[Compare
Source](https://redirect.github.com/actions/download-artifact/compare/v4.1.3...v4.1.4 )
#### What's Changed
- Update
[@​actions/artifact](https://redirect.github.com/actions/artifact )
by [@​bethanyj28](https://redirect.github.com/bethanyj28 ) in
[https://github.com/actions/download-artifact/pull/307 ](https://redirect.github.com/actions/download-artifact/pull/307 )
**Full Changelog**:
https://github.com/actions/download-artifact/compare/v4...v4.1.4
###
[`v4.1.3`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.1.3 )
[Compare
Source](https://redirect.github.com/actions/download-artifact/compare/v4.1.2...v4.1.3 )
#### What's Changed
- Update release-new-action-version.yml by
[@​konradpabjan](https://redirect.github.com/konradpabjan ) in
[https://github.com/actions/download-artifact/pull/292 ](https://redirect.github.com/actions/download-artifact/pull/292 )
- Update toolkit dependency with updated unzip logic by
[@​bethanyj28](https://redirect.github.com/bethanyj28 ) in
[https://github.com/actions/download-artifact/pull/299 ](https://redirect.github.com/actions/download-artifact/pull/299 )
- Update
[@​actions/artifact](https://redirect.github.com/actions/artifact )
by [@​bethanyj28](https://redirect.github.com/bethanyj28 ) in
[https://github.com/actions/download-artifact/pull/303 ](https://redirect.github.com/actions/download-artifact/pull/303 )
#### New Contributors
- [@​bethanyj28](https://redirect.github.com/bethanyj28 ) made
their first contribution in
[https://github.com/actions/download-artifact/pull/299 ](https://redirect.github.com/actions/download-artifact/pull/299 )
**Full Changelog**:
https://github.com/actions/download-artifact/compare/v4...v4.1.3
###
[`v4.1.2`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.1.2 )
[Compare
Source](https://redirect.github.com/actions/download-artifact/compare/v4.1.1...v4.1.2 )
- Bump
[@​actions/artifacts](https://redirect.github.com/actions/artifacts )
to latest version to include [updated GHES host
check](https://redirect.github.com/actions/toolkit/pull/1648 )
###
[`v4.1.1`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.1.1 )
[Compare
Source](https://redirect.github.com/actions/download-artifact/compare/v4.1.0...v4.1.1 )
- Fix transient request timeouts
[https://github.com/actions/download-artifact/issues/249 ](https://redirect.github.com/actions/download-artifact/issues/249 )
- Bump `@actions/artifacts` to latest version
###
[`v4.1.0`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.1.0 )
[Compare
Source](https://redirect.github.com/actions/download-artifact/compare/v4...v4.1.0 )
#### What's Changed
- Some cleanup by
[@​robherley](https://redirect.github.com/robherley ) in
[https://github.com/actions/download-artifact/pull/247 ](https://redirect.github.com/actions/download-artifact/pull/247 )
- Fix default for run-id by
[@​stchr](https://redirect.github.com/stchr ) in
[https://github.com/actions/download-artifact/pull/252 ](https://redirect.github.com/actions/download-artifact/pull/252 )
- Support pattern matching to filter artifacts & merge to same directory
by [@​robherley](https://redirect.github.com/robherley ) in
[https://github.com/actions/download-artifact/pull/259 ](https://redirect.github.com/actions/download-artifact/pull/259 )
#### New Contributors
- [@​stchr](https://redirect.github.com/stchr ) made their first
contribution in
[https://github.com/actions/download-artifact/pull/252 ](https://redirect.github.com/actions/download-artifact/pull/252 )
**Full Changelog**:
https://github.com/actions/download-artifact/compare/v4...v4.1.0
</details>
<details>
<summary>actions/upload-artifact (actions/upload-artifact)</summary>
###
[`v4.6.1`](https://redirect.github.com/actions/upload-artifact/releases/tag/v4.6.1 )
[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v4.6.0...v4.6.1 )
#### What's Changed
- Update to use artifact 2.2.2 package by
[@​yacaovsnc](https://redirect.github.com/yacaovsnc ) in
[https://github.com/actions/upload-artifact/pull/673 ](https://redirect.github.com/actions/upload-artifact/pull/673 )
**Full Changelog**:
https://github.com/actions/upload-artifact/compare/v4...v4.6.1
###
[`v4.6.0`](https://redirect.github.com/actions/upload-artifact/releases/tag/v4.6.0 )
[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v4.5.0...v4.6.0 )
##### What's Changed
- Expose env vars to control concurrency and timeout by
[@​yacaovsnc](https://redirect.github.com/yacaovsnc ) in
[https://github.com/actions/upload-artifact/pull/662 ](https://redirect.github.com/actions/upload-artifact/pull/662 )
**Full Changelog**:
https://github.com/actions/upload-artifact/compare/v4...v4.6.0
###
[`v4.5.0`](https://redirect.github.com/actions/upload-artifact/releases/tag/v4.5.0 )
[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v4.4.3...v4.5.0 )
##### What's Changed
- fix: deprecated `Node.js` version in action by
[@​hamirmahal](https://redirect.github.com/hamirmahal ) in
[https://github.com/actions/upload-artifact/pull/578 ](https://redirect.github.com/actions/upload-artifact/pull/578 )
- Add new `artifact-digest` output by
[@​bdehamer](https://redirect.github.com/bdehamer ) in
[https://github.com/actions/upload-artifact/pull/656 ](https://redirect.github.com/actions/upload-artifact/pull/656 )
##### New Contributors
- [@​hamirmahal](https://redirect.github.com/hamirmahal ) made
their first contribution in
[https://github.com/actions/upload-artifact/pull/578 ](https://redirect.github.com/actions/upload-artifact/pull/578 )
- [@​bdehamer](https://redirect.github.com/bdehamer ) made their
first contribution in
[https://github.com/actions/upload-artifact/pull/656 ](https://redirect.github.com/actions/upload-artifact/pull/656 )
**Full Changelog**:
https://github.com/actions/upload-artifact/compare/v4.4.3...v4.5.0
###
[`v4.4.3`](https://redirect.github.com/actions/upload-artifact/releases/tag/v4.4.3 )
[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v4.4.2...v4.4.3 )
#### What's Changed
- Undo indirect dependency updates from
[#​627](https://redirect.github.com/actions/upload-artifact/issues/627 )
by [@​joshmgross](https://redirect.github.com/joshmgross ) in
[https://github.com/actions/upload-artifact/pull/632 ](https://redirect.github.com/actions/upload-artifact/pull/632 )
**Full Changelog**:
https://github.com/actions/upload-artifact/compare/v4.4.2...v4.4.3
###
[`v4.4.2`](https://redirect.github.com/actions/upload-artifact/releases/tag/v4.4.2 )
[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v4.4.1...v4.4.2 )
#### What's Changed
- Bump `@actions/artifact` to 2.1.11 by
[@​robherley](https://redirect.github.com/robherley ) in
[https://github.com/actions/upload-artifact/pull/627 ](https://redirect.github.com/actions/upload-artifact/pull/627 )
- Includes fix for relative symlinks not resolving properly
**Full Changelog**:
https://github.com/actions/upload-artifact/compare/v4.4.1...v4.4.2
###
[`v4.4.1`](https://redirect.github.com/actions/upload-artifact/releases/tag/v4.4.1 )
[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v4.4.0...v4.4.1 )
#### What's Changed
- Add a section about hidden files by
[@​joshmgross](https://redirect.github.com/joshmgross ) in
[https://github.com/actions/upload-artifact/pull/607 ](https://redirect.github.com/actions/upload-artifact/pull/607 )
- Add workflow file for publishing releases to immutable action package
by [@​Jcambass](https://redirect.github.com/Jcambass ) in
[https://github.com/actions/upload-artifact/pull/621 ](https://redirect.github.com/actions/upload-artifact/pull/621 )
- Update
[@​actions/artifact](https://redirect.github.com/actions/artifact )
to latest version, includes symlink and timeout fixes by
[@​robherley](https://redirect.github.com/robherley ) in
[https://github.com/actions/upload-artifact/pull/625 ](https://redirect.github.com/actions/upload-artifact/pull/625 )
#### New Contributors
- [@​Jcambass](https://redirect.github.com/Jcambass ) made their
first contribution in
[https://github.com/actions/upload-artifact/pull/621 ](https://redirect.github.com/actions/upload-artifact/pull/621 )
**Full Changelog**:
https://github.com/actions/upload-artifact/compare/v4.4.0...v4.4.1
###
[`v4.4.0`](https://redirect.github.com/actions/upload-artifact/releases/tag/v4.4.0 )
[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v4.3.6...v4.4.0 )
#### Notice: Breaking Changes ⚠️
We will no longer include hidden files and folders by default in the
`upload-artifact` action of this version. This reduces the risk that
credentials are accidentally uploaded into artifacts. Customers who need
to continue to upload these files can use a new option,
`include-hidden-files`, to continue to do so.
See ["Notice of upcoming deprecations and breaking changes in GitHub
Actions
runners"](https://github.blog/changelog/2024-08-19-notice-of-upcoming-deprecations-and-breaking-changes-in-github-actions-runners/ )
changelog and [this
issue](https://redirect.github.com/actions/upload-artifact/issues/602 )
for more details.
#### What's Changed
- Exclude hidden files by default by
[@​joshmgross](https://redirect.github.com/joshmgross ) in
[https://github.com/actions/upload-artifact/pull/598 ](https://redirect.github.com/actions/upload-artifact/pull/598 )
**Full Changelog**:
https://github.com/actions/upload-artifact/compare/v4.3.6...v4.4.0
###
[`v4.3.6`](https://redirect.github.com/actions/upload-artifact/releases/tag/v4.3.6 )
[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v4.3.5...v4.3.6 )
#### What's Changed
- Revert to
[@​actions/artifact](https://redirect.github.com/actions/artifact )
2.1.8 by [@​robherley](https://redirect.github.com/robherley ) in
[https://github.com/actions/upload-artifact/pull/594 ](https://redirect.github.com/actions/upload-artifact/pull/594 )
**Full Changelog**:
https://github.com/actions/upload-artifact/compare/v4...v4.3.6
###
[`v4.3.5`](https://redirect.github.com/actions/upload-artifact/releases/tag/v4.3.5 )
[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v4.3.4...v4.3.5 )
#### What's Changed
- Bump
[@​actions/artifact](https://redirect.github.com/actions/artifact )
to v2.1.9 by [@​robherley](https://redirect.github.com/robherley )
in
[https://github.com/actions/upload-artifact/pull/588 ](https://redirect.github.com/actions/upload-artifact/pull/588 )
- Fixed artifact upload chunk timeout logic
[#​1774](https://redirect.github.com/actions/toolkit/pull/1774 )
- Use lazy stream to prevent issues with open file limits
[#​1771](https://redirect.github.com/actions/toolkit/pull/1771 )
**Full Changelog**:
https://github.com/actions/upload-artifact/compare/v4.3.4...v4.3.5
###
[`v4.3.4`](https://redirect.github.com/actions/upload-artifact/releases/tag/v4.3.4 )
[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v4.3.3...v4.3.4 )
#### What's Changed
- Update
[@​actions/artifact](https://redirect.github.com/actions/artifact )
version, bump dependencies by
[@​robherley](https://redirect.github.com/robherley ) in
[https://github.com/actions/upload-artifact/pull/584 ](https://redirect.github.com/actions/upload-artifact/pull/584 )
**Full Changelog**:
https://github.com/actions/upload-artifact/compare/v4.3.3...v4.3.4
###
[`v4.3.3`](https://redirect.github.com/actions/upload-artifact/releases/tag/v4.3.3 )
[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v4.3.2...v4.3.3 )
#### What's Changed
- updating `@actions/artifact` dependency to v2.1.6 by
[@​eggyhead](https://redirect.github.com/eggyhead ) in
[https://github.com/actions/upload-artifact/pull/565 ](https://redirect.github.com/actions/upload-artifact/pull/565 )
**Full Changelog**:
https://github.com/actions/upload-artifact/compare/v4.3.2...v4.3.3
###
[`v4.3.2`](https://redirect.github.com/actions/upload-artifact/releases/tag/v4.3.2 )
[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v4.3.1...v4.3.2 )
#### What's Changed
- Update release-new-action-version.yml by
[@​konradpabjan](https://redirect.github.com/konradpabjan ) in
[https://github.com/actions/upload-artifact/pull/516 ](https://redirect.github.com/actions/upload-artifact/pull/516 )
- Minor fix to the migration readme by
[@​andrewakim](https://redirect.github.com/andrewakim ) in
[https://github.com/actions/upload-artifact/pull/523 ](https://redirect.github.com/actions/upload-artifact/pull/523 )
- Update readme with v3/v2/v1 deprecation notice by
[@​robherley](https://redirect.github.com/robherley ) in
[https://github.com/actions/upload-artifact/pull/561 ](https://redirect.github.com/actions/upload-artifact/pull/561 )
- updating `@actions/artifact` dependency to v2.1.5 and `@actions/core`
to v1.0.1 by [@​eggyhead](https://redirect.github.com/eggyhead ) in
[https://github.com/actions/upload-artifact/pull/562 ](https://redirect.github.com/actions/upload-artifact/pull/562 )
#### New Contributors
- [@​andrewakim](https://redirect.github.com/andrewakim ) made
their first contribution in
[https://github.com/actions/upload-artifact/pull/523 ](https://redirect.github.com/actions/upload-artifact/pull/523 )
**Full Changelog**:
https://github.com/actions/upload-artifact/compare/v4.3.1...v4.3.2
###
[`v4.3.1`](https://redirect.github.com/actions/upload-artifact/releases/tag/v4.3.1 )
[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v4.3.0...v4.3.1 )
- Bump
[@​actions/artifacts](https://redirect.github.com/actions/artifacts )
to latest version to include [updated GHES host
check](https://redirect.github.com/actions/toolkit/pull/1648 )
###
[`v4.3.0`](https://redirect.github.com/actions/upload-artifact/releases/tag/v4.3.0 )
[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v4.2.0...v4.3.0 )
#### What's Changed
- Reorganize upload code in prep for merge logic & add more tests by
[@​robherley](https://redirect.github.com/robherley ) in
[https://github.com/actions/upload-artifact/pull/504 ](https://redirect.github.com/actions/upload-artifact/pull/504 )
- Add sub-action to merge artifacts by
[@​robherley](https://redirect.github.com/robherley ) in
[https://github.com/actions/upload-artifact/pull/505 ](https://redirect.github.com/actions/upload-artifact/pull/505 )
**Full Changelog**:
https://github.com/actions/upload-artifact/compare/v4...v4.3.0
###
[`v4.2.0`](https://redirect.github.com/actions/upload-artifact/releases/tag/v4.2.0 )
[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v4.1.0...v4.2.0 )
#### What's Changed
- Ability to overwrite an Artifact by
[@​robherley](https://redirect.github.com/robherley ) in
[https://github.com/actions/upload-artifact/pull/501 ](https://redirect.github.com/actions/upload-artifact/pull/501 )
**Full Changelog**:
https://github.com/actions/upload-artifact/compare/v4...v4.2.0
###
[`v4.1.0`](https://redirect.github.com/actions/upload-artifact/releases/tag/v4.1.0 )
[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v4.0.0...v4.1.0 )
#### What's Changed
- Add migrations docs by
[@​robherley](https://redirect.github.com/robherley ) in
[https://github.com/actions/upload-artifact/pull/482 ](https://redirect.github.com/actions/upload-artifact/pull/482 )
- Update README.md by
[@​samuelwine](https://redirect.github.com/samuelwine ) in
[https://github.com/actions/upload-artifact/pull/492 ](https://redirect.github.com/actions/upload-artifact/pull/492 )
- Support artifact-url output by
[@​konradpabjan](https://redirect.github.com/konradpabjan ) in
[https://github.com/actions/upload-artifact/pull/496 ](https://redirect.github.com/actions/upload-artifact/pull/496 )
- Update readme to reflect new 500 artifact per job limit by
[@​robherley](https://redirect.github.com/robherley ) in
[https://github.com/actions/upload-artifact/pull/497 ](https://redirect.github.com/actions/upload-artifact/pull/497 )
#### New Contributors
- [@​samuelwine](https://redirect.github.com/samuelwine ) made
their first contribution in
[https://github.com/actions/upload-artifact/pull/492 ](https://redirect.github.com/actions/upload-artifact/pull/492 )
**Full Changelog**:
https://github.com/actions/upload-artifact/compare/v4...v4.1.0
</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.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions ) if
that's undesired.
---
- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM5LjIwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-15 15:11:23 -05:00
Charlie Marsh
4d989b3630
Instruct Renovate to pin GitHub Actions based on SHA ( #12189 )
...
## Summary
The intent here is that all actions should be pinned to an immutable SHA
(but that Renovate should annotate each SHA with the corresponding
SemVer version).
2025-03-15 17:24:33 +00:00
Charlie Marsh
dab1ea2272
Replace change detection GitHub Action ( #12188 )
...
## Summary
`tj-actions/changed-files` no longer exists due to a malicious commit.
This PR replaces it with a minimal shell script to get us unblocked.
2025-03-15 13:12:00 -04:00
Zanie Blue
553bcccb6a
Add support for dynamic musl Python distributions on x86-64 Linux ( #12121 )
...
Following the upstream release and #12120 , removes gating preventing
installation of the managed musl Python versions.
Of note
- The filtering of musl Python distributions has moved from the Rust
runtime to the metadata fetcher
- The filtering is now conditional on the PBS release date, removing all
old static musl distributions
- We could support the `+static` musl downloads in the future; right
now, they are deprioritized when selecting a variant
- I added test to CI which uses Alpine and installs numpy
2025-03-11 18:14:10 -05:00
konsti
b2a0ea3701
Integration test uv_build package ( #12058 )
...
I somehow missed running an actual integration test of the PEP 517 API
in CI and the python shim was using the old uv CLI interface still.
The tests include pip, uv and `python -m build`. They must be a in CI
job since we can't depend on the Python package in the Rust tests (we
only get the binary in `cargo test`, not the `uv_build` wheel).
2025-03-07 23:40:53 +01:00
Zanie Blue
0798c3565d
Fix `PyPI` typo in publish workflow ( #12051 )
2025-03-07 11:10:23 -06:00
Zanie Blue
7a56aef7d1
Revert "Run the `uv-build` publish sequentially after `uv` ( #12022 )" ( #12024 )
...
This was not the problem
2025-03-06 16:53:39 -06:00
Zanie Blue
15bc1e7c03
Fix upload name for macOS wheels ( #12023 )
...
These were missed in the original PR and consequently not uploaded
2025-03-06 16:53:29 -06:00
Zanie Blue
ef1243c6e8
Run the `uv-build` publish sequentially after `uv` ( #12022 )
...
In an attempt to resolve a trusted publishing failure
2025-03-06 15:27:57 -06:00
konsti
bf4c7afe8b
A minimal build backend for uv: uv_build ( #11446 )
...
uv itself is a large package with many dependencies and lots of
features. To build a package using the uv build backend, you shouldn't
have to download and install the entirety of uv. For platform where we
don't provide wheels, it should be possible and fast to compile the uv
build backend. To that end, we're introducing a python package that
contains a trimmed down version of uv that only contains the build
backend, with a minimal dependency tree in rust.
The `uv_build` package is publish from CI just like uv itself. It is
part of the workspace, but has much less dependencies for its own
binary. We're using cargo deny to enforce that the network stack is not
part of the dependencies. A new build profile ensure we're getting the
minimum possible binary size for a rust binary.
---------
Co-authored-by: Zanie Blue <contact@zanie.dev>
2025-03-06 13:27:20 -06:00
Zanie Blue
b7f98f1ff2
Use the Depot Ubuntu runners instead of GitHub for release workflows ( #11948 )
...
See
-
https://opensource.axo.dev/cargo-dist/book/reference/config.html#github-custom-runners
- https://github.com/axodotdev/cargo-dist/issues/1760
- #11935
2025-03-04 13:28:14 -06:00
konsti
6132d252d6
Remove unused `UV_STACK_SIZE` env vars ( #11957 )
...
These were overlooked in #10479
2025-03-04 16:53:34 +00:00
Zanie Blue
f44aba0a96
Run the Docker build workflow when we touch project or toolchain metadata ( #11938 )
...
I noticed that https://github.com/astral-sh/uv/pull/11936 did not run
the Docker builds, nor did #11934
We should run these when the relevant files change so there aren't
surprises at release time!
Updates the `build-binaries` workflow to include toolchain version
changes and `.cargo/config.toml` changes too.
2025-03-04 08:36:20 -06:00
Zanie Blue
f0ec9fd44a
Bump version to 0.6.4 ( #11934 )
2025-03-03 16:04:11 -06:00
Zanie Blue
326d0c460a
Add emulated test for x86-64 Python on aarch64 Windows ( #11626 )
...
Coverage of https://github.com/astral-sh/uv/pull/11625 for unmanaged
Python.
2025-02-19 12:02:13 -06:00
konsti
3634a4d8e9
More consistent `build-binaries.yml` ( #11478 )
...
For uv-build, we need to duplicate a lot of the `build-binaries.yml`
logic to build another source distribution and wheel. In preparation for
that I tried to make the invocations more consistent, to make it easier
to review the changes when adding the `uv-build` builds on top.
Split out from #11446
---------
Co-authored-by: Charlie Marsh <charlie.r.marsh@gmail.com>
2025-02-18 11:36:26 -06:00
samypr100
553b3a7c34
Bump alpine default tag to 3.21 ( #11157 )
...
Alpine 3.21 has been released for a few months and it's now being used
officially under `alpine` based [python
images](https://hub.docker.com/_/python ), hence our python-alpine based
images has been using 3.21 since uv 0.5.8 under the hood.
This could arguably be `breaking` as we're dropping alpine3.20 top-level
tag, so it could be a good candidate for 0.6.0.
Alternatively, we can keep support for 3.20 and make this non-breaking
by simply repointing alpine to now be 3.21 and keeping the 3.20 tag
around.
2025-02-13 16:17:49 -06:00
Zanie Blue
4badcef3d8
Disable pip cache in Windows system test job ( #11403 )
...
I have no idea why we'd want the cache enabled here anyway?
Closes https://github.com/astral-sh/uv/issues/11397
2025-02-10 20:36:00 +00:00
Zanie Blue
e22ecee36b
Respect `no-build` label in Docker image builds ( #11333 )
...
e.g., https://github.com/astral-sh/uv/pull/11329 is runner Docker image
builds but should not
2025-02-08 02:17:59 +00:00
Zanie Blue
1f963d1b89
Move content from the `mkdocs.public.yml` into the template ( #11246 )
...
Closes https://github.com/astral-sh/uv/issues/11242
2025-02-05 16:13:46 +00:00
Charlie Marsh
ee2bdc21fa
Disable wheel testing for `powerpc64le-unknown-linux-gnu` ( #11229 )
...
## Summary
I need to look into this later, but the test step is failing to install
Python:
https://github.com/astral-sh/uv/actions/runs/13148286589/job/36694160839 .
We already disable this for the non-`le` variant, so this seems ok to
revisit.
2025-02-04 22:46:08 -05:00
FishAlchemist
49b85d2e65
Add ``last updated`` for document ( #11164 )
...
## Summary


Display the last document update time, excluding any automatically
generated parts of the document, while ensuring that Google can
accurately read and recognize the webpage's time.
Note that I do not have permission to update
``requirements-insiders.txt``
Google time info
*
https://developers.google.com/search/blog/2019/03/help-google-search-know-best-date-for
*
https://developers.google.com/search/docs/appearance/structured-data/article#amp
Similar https://github.com/astral-sh/uv/pull/11162
Closes #11148
## Test Plan
uvx --with-requirements docs/requirements.txt -- mkdocs serve -f
mkdocs.public.yml --strict

The correct format is actually ``2024-08-08T22:01:08Z``, but Google
Search happens to be lenient and accepts this format.

2025-02-03 22:28:47 -05:00
konsti
c54dbcbcc2
Use dev drive for trampoline CI to avoid timeout ( #11015 )
...
Sometimes that job is just slow:
https://github.com/astral-sh/uv/actions/runs/12996921221/job/36247398606
2025-02-03 15:38:56 +01:00
Martijn Pieters
47f80a62c4
Sign docker images using cosign ( #8685 )
...
cosign uses the GitHub action ID token to retrieve an ephemeral code
signing certificate from Fulcio, and store the signature in the Rekor
transparency log.
Once an image has been successfully signed, you should be able to verify
the signature with:
```sh
cosign verify ghcr.io/astral-sh/uv:latest --certificate-identity-regexp='.*' --certificate-oidc-issuer-regexp='.*'
```
Closes #8670
2025-01-31 09:00:23 -06:00
Zanie Blue
24c70240d5
Link to our MRE documentation in the issue template ( #11045 )
2025-01-28 23:09:04 -06:00
Zanie Blue
a6d887a37e
Include Rust toolchain in cache in trampoline test job ( #11019 )
2025-01-28 14:26:07 +00:00
Zanie Blue
e8d50153d0
Update name of "Build binary" job to highlight that these are the "release" binaries ( #10990 )
...
I found this confusing since we have `build binary` jobs in regular CI
2025-01-27 11:48:38 -06:00
konsti
ad60f8da77
Use install action for cargo shear ( #10983 )
2025-01-27 18:06:17 +01:00
Zanie Blue
1ef47aa1d5
Only move the `.cargo` directory if it exists ( #10938 )
...
which it usually does... but on some runners it can be missing now?
2025-01-24 15:39:29 +00:00
Zanie Blue
98e7cd00c8
Add Windows aarch64 to the release binaries ( #10885 )
...
Following test coverage from #10540
Closes https://github.com/astral-sh/uv/issues/1141
2025-01-24 09:24:22 -06:00
Zanie Blue
0008ec69c4
Run multiple commands in ecosystem tests ( #10920 )
2025-01-24 09:18:21 -06:00
Zanie Blue
9a2d5fd358
Add ecosystem test case for `pydantic/pydantic-core` ( #10917 )
2025-01-23 17:05:13 -06:00
Zanie Blue
10654cb8c2
Fix render of matrix arch for system conda tests ( #10914 )
2025-01-23 21:31:59 +00:00
Zanie Blue
a05b0e0346
Separate musl and libc linux builds in CI ( #10830 )
...
We have a lot of jobs downstream of the `build-binary-linux` job, but
the job is significantly slower than the other binary builds because we
need to configure musl. Instead, we split this into two jobs (as it was
before https://github.com/astral-sh/uv/pull/2309#discussion_r1520101330 )
to speed things up.
The libc job takes ~1m and its _downstream_ jobs finish before the musl
build does. The musl job takes ~5m.
2025-01-23 15:19:26 -06:00
Zanie Blue
26210cc0e6
Bump cargo-dist version to 0.28.0 ( #10884 )
...
Some installer improvements; see
https://github.com/axodotdev/cargo-dist/blob/main/CHANGELOG.md#version-0280-2025-01-08
2025-01-23 10:49:53 -06:00
konsti
db4ab9dc8a
Install and remove managed Python to and from the Windows Registry (PEP 514) ( #10634 )
...
## Summary
In preview mode on windows, register und un-register the managed python build standalone installations in the Windows registry following PEP 514.
We write the values defined in the PEP plus the download URL and hash. We add an entry when installing a version, remove an entry when uninstalling and removing all values when uninstalling with `--all`. We update entries only by overwriting existing values, there is no "syncing" involved.
Since they are not official builds, pbs gets a prefix. `py -V:Astral/CPython3.13.1` works, `py -3.13` doesn't.
```
$ py --list-paths
-V:3.12 * C:\Users\Konsti\AppData\Local\Programs\Python\Python312\python.exe
-V:3.11.9 C:\Users\Konsti\.pyenv\pyenv-win\versions\3.11.9\python.exe
-V:3.11 C:\Users\micro\AppData\Local\Programs\Python\Python311\python.exe
-V:3.8 C:\Users\micro\AppData\Local\Programs\Python\Python38\python.exe
-V:Astral/CPython3.13.1 C:\Users\Konsti\AppData\Roaming\uv\data\python\cpython-3.13.1-windows-x86_64-none\python.exe
```
Registry errors are reported but not fatal, except for operations on the company key since it's not bound to any specific python interpreter.
On uninstallation, we prune registry entries that have no matching Python installation (i.e. broken entries).
The code uses the official `windows_registry` crate of the `winreg` crate.
Best reviewed commit-by-commit.
## Test Plan
We're reusing an existing system check to test different (un)installation scenarios.
2025-01-23 14:13:41 +00:00
Divyanshu Kalra
027c3f5e67
Add Windows aarch64 build and test job to CI
...
Based on discussion in https://github.com/astral-sh/uv/pull/10306 , this
adds building aarch64 exe using x86 runner. See:
https://github.com/astral-sh/uv/pull/10402#issuecomment-2579094192
Addresses: #1141
---------
Co-authored-by: Zanie Blue <contact@zanie.dev>
2025-01-22 22:38:50 -06:00
Charlie Marsh
183fe403c6
Disable `.egg-info` tests via `slow-tests` feature on Windows and macOS ( #10872 )
...
## Summary
These are super slow on Windows and it's not critical to test them on
that platform. Let's just do the lazy thing.
2025-01-22 21:39:04 +00:00
Zanie Blue
a539d33021
Update smoke test scripts to fail on first error ( #10831 )
...
These continue on failure on Windows, which is annoying.
2025-01-22 15:00:50 -06:00
Zanie Blue
fd16988a4b
Move smoke tests into dedicated jobs and build `uvx` explicitly ( #10824 )
...
In the interest of expanding these tests and debugging weird behaviors,
I've moved the smoke tests out of the `cargo test` job and into
dedicated `smoke test` jobs. We explicitly build `uvx` in the `build
binary` jobs instead of relying on the implicit build for the test run.
I also added a `uvx` test case to the smoke tests: `uvx ruff --version`
2025-01-21 16:46:12 -06:00
Zanie Blue
6a5e5b33f2
Move `cargo` to the Dev Drive in Windows CI ( #10656 )
...
This successfully changed the nextest install to target the dev drive
```
info: cargo-nextest installed at /e/.cargo/bin/cargo-nextest.exe
```
2025-01-21 12:43:54 -06:00
Zanie Blue
399086d28f
Disable the distutils setuptools shim during interpreter query ( #10819 )
...
Addresses
https://github.com/astral-sh/uv/issues/4204#issuecomment-2604983670
Original context in https://github.com/astral-sh/uv/issues/2302
2025-01-21 18:34:13 +00:00
Zanie Blue
ad2ef7331a
Add issue templates ( #10786 )
...
Demo at https://github.com/zanieb/uv/issues
I think the next steps are to
- Move the "Build failures" document to a dedicated "Troubleshooting"
section
- Add more documentation on how to create an MRE
- Add more troubleshooting pages
2025-01-21 11:25:07 -06:00
Zanie Blue
f9539d5a8e
Remove old issue template ( #10787 )
...
It is not used anymore because of the GitHub issue preview
2025-01-21 09:03:19 -06:00
Zanie Blue
581a82d370
Install Python via uv in Windows CI ( #10657 )
...
Python 3.8 is a GHA cache miss now, so it is actually like 30-45s. uv
may be faster
2025-01-21 09:02:14 -06:00
Zanie Blue
4f31b44eac
Improve log when distutils is missing ( #10713 )
...
See https://github.com/astral-sh/uv/issues/4204 for motivation
This doesn't really reach the user experience I'd expect — i.e., we end
up saying a virtual environment "does not exist" which is a little
silly. However, I think improving the error messaging on interpreter
queries in general should be solved separately. I did one small
"general" change in
89e11d0222
— otherwise we don't show the message at all.
---------
Co-authored-by: konsti <konstin@mailbox.org>
2025-01-20 17:29:29 +00:00
Zanie Blue
896435faec
Use `D:` drive for Windows CI ( #10180 )
...
When using the standard Windows runners (as opposed to the _larger_
GitHub runners), an undocumented `D:` drive is available and performant.
We can save some money on by using this on a standard runner instead of
a larger runner with an ReFS drive. Switching to the `D:` drive was not
acceptable for `cargo test` >25m runtime.
Inspired by https://github.com/pypa/pip/pull/13129
See https://github.com/actions/runner-images/issues/8755
Timings (grain of salt — GitHub is super noisy):
- clippy: 2m 18s -> 2m 11s
- build binary: 2m 3s -> 2m 35s
- trampoline check (x86-64): 2m 32s -> 1m 50s (other architectures
similar)
- trampoline test (x86-64): 4m 12s -> 6m 7s
- trampoline test (i686): 6m 44s -> 5m 35s
2025-01-17 13:57:09 -06:00
Zanie Blue
75a1a47859
Improve performance of our test drive in Windows CI ( #10651 )
...
Previously, we couldn't use a DevDrive
(https://github.com/astral-sh/uv/pull/3522#issuecomment-2111448930 )
because our Windows version was not sufficient.
Recently, I upgraded our larger runners to Windows 2025 preview
(https://github.com/astral-sh/uv/pull/10298 ) which I presume has support
for this.
I removed ReFS in
953c3535c3
which didn't seem to do anything to performance.
I also found some notes on "trusted" DevDrives and "disabling anti-virus
filtering" which I simply have to try.
2025-01-16 12:07:09 -06:00
Aria Desires
80ac8db7db
Always spawn a main2 thread to normalize main stack size issues ( #10479 )
...
Also removes UV_STACK_SIZE and uses RUST_MIN_STACK instead, tweaking
docs to reflect the differences.
Fixes #10367
2025-01-14 22:35:17 -05:00
Charlie Marsh
5bc09a1e9e
Revert "improve shell compatibility of venv activate scripts ( #10397 )" ( #10497 )
...
## Summary
This reverts commit 2f7f9ea571
(https://github.com/astral-sh/uv/pull/10397 ). We're seeing some
user-reported failures, so we need to investigate further before
re-shipping.
Re-opens https://github.com/astral-sh/uv/issues/7480 .
Closes https://github.com/astral-sh/uv/issues/10487 .
2025-01-11 09:23:07 -05:00
Zanie Blue
68bfa5b5b8
Avoid Docker rate limits by logging into DockerHub ( #10400 )
...
The latest release flaked failing to fetch the buildx image, which is
reportedly due to rate limits. Last I checked, DockerHub enforces much
stricter limits on unauthenticated requests. I added a bot account and a
corresponding read-only token.
2025-01-08 18:46:24 +00:00
Aria Desires
2f7f9ea571
improve shell compatibility of venv activate scripts ( #10397 )
...
The shellcheck action we uses misses some files, so they fell out of
spec for what we support. This PR first and foremost adds them to the
scanning list, and then fixes the issues found.
Fixes #7480
2025-01-08 13:12:29 -05:00
Zanie Blue
bbf9558b16
Rename CI runners and use Windows 2025 preview on large runners ( #10298 )
...
I'm renaming our runners to be more explicit about their size,
architecture, and version.
Switching to Windows 2025 over 2022 in some of our jobs in the hope that
it's faster.
2025-01-05 14:29:37 -06:00
Charlie Marsh
d1b1da5ac1
Upgrade cargo-dist to v0.27.0 ( #10141 )
...
## Summary
Required peer to https://github.com/astral-sh/uv/pull/10115 .
2024-12-24 08:24:14 -05:00
renovate[bot]
9d417da4e1
Update astral-sh/setup-uv action to v5 ( #10116 )
2024-12-23 08:47:58 -05:00
Zanie Blue
5e7f80ea46
Disable Depot runner for macOS ( #9976 )
...
Use GitHub instead; Depot do not provide the necessary concurrency to
use this here and in `python-build-standalone`
2024-12-17 11:20:47 -06:00
konsti
b7df5dbaf3
Avoid `liblzma-dev` system dep in uv-dev and uv-bench ( #9933 )
...
Enable `lzma-sys/static` through the performance feature not only in uv,
but in uv-dev and uv-bench too, to avoid the system dependency on
`liblzma-dev`.
Ref #9880
2024-12-17 16:12:33 +01:00
Charlie Marsh
bee54039b1
Add lzma to benchmark install ( #9888 )
2024-12-13 16:54:20 -05:00
Zanie Blue
d8f945a100
Install `liblzma-dev` in CI ( #9880 )
2024-12-13 14:10:33 -06:00
Charlie Marsh
441ed3bdcc
Remove `powerpc64le-unknown-linux-musl` target ( #9810 )
...
## Summary
This is blocking the release (#9793 ). We seem to have hit some sort of
limit that's causing builds to fail on this target. It's a Tier 3 Rust
target with _unknown_ (???) `std` support (see the question mark
[here](https://doc.rust-lang.org/rustc/platform-support.html )).
2024-12-11 09:30:50 -05:00
Zanie Blue
f7d647e81d
Test binary builds on `Cargo.lock` changes ( #9792 )
...
This would be helpful to know if the regression was caused by a
dependency update.
2024-12-10 21:13:36 -05:00
Zanie Blue
f7f300e608
Disable checkout during FreeBSD tests ( #9670 )
...
To save on that disk space and speed!
2024-12-06 08:28:08 -06:00
Zanie Blue
0805242ea2
Test `venv` in 3.13t integration test ( #9665 )
2024-12-05 20:57:08 -06:00
Zanie Blue
d7b74f964e
Fix FreeBSD test by avoiding expensive copy of the uv binary ( #9628 )
2024-12-04 05:33:10 +00:00
Zanie Blue
e311b0424d
Disable freebsd test until we resolve the upstream problem ( #9620 )
...
See
- https://github.com/acj/freebsd-firecracker/issues/1
- https://github.com/acj/freebsd-firecracker-action/issues/1
- #9619
2024-12-03 15:04:17 -06:00
Zanie Blue
b70c4f30ee
Add `Cargo.toml` to triggers for binary test builds ( #9616 )
2024-12-03 14:13:32 -06:00
konsti
0b0d0f44f8
Publish: Warn when keyring has no password ( #8827 )
...
When trying to upload without a password but with the keyring, check
that the keyring has a password for the upload URL and username and warn
if it doesn't.
Fixes #8781
2024-11-27 20:54:49 +01:00
Zanie Blue
ba94d85d36
Allow disabling (most of) CI with `no-test` label ( #9456 )
2024-11-26 17:16:08 -06:00
Jo
77116bef26
windows ci: Run `cargo clippy` in the dev drive workspace to reuse the cache ( #9411 )
...
## Summary
In the Windows Clippy job, the workspace is transferred to
`UV_WORKSPACE`. However, `cargo clippy` continues to execute in the
`github.workspace`, and `Swatinem/rust-cache` only caches the
`UV_WORKSPACE/target`, resulting in `cargo clippy` having no cache.
This adjustment will take effect when any changes are made to
`Cargo.toml` or `Cargo.lock`, prompting `Swatinem/rust-cache` to updat
the cache.
2024-11-25 15:12:43 -06:00
renovate[bot]
064fcd92af
Update astral-sh/setup-uv action to v4 ( #9407 )
2024-11-24 20:48:57 -05:00
konsti
de2e9cd0ff
Increase UV_STACK_SIZE to 3MB ( #9311 )
...
We're seeing CI failures on windows
2024-11-21 11:46:33 +00:00