python311Packages.uv 0 -> 1
attrpath: python311Packages.uv
Checking auto update branch...
[version]
[version] skipping because derivation has updateScript
[rustCrateVersion]
[rustCrateVersion] No cargoSha256 or cargoHash found
[golangModuleVersion]
[golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash
[npmDepsVersion]
[npmDepsVersion] No npmDepsHash
[updateScript]
[updateScript] Success
[updateScript] this derivation will be built:
/nix/store/ps784jbirpyy1ynyx2fkc72qmmcvy7wl-packages.json.drv
building '/nix/store/ps784jbirpyy1ynyx2fkc72qmmcvy7wl-packages.json.drv'...
Going to be running update for following packages:
- uv-0.2.4
Press Enter key to continue...
Running update for:
- uv-0.2.4: UPDATING ...
- uv-0.2.4: DONE.
Packages updated!
Diff after rewrites:
diff --git a/pkgs/by-name/uv/uv/Cargo.lock b/pkgs/by-name/uv/uv/Cargo.lock
index a7b1c73e7ea4..dffc5a8ceaaa 100644
--- a/pkgs/by-name/uv/uv/Cargo.lock
+++ b/pkgs/by-name/uv/uv/Cargo.lock
@@ -1711,9 +1711,9 @@ dependencies = [
[[package]]
name = "hyper-util"
-version = "0.1.3"
+version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ca38ef113da30126bbff9cd1705f9273e15d45498615d138b0c20279ac7a76aa"
+checksum = "3d8d52be92d09acc2e01dddb7fde3ad983fc6489c7db4837e605bc3fca4cb63e"
dependencies = [
"bytes",
"futures-channel",
@@ -2018,9 +2018,9 @@ dependencies = [
[[package]]
name = "libmimalloc-sys"
-version = "0.1.37"
+version = "0.1.38"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "81eb4061c0582dedea1cbc7aff2240300dd6982e0239d1c99e65c1dbf4a30ba7"
+checksum = "0e7bb23d733dfcc8af652a78b7bf232f0e967710d044732185e561e47c0336b6"
dependencies = [
"cc",
"libc",
@@ -2205,9 +2205,9 @@ dependencies = [
[[package]]
name = "mimalloc"
-version = "0.1.41"
+version = "0.1.42"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9f41a2280ded0da56c8cf898babb86e8f10651a34adcfff190ae9a1159c6908d"
+checksum = "e9186d86b79b52f4a77af65604b51225e8db1d6ee7e3f41aec1e40829c71a176"
dependencies = [
"libmimalloc-sys",
]
@@ -2300,9 +2300,9 @@ dependencies = [
[[package]]
name = "nu-ansi-term"
-version = "0.49.0"
+version = "0.50.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c073d3c1930d0751774acf49e66653acecb416c3a54c6ec095a9b11caddb5a68"
+checksum = "dd2800e1520bdc966782168a627aa5d1ad92e33b984bf7c7615d31280c83ff14"
dependencies = [
"windows-sys 0.48.0",
]
@@ -2500,7 +2500,7 @@ checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd"
[[package]]
name = "pep440_rs"
-version = "0.5.0"
+version = "0.6.0"
dependencies = [
"indoc",
"once_cell",
@@ -2514,7 +2514,7 @@ dependencies = [
[[package]]
name = "pep508_rs"
-version = "0.4.2"
+version = "0.6.0"
dependencies = [
"derivative",
"insta",
@@ -2796,7 +2796,7 @@ dependencies = [
"indoc",
"libc",
"memoffset 0.9.1",
- "parking_lot 0.12.2",
+ "parking_lot 0.11.2",
"portable-atomic",
"pyo3-build-config",
"pyo3-ffi",
@@ -3446,9 +3446,9 @@ dependencies = [
[[package]]
name = "schemars"
-version = "0.8.20"
+version = "0.8.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b0218ceea14babe24a4a5836f86ade86c1effbc198164e619194cb5069187e29"
+checksum = "09c024468a378b7e36765cd36702b7a90cc3cba11654f6685c8f233408e89e92"
dependencies = [
"dyn-clone",
"schemars_derive",
@@ -3459,9 +3459,9 @@ dependencies = [
[[package]]
name = "schemars_derive"
-version = "0.8.20"
+version = "0.8.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ed5a1ccce8ff962e31a165d41f6e2a2dd1245099dc4d594f5574a86cd90f4d3"
+checksum = "b1eee588578aff73f856ab961cd2f79e36bc45d7ded33a7562adba4667aecc0e"
dependencies = [
"proc-macro2",
"quote",
@@ -3512,18 +3512,18 @@ checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b"
[[package]]
name = "serde"
-version = "1.0.202"
+version = "1.0.203"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "226b61a0d411b2ba5ff6d7f73a476ac4f8bb900373459cd00fab8512828ba395"
+checksum = "7253ab4de971e72fb7be983802300c30b5a7f0c2e56fab8abfc6a214307c0094"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.202"
+version = "1.0.203"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6048858004bcff69094cd972ed40a32500f153bd3be9f716b2eed2e8217c4838"
+checksum = "500cbc0ebeb6f46627f50f3f5811ccf6bf00643be300b4c3eabc0ef55dc5b5ba"
dependencies = [
"proc-macro2",
"quote",
@@ -4175,7 +4175,6 @@ dependencies = [
"tokio",
"tower-layer",
"tower-service",
- "tracing",
]
[[package]]
@@ -4285,11 +4284,11 @@ dependencies = [
[[package]]
name = "tracing-tree"
-version = "0.3.0"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "65139ecd2c3f6484c3b99bc01c77afe21e95473630747c7aca525e78b0666675"
+checksum = "b56c62d2c80033cb36fae448730a2f2ef99410fe3ecbffc916681a32f6807dbe"
dependencies = [
- "nu-ansi-term 0.49.0",
+ "nu-ansi-term 0.50.0",
"tracing-core",
"tracing-log",
"tracing-subscriber",
@@ -4471,7 +4470,7 @@ checksum = "a183cf7feeba97b4dd1c0d46788634f6221d87fa961b305bed08c851829efcc0"
[[package]]
name = "uv"
-version = "0.2.4"
+version = "0.2.5"
dependencies = [
"anstream",
"anyhow",
@@ -4487,7 +4486,6 @@ dependencies = [
"filetime",
"flate2",
"fs-err",
- "indexmap",
"indicatif",
"indoc",
"insta",
@@ -4502,7 +4500,6 @@ dependencies = [
"pypi-types",
"rayon",
"regex",
- "requirements-txt",
"reqwest",
"rustc-hash",
"serde",
@@ -4869,7 +4866,6 @@ dependencies = [
"platform-tags",
"pypi-types",
"rayon",
- "requirements-txt",
"rustc-hash",
"serde",
"tempfile",
@@ -4926,8 +4922,10 @@ dependencies = [
"url",
"uv-cache",
"uv-client",
+ "uv-configuration",
"uv-extract",
"uv-fs",
+ "uv-state",
"uv-warnings",
"which",
"winapi",
@@ -4959,7 +4957,6 @@ dependencies = [
"indexmap",
"indoc",
"insta",
- "itertools 0.13.0",
"path-absolutize",
"pep440_rs",
"pep508_rs",
@@ -4967,9 +4964,11 @@ dependencies = [
"regex",
"requirements-txt",
"rustc-hash",
+ "same-file",
"schemars",
"serde",
"thiserror",
+ "tokio",
"toml",
"tracing",
"url",
@@ -5035,6 +5034,15 @@ dependencies = [
"uv-warnings",
]
+[[package]]
+name = "uv-state"
+version = "0.0.1"
+dependencies = [
+ "directories",
+ "fs-err",
+ "tempfile",
+]
+
[[package]]
name = "uv-types"
version = "0.0.1"
@@ -5056,7 +5064,7 @@ dependencies = [
[[package]]
name = "uv-version"
-version = "0.2.4"
+version = "0.2.5"
[[package]]
name = "uv-virtualenv"
diff --git a/pkgs/by-name/uv/uv/package.nix b/pkgs/by-name/uv/uv/package.nix
index 0650e2c2551b..370a46da2467 100644
--- a/pkgs/by-name/uv/uv/package.nix
+++ b/pkgs/by-name/uv/uv/package.nix
@@ -16,14 +16,14 @@
python3Packages.buildPythonApplication rec {
pname = "uv";
- version = "0.2.4";
+ version = "0.2.5";
pyproject = true;
src = fetchFromGitHub {
owner = "astral-sh";
repo = "uv";
rev = "refs/tags/${version}";
- hash = "sha256-x0uFBHfH+RXMS67y7NdikqNzXrNVv40HGVV6TVqR5NY=";
+ hash = "sha256-wWTzLyN/i7nn2/b8lX+8NDk9jU/jgaygF4i+Yb7kK8c=";
};
cargoDeps = rustPlatform.importCargoLock {
No auto update branch exists
Successfully finished processing
cachix "/nix/store/vyp0chhil98n99k4wib5ljrnlizdyb9x-uv-0.2.5"
[check][nixpkgs-review]
Result of `nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }'` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
4 packages built:
- uv (python311Packages.uv)
- uv.dist (python311Packages.uv.dist)
- python312Packages.uv
- python312Packages.uv.dist
Automatic update generated by [nixpkgs-update](https://github.com/ryantm/nixpkgs-update) tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.uv is: An extremely fast Python package installer and resolver, written in Rust
meta.homepage for python311Packages.uv is: https://github.com/astral-sh/uv
meta.changelog for python311Packages.uv is: https://github.com/astral-sh/uv/blob/refs/tags/0.2.5/CHANGELOG.md
###### Updates performed
- Ran passthru.UpdateScript
###### To inspect upstream changes
###### Impact
Checks done
---
- built on NixOS
- The tests defined in `passthru.tests`, if any, passed
- found 0.2.5 with grep in /nix/store/vyp0chhil98n99k4wib5ljrnlizdyb9x-uv-0.2.5
- found 0.2.5 in filename of file in /nix/store/vyp0chhil98n99k4wib5ljrnlizdyb9x-uv-0.2.5
---
Rebuild report (if merged into master) (click to expand)
```
4 total rebuild path(s)
4 package rebuild(s)
First fifty rebuilds by attrpath
python311Packages.uv
python312Packages.uv
uv
```
Instructions to test this update (click to expand)
---
Either **download from Cachix**:
```
nix-store -r /nix/store/vyp0chhil98n99k4wib5ljrnlizdyb9x-uv-0.2.5 \
--option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
--option trusted-public-keys '
nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
'
```
(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the `trusted-users` list or you can use `sudo` since root is effectively trusted.
Or, **build yourself**:
```
nix-build -A python311Packages.uv https://github.com/r-ryantm/nixpkgs/archive/06b1b19bcb00b36f5843f67b1a7498877db202e4.tar.gz
```
Or:
```
nix build github:r-ryantm/nixpkgs/06b1b19bcb00b36f5843f67b1a7498877db202e4#python311Packages.uv
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/vyp0chhil98n99k4wib5ljrnlizdyb9x-uv-0.2.5
ls -la /nix/store/vyp0chhil98n99k4wib5ljrnlizdyb9x-uv-0.2.5/bin
```
---
### Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as _failed to build_ independent of the
change, simply because they are already broken on the target branch.
Result of `nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }'` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
4 packages built:
- uv (python311Packages.uv)
- uv.dist (python311Packages.uv.dist)
- python312Packages.uv
- python312Packages.uv.dist
---
###### Maintainer pings
cc @GaetanLepage for [testing](https://github.com/ryantm/nixpkgs-update/blob/main/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do).
https://api.github.com/repos/NixOS/nixpkgs/pulls/316065