Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 956481 - dev-python/cryptography-45.0.2 fails to build with dev-util/maturin-1.8.3
Summary: dev-python/cryptography-45.0.2 fails to build with dev-util/maturin-1.8.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-23 07:37 UTC by Timo Ollech
Modified: 2025-05-24 07:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge--info.txt,9.89 KB, text/plain)
2025-05-23 07:38 UTC, Timo Ollech
Details
build.log (build.log,9.21 KB, text/x-log)
2025-05-23 07:40 UTC, Timo Ollech
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Ollech 2025-05-23 07:37:21 UTC
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
Comment 1 Timo Ollech 2025-05-23 07:38:03 UTC
Created attachment 929346 [details]
emerge --info
Comment 2 Timo Ollech 2025-05-23 07:40:06 UTC
Created attachment 929347 [details]
build.log
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2025-05-24 07:01:16 UTC
Thanks for the report!
Comment 4 Larry the Git Cow gentoo-dev 2025-05-24 07:02:29 UTC
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(+)