Building dev-python/cryptography-45.0.2 fails because it needs maturin>=1.8.6. This is the build error message: >>> Preparing source in /var/tmp/portage/dev-python/cryptography-45.0.2/work/cryptography-45.0.2 ... * Build system packages: * dev-python/gpep517 : 19 * dev-python/installer : 0.7.0 * dev-python/cython : 3.0.12-r1 * dev-util/maturin : 1.8.3 >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/cryptography-45.0.2/work/cryptography-45.0.2 ... * Using python3.13 in global scope * python3_13: running distutils-r1_run_phase python_configure_all >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/cryptography-45.0.2/work/cryptography-45.0.2 ... * python3_12: running distutils-r1_run_phase distutils-r1_python_compile * Building the wheel for cryptography-45.0.2 via maturin cargo_env python3.12 -m gpep517 build-wheel --prefix=/usr --backend maturin --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/cryptography-45.0.2/work/cryptography-45.0.2-python3_12/wheel --config-json {"build-args": ["--auditwheel=skip", "--jobs=7"]} 2025-05-23 09:19:01,901 gpep517 INFO Building wheel via backend maturin Running `maturin pep517 build-wheel -i /usr/bin/python3.12 --compatibility off --auditwheel=skip --jobs=7` ⚠ Warning: You specified maturin>=1.8.6,<2 in pyproject.toml under `build-system.requires`, but the current maturin version is 1.8.3 📦 Including license file "/var/tmp/portage/dev-python/cryptography-45.0.2/work/cryptography-45.0.2/LICENSE" 📦 Including license file "/var/tmp/portage/dev-python/cryptography-45.0.2/work/cryptography-45.0.2/LICENSE.APACHE" 📦 Including license file "/var/tmp/portage/dev-python/cryptography-45.0.2/work/cryptography-45.0.2/LICENSE.BSD" 🍹 Building a mixed python/rust project 💥 maturin failed Caused by: You have selected the `abi3` feature but not a minimum version (e.g. the `abi3-py36` feature). maturin needs a minimum version feature to build abi3 wheels. Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/usr/bin/python3.12', '--compatibility', 'off', '--auditwheel=skip', '--jobs=7'] returned non-zero exit status 1 * ERROR: dev-python/cryptography-45.0.2::gentoo failed (compile phase): * Wheel build failed Reproducible: Always
Created attachment 929346 [details] emerge --info
Created attachment 929347 [details] build.log
Thanks for the report!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e858d7a1aa60174715813062bf7d7f0d3e371bcf commit e858d7a1aa60174715813062bf7d7f0d3e371bcf Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2025-05-24 07:02:00 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2025-05-24 07:02:00 +0000 dev-python/cryptography: Require >=dev-util/maturin-1.8.6 Closes: https://bugs.gentoo.org/956481 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/cryptography/cryptography-45.0.2.ebuild | 1 + 1 file changed, 1 insertion(+)