You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
___________ ERROR collecting pytest_trio/_tests/test_trio_asyncio.py ___________
../../../../virtualenv/python3.5.2/lib/python3.5/site-packages/pytest_trio/_tests/test_trio_asyncio.py:2: in <module>
import trio_asyncio
../../../../virtualenv/python3.5.2/lib/python3.5/site-packages/trio_asyncio/__init__.py:6: in <module>
from .loop import * # noqa
../../../../virtualenv/python3.5.2/lib/python3.5/site-packages/trio_asyncio/loop.py:171: in <module>
_orig_run_get = _aio_event._get_running_loop
E AttributeError: module 'asyncio.events' has no attribute '_get_running_loop'
Activity
njsmith commentedon Aug 22, 2018
Though... the same test seems to pass on py 3.5.3: https://ci.appveyor.com/project/touilleMan/pytest-trio/build/1.0.122/job/grrwby5hbttmq507
The travis failures we saw were on 3.5.0 and 3.5.2. So maybe 3.5.3 is OK?
pquentin commentedon Aug 22, 2018
@njsmith The code agrees with you: 3.5.3 is OK! According to GitHub,
_get_running_loop()was added in CPython 3.5.3, and its public versionget_running_loop()was added in 3.7.0.m-u-xyz commentedon Aug 25, 2018
Documented: minimum supported version is 3.5.3
pquentin commentedon Aug 25, 2018
Thanks! Do you think this could be specified in python_requires too? https://github.com/python-trio/trio-asyncio/blob/master/setup.py#L75
m-u-xyz commentedon Aug 25, 2018
Thanks, I missed that. Uploaded (waiting for CI).