Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asyncio error with python 3.7 #121

Closed
nyanloutre opened this issue Dec 4, 2018 · 1 comment
Closed

asyncio error with python 3.7 #121

nyanloutre opened this issue Dec 4, 2018 · 1 comment

Comments

@nyanloutre
Copy link

When running tests the following error is raised with Python >= 3.7

tlslite (unittest.loader._FailedTest) ... ERROR

======================================================================
ERROR: tlslite (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tlslite
Traceback (most recent call last):
  File "/nix/store/6lm4gi5iv8fbf1b1mm6g3gfnnv63f1gn-python3-3.7.1/lib/python3.7/unittest/loader.py", line 468, in _find_test_path
    package = self._get_module_from_name(name)
  File "/nix/store/6lm4gi5iv8fbf1b1mm6g3gfnnv63f1gn-python3-3.7.1/lib/python3.7/unittest/loader.py", line 375, in _get_module_from_name
    __import__(name)
  File "/build/tlslite-0.4.9/tlslite/__init__.py", line 27, in <module>
    from tlslite.api import *
  File "/build/tlslite-0.4.9/tlslite/api.py", line 11, in <module>
    from .tlsconnection import TLSConnection
  File "/build/tlslite-0.4.9/tlslite/tlsconnection.py", line 71
    async=False):
        ^
SyntaxError: invalid syntax


----------------------------------------------------------------------
Ran 1 test in 0.000s

See pypa/pipenv#956 for details

@tomato42
Copy link
Contributor

tomato42 commented Dec 4, 2018

tlslite is abandoned, please use tlslite-ng, it's a drop-in replacement

erictapen added a commit to erictapen/nixpkgs that referenced this issue Dec 10, 2018
…e-ng

tlslite has a test failure on Python 3.7 [0]. @tomato42, a commiter of
tlslite and author of tlslite-ng said, that tlslite is abandoned (last
commit 2015) and tlslite-ng should be used as a drop in replacement.

[0] trevp/tlslite#121
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants