Bug 2298404 - Regression: Python subinterpreters no longer supported
Summary: Regression: Python subinterpreters no longer supported
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-bcrypt
Version: rawhide
Hardware: aarch64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Pierre-YvesChibon
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2298403
Blocks: 2255688
TreeView+ depends on / blocked
 
Reported: 2024-07-17 06:07 UTC by Hector Martin
Modified: 2024-08-08 02:41 UTC (History)
5 users (show)

Fixed In Version: python-bcrypt-4.0.1-9.fc39 python-bcrypt-4.0.1-9.fc40
Clone Of:
Environment:
Last Closed: 2024-08-08 02:38:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Hector Martin 2024-07-17 06:07:52 UTC
python3-bcrypt started using PyO3 at some point. PyO3 does not (yet) support subinterpreters. This broke ceph-mgr, which uses python3-bcrypt with subinterpreters. This issue has been ongoing for half a year+ with no official solution from any of the upstreams involved, and in the meantime ceph-mgr is completely broken on F39, F40, and rawhide.

I have filed bug 2298403 to request unsafe subinterpreter support in rust-pyo3. It has been determined that it is safe for python3-bcrypt to bypass the check like this.

Once 2298403 is fixed, please switch that feature for python3-bcrypt (example: https://github.com/pyca/bcrypt/issues/694#issuecomment-2125562077). This will fix the python3-bcrypt regression with subinterpreters and fix Ceph.

Reproducible: Always

Comment 1 Neal Gompa 2024-07-17 12:23:19 UTC
Since this affects every version of Fedora right now, I've set this to "rawhide".

Comment 2 Hector Martin 2024-07-26 14:18:41 UTC
PRs opened to fix this :

https://src.fedoraproject.org/rpms/python-bcrypt/pull-request/11
https://src.fedoraproject.org/rpms/python-bcrypt/pull-request/12
https://src.fedoraproject.org/rpms/python-bcrypt/pull-request/13

Builds for f39/f40 should wait until tomorrow for the rust-pyo3 updates to go through (since they're a build dep of this, per changes in bug 2298403): https://bodhi.fedoraproject.org/updates/?search=rust-pyo3-0.22.2

Comment 3 Fedora Update System 2024-07-29 17:21:42 UTC
FEDORA-2024-897f32b326 (python-bcrypt-4.0.1-9.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-897f32b326

Comment 4 Fedora Update System 2024-07-29 17:34:26 UTC
FEDORA-2024-b541e61b90 (python-bcrypt-4.0.1-9.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-b541e61b90

Comment 5 Fedora Update System 2024-07-30 01:12:02 UTC
FEDORA-2024-b541e61b90 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-b541e61b90`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-b541e61b90

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2024-07-30 01:46:49 UTC
FEDORA-2024-897f32b326 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-897f32b326`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-897f32b326

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2024-08-08 02:38:57 UTC
FEDORA-2024-b541e61b90 (python-bcrypt-4.0.1-9.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2024-08-08 02:41:48 UTC
FEDORA-2024-897f32b326 (python-bcrypt-4.0.1-9.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.