#1150530 python-bcrypt: FTBFS: error: failed to select a version for the requirement `bcrypt-pbkdf = "^0.10.0"`

#1150530#5
Date:
2026-10-10 10:55:31 UTC
From:
To:
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/202610/

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:python-bcrypt, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
running build_ext
running build_rust
debian cargo wrapper: options = ['parallel=1'], profiles = [], parallel = ['-j1'], 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', 'metadata', '--manifest-path', 'src/_bcrypt/Cargo.toml', '--format-version', '1'],) {}
error: failed to select a version for the requirement `bcrypt-pbkdf = "^0.10.0"`
candidate versions found which didn't match: 0.11.0
location searched: directory source `/<<PKGBUILDDIR>>/debian/cargo_registry` (which is replacing registry `crates-io`)
required by package `bcrypt-rust v0.1.0 (/<<PKGBUILDDIR>>/src/_bcrypt)`
note: perhaps a crate was updated and forgotten to be re-vendored?
error: `/usr/share/cargo/bin/cargo metadata --manifest-path src/_bcrypt/Cargo.toml --format-version 1` failed with code 101
-- Output captured from stdout:


TIP pass --env-dir and --sdist-extract-dir to keep the build environment and sources, then see https://build.pypa.io/en/stable/how-to/troubleshooting.html#debug-a-failed-build for help debugging a failed build
ERROR Backend subprocess exited when trying to invoke build_wheel
E: pybuild pybuild:485: build: plugin pyproject failed with: exit code=1: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_bcrypt
dh_auto_build: error: pybuild --build -i python{version} -p 3.14 --parallel=1 returned exit code 13
make: *** [debian/rules:14: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1150530#8
Date:
2026-10-11 15:11:31 UTC
From:
To:
Hello,

Bug #1150530 in python-bcrypt reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/python-team/packages/python-bcrypt/-/commit/49606b1d3f2f55a4f6ea815f13cd4863b7fca9b1
------------------------------------------------------------------------
Accept bcrypt-pbkdf 0.11

Closes: #1150530
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1150530

#1150530#15
Date:
2026-10-11 15:35:30 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-bcrypt, 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 1150530@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 python-bcrypt 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: Sun, 11 Oct 2026 16:11:13 +0100
Source: python-bcrypt
Architecture: source
Version: 5.0.0-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Closes: 1150530
Changes:
 python-bcrypt (5.0.0-7) unstable; urgency=medium
 .
   * Team upload.
   * Accept bcrypt-pbkdf 0.11 (closes: #1150530).
Checksums-Sha1:
 6f1ade24f21e2f206674f33813963b3fda9b570b 2671 python-bcrypt_5.0.0-7.dsc
 2075c14ed8f0b23c0631f4567897b4924b3bf736 12524 python-bcrypt_5.0.0-7.debian.tar.xz
 2842be4cff3a4066ddf5519cac0f627058c28e50 72424 python-bcrypt_5.0.0-7.git.tar.xz
 2f75fd91217dbb24a3398fab40432e733bf56f2c 17748 python-bcrypt_5.0.0-7_source.buildinfo
Checksums-Sha256:
 6a48e6946304e3f9aa4e7c1a9c0a214bcf07a3ea23528808d7ce99d8d06c33c1 2671 python-bcrypt_5.0.0-7.dsc
 5e0e4e0e15d6f6903536bb3fe41eb59118b81524d2ede0ca75179d74020ff423 12524 python-bcrypt_5.0.0-7.debian.tar.xz
 8856e69d9e0be9a514e8d1a0ff28811bae02f722cc716bb64784bcc4e5241d12 72424 python-bcrypt_5.0.0-7.git.tar.xz
 295f57a61f0aaceca4a20178c780610547aebc45a433d91dc11c7fe43e845b78 17748 python-bcrypt_5.0.0-7_source.buildinfo
Files:
 5e0a04bea610856f20627e7530cc2e38 2671 python optional python-bcrypt_5.0.0-7.dsc
 77d41b6ba2903a668df0dd626230e7fd 12524 python optional python-bcrypt_5.0.0-7.debian.tar.xz
 d938f94c5acd1e97f6b37e984a4e42cc 72424 python None python-bcrypt_5.0.0-7.git.tar.xz
 1688f94593ef33f1aaaa1212c80f16c9 17748 python optional python-bcrypt_5.0.0-7_source.buildinfo
Git-Tag-Info: tag=2f92e5f1e7263f5fb9df407a2d7dafeda2764154 fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <cjwatson@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmrLp2cACgkQYG0ITkaD
wHk/tRAAud5eT+A+/qM27tpYy7YfuFf9CqjM+OVA9cwxUGn+S6lAqWjl5mf9ss57
e+JSRO1IjJzwfGmRSaGHHyeek6ShW/r8ei1wBlKYNwh6SZGnZPnB5f7oJYbsnE+S
l+UucL8IXpSTkP0ie+PnOmmt8hySZQhGIQIi3V8Rbj1Zs39/lX9FTX+katdBCfF4
fPOpfkweTbzMfK6wobFWUNexj+R/0vFzb0PNxfWNf94sq57sGNgvfESzlRFEHhyn
nnUQ/32/CztWFPl9Gjbw29Gjx2UnerwNkJWIK1DDfj0Xiuu8HuQg4sSJ46Ix8BLG
Henf72N7TySalX1rzp6VI1wnGkFtbe0CH2ZtAlkNLlscFausghfiRs03CI2dl3hr
0l1fxWv0qqzGz3kUjHbs6ir+65riyq1+EzXSiqnvlCibcowGn73mbe+V5OZeGbvg
/Ru3bXMqvTDsBOPK8e4QUK+6hLmXg0USs5sa6wSs14+qOit31Iw1kx5TJwcQBocf
l8cACO7oLgUdDSWsc+VvIGdNYqL1EOOlhUbv7A0XLDS2LGNM+glRE4/T2ZSF8Q2F
chXG75xLPVWEBaGOvbE3vV0oImQdWSt1kkYyaEzKfZ9UN8joqfJNnQkZBK+qx7RX
oMNFn18fYAKH3C5Fc0VHsfunHlr2YYRKsxfX/zqEjRwOrSs2yuE=
=nKWh
-----END PGP SIGNATURE-----