-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
If using Python 3.12+ and pip 23.3.2+, func_timeout can no longer be installed.
pip --version && python --version
pip 23.3.2 from /opt/python/3.12.10/lib/python3.12/site-packages/pip (python 3.12)
Python 3.12.10pip install func-timeout
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: func-timeout
Building wheel for func-timeout (setup.py): started
Building wheel for func-timeout (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for func-timeout
Running setup.py clean for func-timeout
Failed to build func-timeout
ERROR: Could not build wheels for func-timeout, which is required to install pyproject.toml-based projectsThis can be worked around via --use-pep517, but adding the flag can be a hassle if using requirements.txt.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels