Bug 1926181

Summary: python3-cryptography-3.4.1-1.fc34 depends on rust
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: python-cryptographyAssignee: Christian Heimes <cheimes>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cheimes, itamar, jeremy, mhroncok, nick, npmccallum, terrycwk1994
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-cryptography-3.4.2-1.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-08 18:35:10 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 Petr Pisar 2021-02-08 12:18:20 UTC
After upgrading python3-cryptography to 3.4.1-1.fc34.x86_64 rust, cargo etc. got installed into my system. I think the dependency is excessive.

I think it's because of this Requires:

$ rpm -q --requires python3-cryptography |grep rust
python3.9dist(setuptools-rust) >= 0.11.4

Comment 1 Christian Heimes 2021-02-08 13:13:35 UTC
Yeah, that's a bug. It looks like it's a bogus auto-generated dependency that comes from cryptography's setup.py:

    setup_requirements = ["cffi>=1.12", "setuptools-rust>=0.11.4"]


    setup(
        ...
        install_requires=setup_requirements,
        setup_requires=setup_requirements,
    )

I'll talk to upstream.

Comment 2 Fedora Update System 2021-02-08 18:35:10 UTC
FEDORA-2021-0aa7abd5ef has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 3 Petr Pisar 2021-02-09 09:35:52 UTC
Thank you for the prompt fix. I confirm that the dependency has gone.