#1143691 pydantic-core: FTBFS: error: failed to select a version for the requirement `strum = "^0.26"` #1143691
- Package:
- src:pydantic-core
- Source:
- src:pydantic-core
- Submitter:
- Santiago Vila
- Date:
- 2026-08-05 12:35:02 UTC
- Severity:
- normal
- Tags:
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202608/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:pydantic-core, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild debian/rules override_dh_auto_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' test ! -f pydantic-core/Cargo.lock.saved || \ mv pydantic-core/Cargo.lock.saved pydantic-core/Cargo.lock dh_auto_clean --sourcedir=pydantic-core make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild debian/rules override_dh_auto_configure make[1]: Entering directory '/<<PKGBUILDDIR>>' cargo prepare-debian debian/cargo_registry --link-from-system debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = ['-j2'], lto = debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = x86_64-linux-gnu debian cargo wrapper: linking /usr/share/cargo/registry/* into /<<PKGBUILDDIR>>/debian/cargo_registry/ dh_auto_configure --sourcedir=pydantic-core make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules override_dh_auto_build make[1]: Entering directory '/<<PKGBUILDDIR>>' mv pydantic-core/Cargo.lock pydantic-core/Cargo.lock.saved cd pydantic-core && cargo generate-lockfile --offline debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = ['-j2'], lto = debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = x86_64-linux-gnu debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', 'generate-lockfile', '--offline'],) {} error: failed to select a version for the requirement `strum = "^0.26"` candidate versions found which didn't match: 0.28.0 location searched: directory source `/<<PKGBUILDDIR>>/debian/cargo_registry` (which is replacing registry `crates-io`) required by package `pydantic-core v2.46.4 (/<<PKGBUILDDIR>>/pydantic-core)` perhaps a crate was updated and forgotten to be re-vendored? As a reminder, you're using offline mode (--offline) which can sometimes cause surprising resolution failures, if this error is too confusing you may wish to retry without `--offline`. make[1]: *** [debian/rules:31: override_dh_auto_build] Error 101 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:18: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------
We believe that the bug you reported is fixed in the latest version of pydantic-core, 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 1143691@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Colin Watson <cjwatson@debian.org> (supplier of updated pydantic-core 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: Wed, 05 Aug 2026 13:00:11 +0100 Source: pydantic-core Architecture: source Version: 2.46.4-3 Distribution: unstable Urgency: medium Maintainer: Debian Python Team <team+python@tracker.debian.org> Changed-By: Colin Watson <cjwatson@debian.org> Closes: 1143691 Changes: pydantic-core (2.46.4-3) unstable; urgency=medium . * Accept strum 0.28 (closes: #1143691). Checksums-Sha1: c4f8c27205f1efda909290b88aa6417bc99e1063 4149 pydantic-core_2.46.4-3.dsc 2f6905aed75ccb659e5b95ba2737e792f8a4cfcd 6596 pydantic-core_2.46.4-3.debian.tar.xz c240a5d9dfbf2d267c9792e488c9e0973d810d66 845716 pydantic-core_2.46.4-3.git.tar.xz a2b346933a45ea38adc4b4136cf3da4256d851e7 17580 pydantic-core_2.46.4-3_source.buildinfo Checksums-Sha256: 0484c1c816f2585fc32184a38a12a91ace721dfb77f3f5c411872ff6d60fb89a 4149 pydantic-core_2.46.4-3.dsc 5198ab7f3341d3ca2c77fd46e8bae5b743524008dc34177a6762dd59326825ad 6596 pydantic-core_2.46.4-3.debian.tar.xz 49b87bf065c049dc92fecfcb89318bd92f53f8a1a9f741341a8c924451a731b7 845716 pydantic-core_2.46.4-3.git.tar.xz b85559e0a0782a408ad56feb70962084d1f56d536aeb30dd1ebb3ee43b06e891 17580 pydantic-core_2.46.4-3_source.buildinfo Files: 69f7de8f91ca80335cf4e796fc85ebfe 4149 python optional pydantic-core_2.46.4-3.dsc 7eb995cee19bc275331ad9d4beb13725 6596 python optional pydantic-core_2.46.4-3.debian.tar.xz 8e13dd014948cd5ac453df836c38be45 845716 python None pydantic-core_2.46.4-3.git.tar.xz 7f1bc164a7fc781947db69f920a00824 17580 python optional pydantic-core_2.46.4-3_source.buildinfo Git-Tag-Info: tag=802cc513579266b587faaaeab0503adefbdd8782 fp=ac0a4ff12611b6fccf01c111393587d97d86500b Git-Tag-Tagger: Colin Watson <cjwatson@debian.org> -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmpzKQgACgkQYG0ITkaD wHmFGxAA2g/9e51zfJHOFwR+/PoG2ejglA1kkda3hsnEWmd8uBCDjwctpPz4F8kg c5DL47M/iiGeDuHlTGzDGBgDbV6H4TMzZkws+nhCUlizbSsKoLN/YfLKmMT5plWm XV3lOPR8FaHYroAuazmXeAhfEWl/jgzTKKR70B0yAPvxFsC39U5gXCS8fwUe/xa8 ibAi5+s9F0KhUiV7jF/B5NfYIwHqFtYRvnMohIk0qwJ0lxYkqN0UsrEUVQu/xttb RvovpTi5ZKhV/euNeaQtIsrbtmDuuZOWl2wZe0yvIdbgiCp1iAAWsz3pzfw4cXlq IA7gUISTteqUcz4ywW0pZ9J53L9pyBK3zht20cCvjV4o2OslPbe5HSraXBu8KJsl vpNNLQB1NH7lvlOe4NL66IBWUacddwe5d+brRhDDn1C3ljr3HoQ4Hy+gaCic1sCu VuUgbSP724rvvaKJBDhepOqvTKlkLcZBnQOiyuElSYPTsJEjK5nZmL3eZGXgpgI4 8qMacq3uo4rdlfjWPgzlnzunTC5dDkkBcPXxuJiJXQs4FpZSi7taxsq7/zkhf/wF uXTaDFXwdsDoao6NA2ZYJpuIsd2lMa5wU/rnhDzmOj5WAg9mUjJDiZCsR5M063x2 cyl9Ox86JUQGI9fPjodHLde+yeZSlhTfh0RKjsvBQxX0VxRrByE= =V5vd -----END PGP SIGNATURE-----