Bug 1952024

Summary: Simplify packaging of python-cryptography
Product: [Fedora] Fedora Reporter: Christian Heimes <cheimes>
Component: python-cryptographyAssignee: Christian Heimes <cheimes>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: cheimes, jeremy, mhroncok, nick, npmccallum, terrycwk1994
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-11 08:41:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christian Heimes 2021-04-21 11:15:32 UTC
Description of problem:
python-cryptography builds depend on python-cryptography-vectors package. The package provides test vectors for cryptography's test suite. The vectors package must be kept in sync with the cryptography package.

This hard dependency makes updates of cryptography slow, complicated, and tedious. I have to request a side-tag for every Fedora version, build the vectors package first, wait 10 to 30 minutes until its available in buildroot, then build the actual package. It's even more annoying for RHEL.

I would like to get rid of the external python-cryptography-vectors package and add the vectors to the python-cryptography source package.

- upstream has vectors in the same git as the main package
- the packages are only split on PyPI and Fedora
- python3-cryptography-vectors is only used as build dependency of python-cryptography source package

Miro and I discussed the issue. He suggested that I can simply use the source tarball from Github. I also propose to drop the -vectors package.

Version-Release number of selected component (if applicable):
python-cryptography-3.4.6-1