Hello @meejah! Today I tried to install a newer version of txtorcon (from the cloned repo with pip install -e) and I had the following issue:
File "test.py", line 3, in <module>
import txtorcon
File "/home/user/Desktop/txtorcon/txtorcon/__init__.py", line 16, in <module>
from txtorcon.controller import connect
File "/home/user/Desktop/txtorcon/txtorcon/controller.py", line 33, in <module>
from txtorcon.endpoints import TorClientEndpoint
File "/home/user/Desktop/txtorcon/txtorcon/endpoints.py", line 14, in <module>
from txtorcon.socks import TorSocksEndpoint
File "/home/user/Desktop/txtorcon/txtorcon/socks.py", line 18, in <module>
from twisted.protocols import tls
File "/home/user/Desktop/env/local/lib/python2.7/site-packages/twisted/protocols/tls.py", line 41, in <module>
from OpenSSL.SSL import Error, ZeroReturnError, WantReadError
ImportError: No module named OpenSSL.SSL
File "test.py", line 3, in <module>
import txtorcon
File "/home/user/Desktop/txtorcon/txtorcon/__init__.py", line 16, in <module>
from txtorcon.controller import connect
File "/home/user/Desktop/txtorcon/txtorcon/controller.py", line 33, in <module>
from txtorcon.endpoints import TorClientEndpoint
File "/home/user/Desktop/txtorcon/txtorcon/endpoints.py", line 14, in <module>
from txtorcon.socks import TorSocksEndpoint
File "/home/user/Desktop/txtorcon/txtorcon/socks.py", line 22, in <module>
import automat
ImportError: No module named automat
I took a look at the requirements from release-1.x: Twisted[tls] and automat are used. I updated requirements.txt and it worked. Maybe the file from 1.x should've been merged as well?
Coverage remained the same at 99.885% when pulling 93820078bf03b11e1a05cbf2cca0d888ef245442 on felipedau:fix/import-tls-automat into c88f0efae0fabb5224ce7abbcbcbe7988adac141 on meejah:master.
Hello @meejah! Today I tried to install a newer version of txtorcon (from the cloned repo with
pip install -e
) and I had the following issue:I took a look at the requirements from
release-1.x
:Twisted[tls]
andautomat
are used. I updatedrequirements.txt
and it worked. Maybe the file from1.x
should've been merged as well?Thanks!