`pip install mwalib` does not work on Python 3.11
Closed this issue · 1 comments
d3v-null commented
Users will expect that they can pip install mwalib
, because it says so in the wiki , however this doesn't work with python 3.11, even though it did on python 3.10
Steps to reproduce:
- Create and activate a python3.11 virtualenv
pip install mwalib
message:
Collecting mwalib
Downloading mwalib-1.1.0.tar.gz (362 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 362.1/362.1 kB 9.0 MB/s eta 0:00:00
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Collecting setuptools
Downloading setuptools-68.2.2-py3-none-any.whl.metadata (6.3 kB)
Collecting wheel
Downloading wheel-0.41.2-py3-none-any.whl.metadata (2.2 kB)
ERROR: Could not find a version that satisfies the requirement python_version>=3.7 (from versions: 0.0.2)
ERROR: No matching distribution found for python_version>=3.7
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
I have a feeling this is something to do with these lines in pyproject.toml
[build-system]
requires = ["setuptools", "wheel", "python_version>=3.7"]
It's weird that this works fine on python3.10
gsleap commented
Just checked and I don't do a 3.11 build/release yet. But this issue will remind me to do so for next release. Cheers