harvimt / quamash

Implementation of the PEP 3156 event-loop (asyncio) api using the Qt Event-Loop
BSD 2-Clause "Simplified" License
265 stars 46 forks source link

Module 'collections' has no attribute 'Mapping' #133

Closed adamesalles closed 2 years ago

adamesalles commented 2 years ago

When trying to install the aur package on Arch, I get this error during build():

Traceback (most recent call last):
  File "/home/adame/.cache/paru/clone/python-quamash/src/Quamash-0.6.1/setup.py", line 2, in <module>
    import quamash
  File "/home/adame/.cache/paru/clone/python-quamash/src/Quamash-0.6.1/quamash/__init__.py", line 594, in <module>
    from ._unix import _SelectorEventLoop
  File "/home/adame/.cache/paru/clone/python-quamash/src/Quamash-0.6.1/quamash/_unix.py", line 44, in <module>
    class _SelectorMapping(collections.Mapping):
AttributeError: module 'collections' has no attribute 'Mapping'

This can be an issue related to Python's version. I may inspect this in the future.

harvimt commented 2 years ago

This is fixed in the master branch, but not in PyPI.

Updated versions will not be uploaded to PyPI until the automated tests pass. PRs accepted.