Skip to content

python3Packages.setuptools-rust: fix python version inconsistency#473299

Merged
Aleksanaa merged 2 commits into
NixOS:staging-nextfrom
Aleksanaa:setuptools-rust-fix
Dec 23, 2025
Merged

python3Packages.setuptools-rust: fix python version inconsistency#473299
Aleksanaa merged 2 commits into
NixOS:staging-nextfrom
Aleksanaa:setuptools-rust-fix

python3Packages.setuptools-rust: fix python version inconsistency

9566862
Select commit
Loading
Failed to load commit list.
OfBorg / python3, python3.passthru.tests, python3Packages.setuptools-rust, python3Packages.setuptools-rust.passthru.tests on aarch64-linux completed Dec 23, 2025 in 0s

Unexpected error: command failed with exit code 1

Attempted: python3, python3.passthru.tests, python3Packages.setuptools-rust, python3Packages.setuptools-rust.passthru.tests

Details

Partial log

       >      Running `rustc --crate-name unindent --edition=2018 /build/cargo-vendor-dir/unindent-0.1.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=172f404a0b3a86ff -C extra-filename=-54f519b83d477e05 --out-dir /build/source/target/aarch64-unknown-linux-gnu/release/deps --target aarch64-unknown-linux-gnu -C linker=/nix/store/484f8q8xa48icqgdq9b67vhq8clcqjy9-gcc-wrapper-15.2.0/bin/cc -C strip=debuginfo -L dependency=/build/source/target/aarch64-unknown-linux-gnu/release/deps -L dependency=/build/source/target/release/deps --cap-lints allow -Cforce-frame-pointers=yes`
       > warning: `pyo3` (build script) generated 1 warning
       > error: could not compile `pyo3` (build script) due to 24 previous errors; 1 warning emitted
       >
       > Caused by:
       >   process didn't exit successfully: `rustc --crate-name build_script_build --edition=2018 build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="auto-initialize"' --cfg 'feature="ctor"' --cfg 'feature="default"' --cfg 'feature="extension-module"' --cfg 'feature="indoc"' --cfg 'feature="inventory"' --cfg 'feature="macros"' --cfg 'feature="paste"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py36", "abi3-py37", "abi3-py38", "abi3-py39", "auto-initialize", "ctor", "default", "extension-module", "hashbrown", "indoc", "inventory", "macros", "nightly", "num-bigint", "num-complex", "paste", "pyo3-macros", "serde", "unindent"))' -C metadata=fb437b77cbf03101 -C extra-filename=-0fc6601e689c0c0c --out-dir /build/source/target/release/build/pyo3-0fc6601e689c0c0c -C linker=/nix/store/484f8q8xa48icqgdq9b67vhq8clcqjy9-gcc-wrapper-15.2.0/bin/cc -C strip=debuginfo -L dependency=/build/source/target/release/deps` (exit status: 1)
       > warning: build failed, waiting for other jobs to finish...
       > error: `cargo rustc --lib --message-format=json-render-diagnostics --manifest-path Cargo.toml --target aarch64-unknown-linux-gnu --release -v --features pyo3/extension-module --crate-type cdylib --` failed with code 101
       For full logs, run:
         nix log /nix/store/hafljaiscwlzm0yx24fmb4nw6m5r1fnz-python3.13-word-count-0.13.2.drv