Package: ruff
Version: 0.0.291+dfsg1-4
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Hello,

This package fails to build from source, which is different from #1074734:


dh binary --with python3 --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/ruff-0.0.291+dfsg1'
mv Cargo.lock Cargo.lock.bak || true
dh_auto_build
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" 
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir 
/build/reproducible-path/ruff-0.0.291+dfsg1/.pybuild/cpython3_3.13
* Building wheel...
Running `maturin pep517 build-wheel -i /usr/bin/python3.13 --compatibility off`
error: failed to select a version for the requirement `itertools = "^0.10"`
candidate versions found which didn't match: 0.13.0
location searched: directory source `/usr/share/cargo/registry` (which is 
replacing registry `crates-io`)
required by package `flake8-to-ruff v0.0.291 
(/build/reproducible-path/ruff-0.0.291+dfsg1/crates/flake8_to_ruff)`
perhaps a crate was updated and forgotten to be re-vendored?
💥 maturin failed
  Caused by: Cargo metadata failed. Does your crate compile with `cargo build`?
  Caused by: `cargo metadata` exited with an error: 
Error: command ['maturin', 'pep517', 'build-wheel', '-i', 
'/usr/bin/python3.13', '--compatibility', 'off'] returned non-zero exit status 1

ERROR Backend subprocess exited when trying to invoke build_wheel
E: pybuild pybuild:389: build: plugin pyproject failed with: exit code=1: 
python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir 
/build/reproducible-path/ruff-0.0.291+dfsg1/.pybuild/cpython3_3.13  
dh_auto_build: error: pybuild --build -i python{version} -p 3.13 returned exit 
code 13
make[1]: *** [debian/rules:14: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/ruff-0.0.291+dfsg1'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



-- System Information:
Debian Release: 13.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.33+deb13-amd64 (SMP w/128 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to