Bug 2224405 - Please drop BuildRequires/Recommends for python3dist(pycrypto)
Summary: Please drop BuildRequires/Recommends for python3dist(pycrypto)
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: python-beaker
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jonathan Wright
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-20 17:07 UTC by Paul Howarth
Modified: 2023-08-16 08:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Paul Howarth 2023-07-20 17:07:08 UTC
I am the Fedora maintainer for python-crypto (pycrypto), and I am in the process of getting rid of all of the dependencies on it in Fedora because it has long been deprecated (and unmaintained) upstream and there are better alternatives available.

In the case of beaker, it seems that it can use a variety of back-ends, and there are BuildRequires for some of them and Recommends for even more. Looking at the code, it seems that pycryptopp is used in preference to pycrypto (if available) within beaker/crypto/pycrypto.py, and the other usage of pycrypto in beaker/crypto/util.py falls back to a function from hashlib in the standard library if pycrypto is unavailable.

So it looks to me that there should be no problem dropping usage of pycrypto here.

Reproducible: Always

Comment 1 Fedora Release Engineering 2023-08-16 08:13:20 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.


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