Collecting git+https://github.com/HoloArchivists/twspace-dl@gooey
Cloning https://github.com/HoloArchivists/twspace-dl (to revision gooey) to /tmp/pip-req-build-p63ucyea
Running command git clone --filter=blob:none --quiet https://github.com/HoloArchivists/twspace-dl /tmp/pip-req-build-p63ucyea
Running command git checkout -b gooey --track origin/gooey
Switched to a new branch 'gooey'
branch 'gooey' set up to track 'origin/gooey'.
Resolved https://github.com/HoloArchivists/twspace-dl to commit 632bf1841f7bff88d7818352a5516b6f94a5d885
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: requests<3.0.0,>=2.26.0 in /usr/lib/python3.10/site-packages (from twspace-dl==2022.3.12.2) (2.28.2)
Collecting Gooey<2.0.0,>=1.0.8
Using cached Gooey-1.0.8.1-py2.py3-none-any.whl (680 kB)
Collecting colored>=1.3.93
Using cached colored-1.4.4.tar.gz (36 kB)
Preparing metadata (setup.py) ... done
Collecting wxpython>=4.1.0
Using cached wxPython-4.2.0.tar.gz (71.0 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-jivwe3bg/wxpython_044c96ddddfa4355a7452fc27f9e83ed/setup.py", line 27, in <module>
from buildtools.config import Config, msg, opj, runcmd, canGetSOName, getSOName
File "/tmp/pip-install-jivwe3bg/wxpython_044c96ddddfa4355a7452fc27f9e83ed/buildtools/config.py", line 30, in <module>
from attrdict import AttrDict
File "/home/drew/.local/lib/python3.10/site-packages/attrdict/__init__.py", line 5, in <module>
from attrdict.mapping import AttrMap
File "/home/drew/.local/lib/python3.10/site-packages/attrdict/mapping.py", line 4, in <module>
from collections import Mapping
ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Describe the bug
I get an error message when building with python3.10
To Reproduce
pip install git+https://github.com/HoloArchivists/twspace-dl@gooeyExpected behavior
For it to build and compile.
Output
Desktop (please complete the following information):