Bug 2313795 - Please branch and build python-bcrypt for EPEL 10
Summary: Please branch and build python-bcrypt for EPEL 10
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-bcrypt
Version: epel10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2324158 (view as bug list)
Depends On: 2316989 2334079 2334080
Blocks: EPELPackagersSIG 2321338 2311291 2321094
TreeView+ depends on / blocked
 
Reported: 2024-09-20 15:17 UTC by Paul Howarth
Modified: 2025-01-05 00:27 UTC (History)
8 users (show)

Fixed In Version: python-bcrypt-4.2.1-1.el10_0
Clone Of:
Environment:
Last Closed: 2025-01-05 00:27:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHEL-66224 0 None None None 2024-11-09 23:00:44 UTC

Description Paul Howarth 2024-09-20 15:17:53 UTC
This is needed for python-paramiko.

Comment 1 Orion Poplawski 2024-11-09 23:00:45 UTC
Rawhide fails to build with:

No matching package to install: 'python3dist(setuptools-rust)'

This has been requested to be added to CRB here: https://issues.redhat.com/browse/RHEL-66224

Comment 2 Kevin Fenzi 2024-11-09 23:06:18 UTC
*** Bug 2324158 has been marked as a duplicate of this bug. ***

Comment 3 Romain Geissler 2024-12-25 15:20:46 UTC
When trying to build it right now, it goes further, with new missing dependencies:

 Problem 1: nothing provides requested (crate(base64/default) >= 0.21.5 with crate(base64/default) < 0.22.0~)
 Problem 2: nothing provides requested (crate(bcrypt-pbkdf/default) >= 0.10.0 with crate(bcrypt-pbkdf/default) < 0.11.0~)
 Problem 3: nothing provides requested (crate(bcrypt/default) >= 0.15.0 with crate(bcrypt/default) < 0.16.0~)
 Problem 4: nothing provides requested (crate(pyo3/abi3) >= 0.20.0 with crate(pyo3/abi3) < 0.21.0~)
 Problem 5: nothing provides requested (crate(pyo3/default) >= 0.20.0 with crate(pyo3/default) < 0.21.0~)
 Problem 6: nothing provides requested (crate(pyo3/extension-module) >= 0.20.0 with crate(pyo3/extension-module) < 0.21.0~)

At least some of them (pyo3) are already present with a more recent version in EPEL 10, and Fabio advised me in other tickets requesting old compat version to try to upgrade the rust dependencies rather than asking old versions.

Comment 4 Romain Geissler 2024-12-25 16:09:35 UTC
I am able to locally build a python-bcrypt with this command:

[root@03df2990fcb9 rust-bcrypt-pbkdf]# mock --chain --root centos-stream+epel-10-x86_64 ../rust-blowfish/rust-blowfish-0.9.1-4.el10_0.src.rpm ../rust-bcrypt/rust-bcrypt-0.16.0-1.el10_0.src.rpm ../rust-bcrypt-pbkdf/rust-bcrypt-pbkdf-0.10.0-2.el10_0.src.rpm ../python-bcrypt/python-bcrypt-4.2.1-1.el10_0.src.rpm

It requires some dependencies, the update of rust-bcrypt to version 0.16 and python-bcrypt to version 4.2.1 which aren't done yet in Fedora rawhide (see https://bugzilla.redhat.com/show_bug.cgi?id=2279037).

I will already add explicit depend bug on the rust-bcrypt & rust-bcrypt-pbkdf epel 10 requests.

Comment 5 Romain Geissler 2024-12-25 22:16:02 UTC
If rust-bcrypt 0.15 is used as in the recent update https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-22f47b5ec0 then here are the missing dependencies in EPEL 10:

 Problem 1: nothing provides requested (crate(base64/default) >= 0.21.5 with crate(base64/default) < 0.22.0~)
 Problem 2: nothing provides requested (crate(pyo3/abi3) >= 0.20.0 with crate(pyo3/abi3) < 0.21.0~)
 Problem 3: nothing provides requested (crate(pyo3/default) >= 0.20.0 with crate(pyo3/default) < 0.21.0~)
 Problem 4: nothing provides requested (crate(pyo3/extension-module) >= 0.20.0 with crate(pyo3/extension-module) < 0.21.0~)

If we upgrade to rust-bcrypt 0.16 and python-bcrypt 4.2.1, then there are no missing dependencies. I let the maintainers which is the better way (update sources), or backport the rust dependencies upgrade. The pyo3 upgrade was done upstream here: https://github.com/pyca/bcrypt/pull/760, here: https://github.com/pyca/bcrypt/pull/822 and here: https://github.com/pyca/bcrypt/commit/8ea3ef80b0ec485ff034d8993ed5f8664c531299 and the base64 upgrade was done here: https://github.com/pyca/bcrypt/commit/439df35fd415778f7b31d2c7add62fa7da66e2aa

Comment 6 Romain Geissler 2025-01-01 09:45:09 UTC
With https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-de1475b17b being now in testing, and the current rawhide branch which has been recently upgraded to the latest version, it now builds fine in EPEL 10.

Comment 7 Fedora Update System 2025-01-03 04:49:15 UTC
FEDORA-EPEL-2025-586058d617 (python-bcrypt-4.2.1-1.el10_0) has been submitted as an update to Fedora EPEL 10.0.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-586058d617

Comment 8 Fedora Update System 2025-01-04 03:19:38 UTC
FEDORA-EPEL-2025-586058d617 has been pushed to the Fedora EPEL 10.0 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-586058d617

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

Comment 9 Fedora Update System 2025-01-05 00:27:54 UTC
FEDORA-EPEL-2025-586058d617 (python-bcrypt-4.2.1-1.el10_0) has been pushed to the Fedora EPEL 10.0 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.