Skip to content

Latest version (3.14.0) does not work with Python 3.5 #208

@JeroenEntjes

Description

@JeroenEntjes

As the title says, upgrading to 3.14.0 while using Python 3.5.2 will cause the following error:

File "/Users/jeroenentjes/portal-vcn/mijnomgeving-backend/mijnomgeving/container/core.py", line 5, in <module>
    from dependency_injector import containers, providers
  File "src/dependency_injector/providers.pxd", line 10, in init dependency_injector.containers
  File "src/dependency_injector/providers.pyx", line 22, in init dependency_injector.providers
AttributeError: module 'asyncio.coroutines' has no attribute '_is_coroutine'

It does work with Python 3.6

$ python3.5 -c "from asyncio.coroutines import _is_coroutine"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: cannot import name '_is_coroutine'

$ python3.6 -c "from asyncio.coroutines import _is_coroutine; print(\"Done\")"
Done

I have not seen any requirements for Python to be at least at version 3.6

Version 3.13.2 works just fine.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions