Bug 1926181 - python3-cryptography-3.4.1-1.fc34 depends on rust
Summary: python3-cryptography-3.4.1-1.fc34 depends on rust
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-cryptography
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Christian Heimes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-08 12:18 UTC by Petr Pisar
Modified: 2021-02-09 09:35 UTC (History)
7 users (show)

Fixed In Version: python-cryptography-3.4.2-1.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-08 18:35:10 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github pyca cryptography issues 5778 0 None open cryptography 3.4 should not have an install_requires on setuptools_rust 2021-02-08 13:17:32 UTC

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.


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