#1108905 FTBFS: error: failed to select a version for the requirement `itertools = "^0.10"`

Package:
ruff
Source:
ruff
Description:
Fast linter for Python, written in Rust
Submitter:
Luke Yasuda
Date:
2026-09-07 14:25:03 UTC
Severity:
normal
Tags:
#1108905#5
Date:
2025-07-07 13:42:33 UTC
From:
To:
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

#1108905#10
Date:
2026-09-07 14:22:33 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
ruff, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1108905@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Maximiliano Curia <maxy@debian.org> (supplier of updated ruff package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 07 Sep 2026 15:52:00 +0200
Source: ruff
Architecture: source
Version: 0.0.291+dfsg1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Maximiliano Curia <maxy@debian.org>
Closes: 1074734 1108905
Changes:
 ruff (0.0.291+dfsg1-5) unstable; urgency=medium
 .
   * Team upload. (Closes: #1074734, #1108905)
   * Update relax patches
   * Add more relax patches
   * Add upstream patch for rust 1.76 support
   * Add patch to support rustc-hash 2.0 API
   * Add upstrem patch for quick-junit XmlString
   * Add patch to support libcst 1.8 non-exhaustive match
   * Add patch to support annotate-snippets 0.12 API
   * Update build dependencies
Checksums-Sha1:
 754aa506f25a3894824e2942dc965d9497c4b28a 3549 ruff_0.0.291+dfsg1-5.dsc
 0304e3af34866b06139db17ab877b5eee4a53e7e 14332 ruff_0.0.291+dfsg1-5.debian.tar.xz
 e3fd81225a8f14c4e4c4d494014a877cf2f06c2d 8459 ruff_0.0.291+dfsg1-5_source.buildinfo
Checksums-Sha256:
 0b82bbb47c25ca4b1c7daddcdd8f649d0d68568d553eccf1dd473976de82ab72 3549 ruff_0.0.291+dfsg1-5.dsc
 45177fa2e16a48774f5b634172fb7c857d11f6ceac467ba11e6a33e70e3067d3 14332 ruff_0.0.291+dfsg1-5.debian.tar.xz
 c165529bf1c26b1290b7aed05a793bb98e54c8b67f1c0db04fcaa1d4d817ba42 8459 ruff_0.0.291+dfsg1-5_source.buildinfo
Files:
 2a37df4fec22d286dc4fca6db8fcde3d 3549 python optional ruff_0.0.291+dfsg1-5.dsc
 31992027fa0a4a4e90f340f4df32bf62 14332 python optional ruff_0.0.291+dfsg1-5.debian.tar.xz
 8b9cff3dc10114eed589f87ea17ea295 8459 python optional ruff_0.0.291+dfsg1-5_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE+JIdOnQEyG4RNSIVxxl2mbKbIyoFAmqewqAACgkQxxl2mbKb
IypOpg/+Kw6ESpu3sUtFXobLBfatR4lWpmQ8hc94p21ObxBiY0uFlQ6iCbX2CeaY
BljniTLVnTw0J/iHB4Kw/vTXL+OPZbqd8ONDr766C5umnJOoGXJkshoMoLl2Grtv
evOCqxL1qHd6evI2iip3mJKwEkx8A0anzUc4LSCEMvqKpEO4esEGfYzb7lbRost5
cPS+jIKVY1U8Jh49/KTiRg8c3bkCjIEsC6QeR6ja2bDpgOmENLrT3nvDagckgSwi
KR5QkYbMuQdgy8uSehku86sXBUaFSuwtSA6HfZNLsRoJ1g7z6hvyblXsbAlQL+TK
wnAbrbaJvBE2hrOpIWgEYFk51dVt6OlKnCSUyEYuoy7FsIniWkN8LSgSqKvEHHp2
ydLLVRAoesyFAObsOaIwq3VOKtLogFXvkrDepEQe1pVJ0BNYF+MOyZtJBuAcuQ9X
N9xW7s7hS1YwdRAXfokyxyCfNZb63XZXtBlZW6BSK/HW4KNBoKYJxqQdbj1+lZCl
gQPmIS5rgvCHZWM8tv9a918AEQndqgazlraEvocsoS3pZf/h9jv/jr+eR4xy2Dc5
RsfNXYK1kRkz3SwLBkU6jlERIWD/3Xuh+LM/UtXRQKL6HWPc2hTtFWlbRgZvRhi4
6ZFEaV120ySTkdIg5eh35/JembfF1GGl3ycpQu/c8H16OVZQnPM=
=Gw0r
-----END PGP SIGNATURE-----