Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not build with python3.10 #88

Open
WhitleyStriber opened this issue Feb 24, 2023 · 1 comment
Open

Does not build with python3.10 #88

WhitleyStriber opened this issue Feb 24, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@WhitleyStriber
Copy link

Describe the bug
I get an error message when building with python3.10

To Reproduce
pip install git+https://github.com/HoloArchivists/twspace-dl@gooey

Expected behavior
For it to build and compile.

Output


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.

Desktop (please complete the following information):

  • OS: Gentoo
  • Version 17.1
  • Installation method: pip
@WhitleyStriber WhitleyStriber added the bug Something isn't working label Feb 24, 2023
@Ryu1845
Copy link
Collaborator

Ryu1845 commented Feb 24, 2023

This will still need to be fixed but, just in case you didn't know, the @gooey is for building the GUI, for the CLI you can just remove it. (I'm telling you because someone else didn't understand at first)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants