Can't install with python-3.13.14
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 52/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- python
- Ambito
- build-system
Direzione di ricerca
Reproduce the failure with Python 3.13.14 and the shown pip command, then inspect setup.py and the project’s build metadata for the pkg_resources import path. Confirm the package builds and installs successfully in that environment, while preserving installation for supported Python versions.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
I can't install this with pip (26.2 or 26.2.1) and python-3.13.14 (which is the default on openSUSE 16.0 right now).
How to Reproduce
> pip install trepan3k --user
Collecting trepan3k
Using cached trepan3k-1.5.1.tar.gz (431 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "/usr/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
~~~~^^
File "/usr/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
File "/home/delgado/tmp/pip-build-env-dsc9jv4h/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/delgado/tmp/pip-build-env-dsc9jv4h/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/home/delgado/tmp/pip-build-env-dsc9jv4h/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals()) # noqa: S102 # exec is intentional here
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 16, in <module>
ModuleNotFoundError: No module named 'pkg_resources'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
[notice] A new release of pip is available: 26.2 -> 26.2.1
[notice] To update, run: pip install --upgrade pip
ERROR: Failed to build 'trepan3k' when getting requirements to build wheel
(Same error after upgrading pip to 26.2.1)
Expected behavior
I can install it.
Environment
> python3 --version
Python 3.13.14
> which python3
/home/delgado/git/pyenv/shims/python3
> pyenv which python3
/usr/bin/python3
# So yes, pyenv is loaded, but set to use the system python3
# Something weird here?
> pip freeze --user
defusedxml==0.7.1
odfpy==1.4.1
python-dateutil==2.9.0.post0
six==1.17.0
standard-mailcap==3.13.0
visidata @ git+https://github.com/saulpw/visidata.git@bff1aa26f9351eb2d9d745679add2d6efa170915
I'm fuzzy about the state of setuptools in newer pythons. I'm using pkg_resources in my own code as well and have to resort to use an older version of setuptools for that. But that backtrace is confusing me. It looks like it happens in pip but it does not happen with any other package. Is the exec calling funny stuff from setup.py maybe?
Maybe you have an idea what I can try to get more useful information.
- Lingua principale
- Python
- Stelle
- 176
- Fork
- 17
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Trepan-Debuggers/python3-trepan
-
Volunteer wanted
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
Trepan-Debuggers/python3-trepan#54 · 4 commenti ·
-
Need information
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Trepan-Debuggers/python3-trepan#46 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
Trepan-Debuggers/python3-trepan#44 · 3 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Trepan-Debuggers/python3-trepan#14 · 1 commento · 1 reazione ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
Trepan-Debuggers/python3-trepan#13 · 1 commento ·
Tutte le issue di Trepan-Debuggers/python3-trepan
Issue simili
-
triage/confirmed
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
NousResearch/hermes-agent#118866 ·
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
apache/cloudstack#14222 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100