question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Latest version (3.14.0) does not work with Python 3.5

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
adilmalik393commented, Jul 20, 2019

It doesn’t work with python3.7 as well.

0reactions
rmk135commented, Nov 8, 2018

Closing this issue. Please, feel free to reopen if needed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Protobuf version problem with Python · Issue #620 - GitHub
We have a Python project which depends on ortools 6.6.4656. Most of the team are on Ubuntu machines, it works fine for them....
Read more >
Python Release Python 3.5.0
Python 3.5.10, the final release of the 3.5 series, is available here. ... They will not work on Intel Itanium Processors (formerly "IA-64") ......
Read more >
Message: Unable to create new service: ChromeDriverService ...
So possibly Python 3.7.3 is still not supported and you may have to downgrade python to a relevant version. Outro. Unable to import...
Read more >
pycryptodome 3.14.0 - PyPI
It supports Python 2.7, Python 3.5 and newer, and PyPy. You can ... PyCryptodome is not a wrapper to a separate C library...
Read more >
AttributeError occured when run python 3 bootstrap.py on ...
Description of problem: AttributeError occured when run python 3 bootstrap.py on RHEL9.0 Aplha. Satellite6.9.0 Satellite 6.8.4 Satellite6.7.5 all have this ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found