Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614162 - dev-python/twisted: 'soft' dep on dev-python/pycrypto
Summary: dev-python/twisted: 'soft' dep on dev-python/pycrypto
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-28 17:46 UTC by Michał Górny
Modified: 2022-03-15 08:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-03-28 17:46:05 UTC
@keyObject.setter
    @deprecated(Version('Twisted', 16, 0, 0))
    def keyObject(self, value):
        # Lazy import to have PyCrypto as a soft dependency.
        from Crypto.PublicKey import DSA, RSA


It's a deprecated API so I'm not sure how to proceed -- possibly we could just add the dep to packages using this API.