Skip to content

trio-asyncio v0.8.0 crashes on import on py35 #33

Closed

Description

@njsmith

Not sure whether py35 is intended to be supported or not, but noticed when testing trio-asyncio and pytest-trio together that current trio-asyncio seems to be crashing on import:

___________ 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

  1. njsmith commented on Aug 22, 2018

    @njsmith
    MemberAuthor

    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?

  2. pquentin commented on Aug 22, 2018

    @pquentin
    Member
  3. m-u-xyz commented on Aug 25, 2018

    @m-u-xyz
    Collaborator

    Documented: minimum supported version is 3.5.3

  4. pquentin commented on Aug 25, 2018

    @pquentin
    Member
  5. m-u-xyz commented on Aug 25, 2018

    @m-u-xyz
    Collaborator

    Thanks, I missed that. Uploaded (waiting for CI).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions