Package Details: python-trollius 2.2-1

Git Clone URL: https://aur.archlinux.org/python-trollius.git (read-only)
Package Base: python-trollius
Description: Port of the Tulip project (asyncio module, PEP 3156)
Upstream URL: https://github.com/haypo/trollius
Licenses: Apache
Submitter: anthraxx
Maintainer: anthraxx
Last Packager: anthraxx
Votes: 8
Popularity: 0.000006
First Submitted: 2015-02-27 00:55
Last Updated: 2018-03-15 01:25

Required by (0)

Sources (1)

Latest Comments

karcher commented on 2019-03-28 13:17

I'm getting these errors during installation:

================================================ test session starts ================================================
platform linux -- Python 3.7.2, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
rootdir: /home/user/.cache/yay/python-trollius/src/trollius-trollius-2.2, inifile:
collected 0 items / 19 errors                                                                                       

====================================================== ERRORS =======================================================
______________________________________ ERROR collecting tests/test_asyncio.py _______________________________________
/usr/lib/python3.7/site-packages/_pytest/python.py:499: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3.7/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:983: in _find_and_load
    ???
<frozen importlib._bootstrap>:967: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:668: in _load_unlocked
    ???
<frozen importlib._bootstrap>:638: in _load_backward_compatible
    ???
/usr/lib/python3.7/site-packages/_pytest/assertion/rewrite.py:296: in load_module
    six.exec_(co, mod.__dict__)
tests/test_asyncio.py:1: in <module>
    from trollius import test_utils
trollius/__init__.py:21: in <module>
    from .base_events import *
trollius/base_events.py:42: in <module>
    from . import tasks
E     File "/home/user/.cache/yay/python-trollius/src/trollius-trollius-2.2/trollius/tasks.py", line 565
E       def async(coro_or_future, loop=None):
E               ^
E   SyntaxError: invalid syntax
____________________________________ ERROR collecting tests/test_base_events.py _____________________________________
/usr/lib/python3.7/site-packages/_pytest/python.py:499: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3.7/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:983: in _find_and_load
    ???
<frozen importlib._bootstrap>:967: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:668: in _load_unlocked
    ???
<frozen importlib._bootstrap>:638: in _load_backward_compatible
    ???
/usr/lib/python3.7/site-packages/_pytest/assertion/rewrite.py:296: in load_module
    six.exec_(co, mod.__dict__)
tests/test_base_events.py:11: in <module>
    import trollius as asyncio
trollius/__init__.py:21: in <module>
    from .base_events import *
trollius/base_events.py:42: in <module>
    from . import tasks
E     File "/home/user/.cache/yay/python-trollius/src/trollius-trollius-2.2/trollius/tasks.py", line 565
E       def async(coro_or_future, loop=None):
E               ^
E   SyntaxError: invalid syntax
_______________________________________ ERROR collecting tests/test_events.py _______________________________________
/usr/lib/python3.7/site-packages/_pytest/python.py:499: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3.7/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:983: in _find_and_load
    ???
<frozen importlib._bootstrap>:967: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:668: in _load_unlocked
    ???
<frozen importlib._bootstrap>:638: in _load_backward_compatible
    ???
/usr/lib/python3.7/site-packages/_pytest/assertion/rewrite.py:296: in load_module
    six.exec_(co, mod.__dict__)
tests/test_events.py:29: in <module>
    from trollius import Return, From
trollius/__init__.py:21: in <module>
    from .base_events import *
trollius/base_events.py:42: in <module>
    from . import tasks
E     File "/home/user/.cache/yay/python-trollius/src/trollius-trollius-2.2/trollius/tasks.py", line 565
E       def async(coro_or_future, loop=None):
E               ^
E   SyntaxError: invalid syntax
______________________________________ ERROR collecting tests/test_futures.py _______________________________________
/usr/lib/python3.7/site-packages/_pytest/python.py:499: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3.7/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:983: in _find_and_load
    ???
<frozen importlib._bootstrap>:967: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:668: in _load_unlocked
    ???
<frozen importlib._bootstrap>:638: in _load_backward_compatible
    ???
/usr/lib/python3.7/site-packages/_pytest/assertion/rewrite.py:296: in load_module
    six.exec_(co, mod.__dict__)
tests/test_futures.py:12: in <module>
    import trollius as asyncio
trollius/__init__.py:21: in <module>
    from .base_events import *
trollius/base_events.py:42: in <module>
    from . import tasks
E     File "/home/user/.cache/yay/python-trollius/src/trollius-trollius-2.2/trollius/tasks.py", line 565
E       def async(coro_or_future, loop=None):
E               ^
E   SyntaxError: invalid syntax
_______________________________________ ERROR collecting tests/test_locks.py ________________________________________
/usr/lib/python3.7/site-packages/_pytest/python.py:499: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3.7/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:983: in _find_and_load
    ???
<frozen importlib._bootstrap>:967: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:668: in _load_unlocked
    ???
<frozen importlib._bootstrap>:638: in _load_backward_compatible
    ???
/usr/lib/python3.7/site-packages/_pytest/assertion/rewrite.py:296: in load_module
    six.exec_(co, mod.__dict__)
tests/test_locks.py:5: in <module>
    import trollius as asyncio
trollius/__init__.py:21: in <module>
    from .base_events import *
trollius/base_events.py:42: in <module>
    from . import tasks
E     File "/home/user/.cache/yay/python-trollius/src/trollius-trollius-2.2/trollius/tasks.py", line 565
E       def async(coro_or_future, loop=None):
E               ^
E   SyntaxError: invalid syntax
__________________________________ ERROR collecting tests/test_proactor_events.py ___________________________________
/usr/lib/python3.7/site-packages/_pytest/python.py:499: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3.7/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:983: in _find_and_load
    ???
<frozen importlib._bootstrap>:967: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:668: in _load_unlocked
    ???
<frozen importlib._bootstrap>:638: in _load_backward_compatible
    ???
/usr/lib/python3.7/site-packages/_pytest/assertion/rewrite.py:296: in load_module
    six.exec_(co, mod.__dict__)
tests/test_proactor_events.py:5: in <module>
    from trollius import test_utils
trollius/__init__.py:21: in <module>
    from .base_events import *
trollius/base_events.py:42: in <module>
    from . import tasks
E     File "/home/user/.cache/yay/python-trollius/src/trollius-trollius-2.2/trollius/tasks.py", line 565
E       def async(coro_or_future, loop=None):
E               ^
E   SyntaxError: invalid syntax
_______________________________________ ERROR collecting tests/test_queues.py _______________________________________
/usr/lib/python3.7/site-packages/_pytest/python.py:499: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3.7/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:983: in _find_and_load
    ???
<frozen importlib._bootstrap>:967: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:668: in _load_unlocked
    ???
<frozen importlib._bootstrap>:638: in _load_backward_compatible
    ???
/usr/lib/python3.7/site-packages/_pytest/assertion/rewrite.py:296: in load_module
    six.exec_(co, mod.__dict__)
tests/test_queues.py:3: in <module>
    import trollius as asyncio
trollius/__init__.py:21: in <module>
    from .base_events import *
trollius/base_events.py:42: in <module>
    from . import tasks
E     File "/home/user/.cache/yay/python-trollius/src/trollius-trollius-2.2/trollius/tasks.py", line 565
E       def async(coro_or_future, loop=None):
E               ^
E   SyntaxError: invalid syntax
__________________________________ ERROR collecting tests/test_selector_events.py ___________________________________
/usr/lib/python3.7/site-packages/_pytest/python.py:499: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3.7/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:983: in _find_and_load
    ???
<frozen importlib._bootstrap>:967: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:668: in _load_unlocked
    ???
<frozen importlib._bootstrap>:638: in _load_backward_compatible
    ???
/usr/lib/python3.7/site-packages/_pytest/assertion/rewrite.py:296: in load_module
    six.exec_(co, mod.__dict__)
tests/test_selector_events.py:11: in <module>
    from trollius.py3_ssl import SSLWantReadError, SSLWantWriteError
trollius/__init__.py:21: in <module>
    from .base_events import *
trollius/base_events.py:42: in <module>
    from . import tasks
E     File "/home/user/.cache/yay/python-trollius/src/trollius-trollius-2.2/trollius/tasks.py", line 565
E       def async(coro_or_future, loop=None):
E               ^
E   SyntaxError: invalid syntax
_____________________________________ ERROR collecting tests/test_selectors.py ______________________________________
/usr/lib/python3.7/site-packages/_pytest/python.py:499: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3.7/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:983: in _find_and_load
    ???
<frozen importlib._bootstrap>:967: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:668: in _load_unlocked
    ???
<frozen importlib._bootstrap>:638: in _load_backward_compatible
    ???
/usr/lib/python3.7/site-packages/_pytest/assertion/rewrite.py:296: in load_module
    six.exec_(co, mod.__dict__)
tests/test_selectors.py:12: in <module>
    from trollius import selectors
trollius/__init__.py:21: in <module>
    from .base_events import *
trollius/base_events.py:42: in <module>
    from . import tasks
E     File "/home/user/.cache/yay/python-trollius/src/trollius-trollius-2.2/trollius/tasks.py", line 565
E       def async(coro_or_future, loop=None):
E               ^
E   SyntaxError: invalid syntax
______________________________________ ERROR collecting tests/test_sslproto.py ______________________________________
/usr/lib/python3.7/site-packages/_pytest/python.py:499: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3.7/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:983: in _find_and_load
    ???
<frozen importlib._bootstrap>:967: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:668: in _load_unlocked
    ???
<frozen importlib._bootstrap>:638: in _load_backward_compatible
    ???
/usr/lib/python3.7/site-packages/_pytest/assertion/rewrite.py:296: in load_module
    six.exec_(co, mod.__dict__)
tests/test_sslproto.py:8: in <module>
    import trollius as asyncio
trollius/__init__.py:21: in <module>
    from .base_events import *
trollius/base_events.py:42: in <module>
    from . import tasks
E     File "/home/user/.cache/yay/python-trollius/src/trollius-trollius-2.2/trollius/tasks.py", line 565
E       def async(coro_or_future, loop=None):
E               ^
E   SyntaxError: invalid syntax
______________________________________ ERROR collecting tests/test_streams.py _______________________________________
/usr/lib/python3.7/site-packages/_pytest/python.py:499: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3.7/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:983: in _find_and_load
    ???
<frozen importlib._bootstrap>:967: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:668: in _load_unlocked
    ???
<frozen importlib._bootstrap>:638: in _load_backward_compatible
    ???
/usr/lib/python3.7/site-packages/_pytest/assertion/rewrite.py:296: in load_module
    six.exec_(co, mod.__dict__)
tests/test_streams.py:14: in <module>
    import trollius as asyncio
trollius/__init__.py:21: in <module>
    from .base_events import *
trollius/base_events.py:42: in <module>
    from . import tasks
E     File "/home/user/.cache/yay/python-trollius/src/trollius-trollius-2.2/trollius/tasks.py", line 565
E       def async(coro_or_future, loop=None):
E               ^
E   SyntaxError: invalid syntax
_____________________________________ ERROR collecting tests/test_subprocess.py _____________________________________
/usr/lib/python3.7/site-packages/_pytest/python.py:499: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3.7/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:983: in _find_and_load
    ???
<frozen importlib._bootstrap>:967: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:668: in _load_unlocked
    ???
<frozen importlib._bootstrap>:638: in _load_backward_compatible
    ???
/usr/lib/python3.7/site-packages/_pytest/assertion/rewrite.py:296: in load_module
    six.exec_(co, mod.__dict__)
tests/test_subprocess.py:1: in <module>
    from trollius import subprocess
trollius/__init__.py:21: in <module>
    from .base_events import *
trollius/base_events.py:42: in <module>
    from . import tasks
E     File "/home/user/.cache/yay/python-trollius/src/trollius-trollius-2.2/trollius/tasks.py", line 565
E       def async(coro_or_future, loop=None):
E               ^
E   SyntaxError: invalid syntax
_______________________________________ ERROR collecting tests/test_tasks.py ________________________________________
/usr/lib/python3.7/site-packages/_pytest/python.py:499: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3.7/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
E     File "/home/user/.cache/yay/python-trollius/src/trollius-trollius-2.2/tests/test_tasks.py", line 160
E       self.assertIs(f, asyncio.async(f))
E                                    ^
E   SyntaxError: invalid syntax
_____________________________________ ERROR collecting tests/test_transports.py _____________________________________
/usr/lib/python3.7/site-packages/_pytest/python.py:499: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3.7/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:983: in _find_and_load
    ???
<frozen importlib._bootstrap>:967: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:668: in _load_unlocked
    ???
<frozen importlib._bootstrap>:638: in _load_backward_compatible
    ???
/usr/lib/python3.7/site-packages/_pytest/assertion/rewrite.py:296: in load_module
    six.exec_(co, mod.__dict__)
tests/test_transports.py:3: in <module>
    import trollius as asyncio
trollius/__init__.py:21: in <module>
    from .base_events import *
trollius/base_events.py:42: in <module>
    from . import tasks
E     File "/home/user/.cache/yay/python-trollius/src/trollius-trollius-2.2/trollius/tasks.py", line 565
E       def async(coro_or_future, loop=None):
E               ^
E   SyntaxError: invalid syntax
____________________________________ ERROR collecting tests/test_unix_events.py _____________________________________
/usr/lib/python3.7/site-packages/_pytest/python.py:499: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3.7/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:983: in _find_and_load
    ???
<frozen importlib._bootstrap>:967: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:668: in _load_unlocked
    ???
<frozen importlib._bootstrap>:638: in _load_backward_compatible
    ???
/usr/lib/python3.7/site-packages/_pytest/assertion/rewrite.py:296: in load_module
    six.exec_(co, mod.__dict__)
tests/test_unix_events.py:14: in <module>
    from trollius.test_utils import unittest
trollius/__init__.py:21: in <module>
    from .base_events import *
trollius/base_events.py:42: in <module>
    from . import tasks
E     File "/home/user/.cache/yay/python-trollius/src/trollius-trollius-2.2/trollius/tasks.py", line 565
E       def async(coro_or_future, loop=None):
E               ^
E   SyntaxError: invalid syntax
___________________________________ ERROR collecting tests/test_windows_events.py ___________________________________
/usr/lib/python3.7/site-packages/_pytest/python.py:499: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3.7/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:983: in _find_and_load
    ???
<frozen importlib._bootstrap>:967: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:668: in _load_unlocked
    ???
<frozen importlib._bootstrap>:638: in _load_backward_compatible
    ???
/usr/lib/python3.7/site-packages/_pytest/assertion/rewrite.py:296: in load_module
    six.exec_(co, mod.__dict__)
tests/test_windows_events.py:3: in <module>
    from trollius.test_utils import unittest
trollius/__init__.py:21: in <module>
    from .base_events import *
trollius/base_events.py:42: in <module>
    from . import tasks
E     File "/home/user/.cache/yay/python-trollius/src/trollius-trollius-2.2/trollius/tasks.py", line 565
E       def async(coro_or_future, loop=None):
E               ^
E   SyntaxError: invalid syntax
___________________________________ ERROR collecting tests/test_windows_utils.py ____________________________________
/usr/lib/python3.7/site-packages/_pytest/python.py:499: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3.7/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:983: in _find_and_load
    ???
<frozen importlib._bootstrap>:967: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:668: in _load_unlocked
    ???
<frozen importlib._bootstrap>:638: in _load_backward_compatible
    ???
/usr/lib/python3.7/site-packages/_pytest/assertion/rewrite.py:296: in load_module
    six.exec_(co, mod.__dict__)
tests/test_windows_utils.py:6: in <module>
    from trollius.test_utils import unittest
trollius/__init__.py:21: in <module>
    from .base_events import *
trollius/base_events.py:42: in <module>
    from . import tasks
E     File "/home/user/.cache/yay/python-trollius/src/trollius-trollius-2.2/trollius/tasks.py", line 565
E       def async(coro_or_future, loop=None):
E               ^
E   SyntaxError: invalid syntax
_____________________________________ ERROR collecting trollius/test_support.py _____________________________________
/usr/lib/python3.7/site-packages/_pytest/python.py:499: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3.7/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
trollius/__init__.py:21: in <module>
    from .base_events import *
trollius/base_events.py:42: in <module>
    from . import tasks
E     File "/home/user/.cache/yay/python-trollius/src/trollius-trollius-2.2/trollius/tasks.py", line 565
E       def async(coro_or_future, loop=None):
E               ^
E   SyntaxError: invalid syntax
______________________________________ ERROR collecting trollius/test_utils.py ______________________________________
/usr/lib/python3.7/site-packages/_pytest/python.py:499: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3.7/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
trollius/__init__.py:21: in <module>
    from .base_events import *
trollius/base_events.py:42: in <module>
    from . import tasks
E     File "/home/user/.cache/yay/python-trollius/src/trollius-trollius-2.2/trollius/tasks.py", line 565
E       def async(coro_or_future, loop=None):
E               ^
E   SyntaxError: invalid syntax
================================================= warnings summary ==================================================
trollius/selectors.py:9
  /home/user/.cache/yay/python-trollius/src/trollius-trollius-2.2/trollius/selectors.py:9: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    from collections import namedtuple, Mapping

-- Docs: https://docs.pytest.org/en/latest/warnings.html
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 19 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
======================================= 1 warnings, 19 error in 3.34 seconds ========================================
==> ERROR: A failure occurred in check().
    Aborting...
Error making: python-trollius

ogasser commented on 2017-09-01 16:33

makepkg fails when performing the tests:

ERROR: test_step_future (test_asyncio.AsyncioTests)