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.

Dependencies.py will not build against Python3.9

See original GitHub issue

Get this error (as promised by CPython):

  File "/python/Cython-0.29.14/Cython/Build/Dependencies.py", line 754, in create_extension_list
    elif isinstance(patterns, basestring) or not isinstance(patterns, collections.Iterable):
AttributeError: module 'collections' has no attribute 'Iterable'

To get past this I added

import collections.abc

and modified line 754 (now 755) to read: elif isinstance(patterns, basestring) or not isinstance(patterns, collections.abc.Iterable):

After these corrections, the module built against the CPython-3.9 (master branch).

FYI

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
ghostcommented, Jan 11, 2020

Is there a time frame for when this will be available to be released? Not overly familiar with how often releases are made on this project is all.

Thanks 😃

2reactions
scodercommented, Feb 10, 2020

The MacOS wheel build is currently failing. There will be a release as soon as this problem is resolved.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unmet dependencies python3.9 - apt - Ask Ubuntu
Try 'apt --fix-broken install' with no packages (or specify a solution). Conclusion: something is wrong with some Python 3.9 packages. Overview:.
Read more >
pip install is unable to build dependencies, failing at setup.py ...
The package you are trying to install does not contain a Windows binary. So pip is trying to compile it from source. But...
Read more >
Setup and Building - Python Developer's Guide
If you decide to Install dependencies, you will need to re-run both configure and make . Once CPython is done building you will...
Read more >
How to Package Python dependencies with PIP setuptools
Try a faster and easier way to manage your Python dependencies. Use Python 3.9 by ActiveState and build your own runtime with the...
Read more >
Installing scikit-learn
It will provide a stable version and pre-built packages are availabl. ... Install the 64bit version of Python 3, for instance from https://www.python.org....
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 Reddit Thread

No results found

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