uv 0 -> 1 attrpath: 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/bpd9x90vzwwmhgikg1r7l8mkh7cv5zy8-packages.json.drv building '/nix/store/bpd9x90vzwwmhgikg1r7l8mkh7cv5zy8-packages.json.drv'... Going to be running update for following packages: - uv-0.1.24 Press Enter key to continue... Running update for: - uv-0.1.24: UPDATING ... - uv-0.1.24: 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 35b14d51a7a1..f9fc7aeb6035 100644 --- a/pkgs/by-name/uv/uv/Cargo.lock +++ b/pkgs/by-name/uv/uv/Cargo.lock @@ -213,22 +213,11 @@ dependencies = [ "tokio", ] -[[package]] -name = "async-recursion" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fd55a5ba1179988837d24ab4c7cc8ed6efdeff578ede0416b4225a5fca35bd0" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.52", -] - [[package]] name = "async-trait" -version = "0.1.78" +version = "0.1.79" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "461abc97219de0eaaf81fe3ef974a540158f3d079c2ab200f891f1a2ef201e85" +checksum = "a507401cad91ec6a857ed5513a2073c82a9b9048762b885bb98655b306964681" dependencies = [ "proc-macro2", "quote", @@ -526,9 +515,9 @@ dependencies = [ [[package]] name = "cargo-util" -version = "0.2.9" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74862c3c6e53a1c1f8f0178f9d38ab41e49746cd3a7cafc239b3d0248fd4e342" +checksum = "9f2d9a9a8d3e0b61b1110c49ab8f6ed7a76ce4f2b1d53ae48a83152d3d5e8f5b" dependencies = [ "anyhow", "core-foundation", @@ -587,9 +576,9 @@ dependencies = [ [[package]] name = "chrono" -version = "0.4.35" +version = "0.4.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8eaf5903dcbc0a39312feb77df2ff4c76387d591b9fc7b04a238dcf8bb62639a" +checksum = "8a0d04d43504c61aa6c7531f1871dd0d418d91130162063b789da00fd7057a5e" dependencies = [ "android-tzdata", "iana-time-zone", @@ -629,9 +618,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.3" +version = "4.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "949626d00e063efc93b6dca932419ceb5432f99769911c0b995f7e884c778813" +checksum = "90bc066a67923782aa8515dbaea16946c5bcc5addbd668bb80af688e53e548a0" dependencies = [ "clap_builder", "clap_derive", @@ -692,9 +681,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.3" +version = "4.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90239a040c80f5e14809ca132ddc4176ab33d5e17e49691793296e3fcb34d72f" +checksum = "528131438037fd55894f62d6e9f068b8f45ac57ffa77517819645d10aed04f64" dependencies = [ "heck 0.5.0", "proc-macro2", @@ -2444,7 +2433,6 @@ version = "0.5.0" dependencies = [ "indoc", "once_cell", - "pubgrub", "pyo3", "rkyv", "serde", @@ -2663,7 +2651,7 @@ dependencies = [ [[package]] name = "pubgrub" version = "0.2.1" -source = "git+https://github.com/astral-sh/pubgrub?rev=e981e4dfe315582e84e2fd724832fb0e0c50b7aa#e981e4dfe315582e84e2fd724832fb0e0c50b7aa" +source = "git+https://github.com/astral-sh/pubgrub?rev=c26e485213e39582c6f2e4d45c0328422670e7a7#c26e485213e39582c6f2e4d45c0328422670e7a7" dependencies = [ "indexmap", "log", @@ -2751,6 +2739,7 @@ name = "pypi-types" version = "0.0.1" dependencies = [ "chrono", + "indexmap", "mailparse", "once_cell", "pep440_rs", @@ -2759,24 +2748,12 @@ dependencies = [ "rkyv", "serde", "thiserror", + "toml", "tracing", "url", "uv-normalize", ] -[[package]] -name = "pyproject-toml" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b80f889b6d413c3f8963a2c7db03f95dd6e1d85e1074137cb2013ea2faa8898" -dependencies = [ - "indexmap", - "pep440_rs", - "pep508_rs", - "serde", - "toml", -] - [[package]] name = "quote" version = "1.0.35" @@ -2962,7 +2939,6 @@ version = "0.0.1" dependencies = [ "anyhow", "assert_fs", - "async-recursion", "fs-err", "indoc", "insta", @@ -2981,6 +2957,7 @@ dependencies = [ "uv-client", "uv-fs", "uv-normalize", + "uv-types", "uv-warnings", ] @@ -4306,7 +4283,7 @@ checksum = "a183cf7feeba97b4dd1c0d46788634f6221d87fa961b305bed08c851829efcc0" [[package]] name = "uv" -version = "0.1.24" +version = "0.1.27" dependencies = [ "anstream", "anyhow", @@ -4337,6 +4314,7 @@ dependencies = [ "regex", "requirements-txt", "reqwest", + "rustc-hash", "serde", "serde_json", "tempfile", @@ -4361,7 +4339,7 @@ dependencies = [ "uv-normalize", "uv-requirements", "uv-resolver", - "uv-traits", + "uv-types", "uv-virtualenv", "uv-warnings", ] @@ -4411,7 +4389,7 @@ dependencies = [ "tracing", "uv-fs", "uv-interpreter", - "uv-traits", + "uv-types", "uv-virtualenv", ] @@ -4504,14 +4482,12 @@ dependencies = [ "fs-err", "futures", "indicatif", - "install-wheel-rs", "itertools 0.12.1", "mimalloc", "owo-colors", "pep440_rs", "pep508_rs", "petgraph", - "platform-tags", "poloto", "resvg", "rustc-hash", @@ -4528,12 +4504,11 @@ dependencies = [ "uv-cache", "uv-client", "uv-dispatch", - "uv-distribution", "uv-installer", "uv-interpreter", "uv-normalize", "uv-resolver", - "uv-traits", + "uv-types", "walkdir", ] @@ -4553,8 +4528,9 @@ dependencies = [ "uv-client", "uv-installer", "uv-interpreter", + "uv-requirements", "uv-resolver", - "uv-traits", + "uv-types", ] [[package]] @@ -4569,6 +4545,7 @@ dependencies = [ "futures", "install-wheel-rs", "nanoid", + "once_cell", "pep440_rs", "pep508_rs", "platform-tags", @@ -4590,7 +4567,7 @@ dependencies = [ "uv-fs", "uv-git", "uv-normalize", - "uv-traits", + "uv-types", "zip", ] @@ -4666,7 +4643,6 @@ dependencies = [ "pep508_rs", "platform-tags", "pypi-types", - "pyproject-toml", "rayon", "requirements-txt", "rustc-hash", @@ -4684,7 +4660,7 @@ dependencies = [ "uv-fs", "uv-interpreter", "uv-normalize", - "uv-traits", + "uv-types", "uv-warnings", "walkdir", ] @@ -4733,6 +4709,7 @@ name = "uv-requirements" version = "0.1.0" dependencies = [ "anyhow", + "cache-key", "configparser", "console", "ctrlc", @@ -4743,18 +4720,19 @@ dependencies = [ "indexmap", "pep508_rs", "pypi-types", - "pyproject-toml", "requirements-txt", "rustc-hash", "serde", + "thiserror", "toml", "tracing", + "url", "uv-client", "uv-distribution", "uv-fs", "uv-normalize", "uv-resolver", - "uv-traits", + "uv-types", "uv-warnings", ] @@ -4798,18 +4776,20 @@ dependencies = [ "uv-distribution", "uv-interpreter", "uv-normalize", - "uv-traits", + "uv-types", "uv-warnings", ] [[package]] -name = "uv-traits" +name = "uv-types" version = "0.0.1" dependencies = [ "anyhow", "distribution-types", + "itertools 0.12.1", "once-map", "pep508_rs", + "rustc-hash", "serde", "serde_json", "uv-cache", @@ -4819,7 +4799,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.1.24" +version = "0.1.27" [[package]] name = "uv-virtualenv" diff --git a/pkgs/by-name/uv/uv/package.nix b/pkgs/by-name/uv/uv/package.nix index 025f5851ec1b..39ab3414e948 100644 --- a/pkgs/by-name/uv/uv/package.nix +++ b/pkgs/by-name/uv/uv/package.nix @@ -12,20 +12,20 @@ rustPlatform.buildRustPackage rec { pname = "uv"; - version = "0.1.24"; + version = "0.1.27"; src = fetchFromGitHub { owner = "astral-sh"; repo = "uv"; rev = version; - hash = "sha256-XsBTfe2+J5CGdjYZjhgxiP20OA7+VTCvD9JniLOjhKs="; + hash = "sha256-8x7Les8XHCaqlxc8yWBf9XEkRTGIhmRzqYT5KlvBUoc="; }; cargoLock = { lockFile = ./Cargo.lock; outputHashes = { "async_zip-0.0.16" = "sha256-M94ceTCtyQc1AtPXYrVGplShQhItqZZa/x5qLiL+gs0="; - "pubgrub-0.2.1" = "sha256-SdgxoJ37cs+XwWRCFX4uKhJ9Juu9R/jENb6tzUMam4k="; + "pubgrub-0.2.1" = "sha256-sqC7R2mtqymYFULDW0wSbM/MKCZc8rP7Yy/gaQpjYEI="; }; }; No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/cydbsmqkxk30didm1rlz8ffk5wfa9gva-nix-2.18.2/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A uv nix build failed. got build log for 'uv' from 'daemon' @nix { "action": "setPhase", "phase": "unpackPhase" } Running phase: unpackPhase unpacking source archive /nix/store/vrcx8n81db8ifisy6d0ax7f2zmz2vizp-source source root is source Executing cargoSetupPostUnpackHook Finished cargoSetupPostUnpackHook @nix { "action": "setPhase", "phase": "patchPhase" } Running phase: patchPhase Executing cargoSetupPostPatchHook Validating consistency between /build/source/Cargo.lock and /build/cargo-vendor-dir/Cargo.lock Finished cargoSetupPostPatchHook @nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } Running phase: updateAutotoolsGnuConfigScriptsPhase @nix { "action": "setPhase", "phase": "configurePhase" } Running phase: configurePhase @nix { "action": "setPhase", "phase": "buildPhase" } Running phase: buildPhase Executing cargoBuildHook ++ env CC_X86_64_UNKNOWN_LINUX_GNU=/nix/store/ac1hb5dc2z4biwgy8mjrhlifffkkrvdq-gcc-wrapper-13.2.0/bin/cc CXX_X86_64_UNKNOWN_LINUX_GNU=/nix/store/ac1hb5dc2z4biwgy8mjrhlifffkkrvdq-gcc-wrapper-13.2.0/bin/c++ CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=/nix/store/ac1hb5dc2z4biwgy8mjrhlifffkkrvdq-gcc-wrapper-13.2.0/bin/cc CC_X86_64_UNKNOWN_LINUX_GNU=/nix/store/ac1hb5dc2z4biwgy8mjrhlifffkkrvdq-gcc-wrapper-13.2.0/bin/cc CXX_X86_64_UNKNOWN_LINUX_GNU=/nix/store/ac1hb5dc2z4biwgy8mjrhlifffkkrvdq-gcc-wrapper-13.2.0/bin/c++ CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=/nix/store/ac1hb5dc2z4biwgy8mjrhlifffkkrvdq-gcc-wrapper-13.2.0/bin/cc CARGO_BUILD_TARGET=x86_64-unknown-linux-gnu HOST_CC=/nix/store/ac1hb5dc2z4biwgy8mjrhlifffkkrvdq-gcc-wrapper-13.2.0/bin/cc HOST_CXX=/nix/store/ac1hb5dc2z4biwgy8mjrhlifffkkrvdq-gcc-wrapper-13.2.0/bin/c++ cargo build -j 24 --target x86_64-unknown-linux-gnu --frozen --profile release --package uv error: package `platform-tags v0.0.1 (/build/source/crates/platform-tags)` cannot be built because it requires rustc 1.77 or newer, while the currently active rustc version is 1.76.0