Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 878333 - dev-python/twisted-22.8.0: Missing dependency on dev-python/pyopenssl >20.0.1
Summary: dev-python/twisted-22.8.0: Missing dependency on dev-python/pyopenssl >20.0.1
Status: RESOLVED FIXED
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: 2022-10-26 03:33 UTC by Luke-Jr
Modified: 2022-10-27 14:57 UTC (History)
2 users (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 Luke-Jr 2022-10-26 03:33:36 UTC
With dev-python/pyopenssl-20.0.1-r1, dev-python/twisted-22.8.0 can't be imported:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.9/syncplay", line 19, in <module>
    ep_client.main()
  File "/usr/lib/syncplay/syncplay/ep_client.py", line 8, in main
    SyncplayClientManager().run()
  File "/usr/lib/syncplay/syncplay/clientManager.py", line 10, in run
    from syncplay.client import SyncplayClient  # Imported later, so the proper reactor is installed
  File "/usr/lib/syncplay/syncplay/client.py", line 17, in <module>
    from twisted.internet.endpoints import HostnameEndpoint
  File "/usr/lib/python3.9/site-packages/twisted/internet/endpoints.py", line 67, in <module>
    from twisted.internet.ssl import (
  File "/usr/lib/python3.9/site-packages/twisted/internet/ssl.py", line 63, in <module>
    from twisted.internet import interfaces, tcp
  File "/usr/lib/python3.9/site-packages/twisted/internet/tcp.py", line 38, in <module>
    from twisted.internet._newtls import (
  File "/usr/lib/python3.9/site-packages/twisted/internet/_newtls.py", line 18, in <module>
    from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProtocol
  File "/usr/lib/python3.9/site-packages/twisted/protocols/tls.py", line 45, in <module>
    from twisted.internet._sslverify import _setAcceptableProtocols
  File "/usr/lib/python3.9/site-packages/twisted/internet/_sslverify.py", line 1828, in <module>
    defaultCiphers = OpenSSLAcceptableCiphers.fromOpenSSLCipherString(
  File "/usr/lib/python3.9/site-packages/twisted/internet/_sslverify.py", line 1807, in fromOpenSSLCipherString
    SSL.TLS_METHOD,
AttributeError: module 'OpenSSL.SSL' has no attribute 'TLS_METHOD'
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-10-27 11:40:03 UTC
I see the deps aren't in sync, I'll update them now.
Comment 2 Larry the Git Cow gentoo-dev 2022-10-27 14:57:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e376a87c69a55b465091a4acf70aea4a6e9788a0

commit e376a87c69a55b465091a4acf70aea4a6e9788a0
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-10-27 11:44:31 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-10-27 14:57:16 +0000

    dev-python/twisted: Fix dependencies
    
    Closes: https://bugs.gentoo.org/878333
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 ...sted-22.8.0.ebuild => twisted-22.8.0-r1.ebuild} | 38 ++++++++++++----------
 1 file changed, 20 insertions(+), 18 deletions(-)