The current version of genshi has an implicit dependency on setuptools. Attempting to install without setuptools installed results in the following error:
~ $ pip install --no-deps git+https://github.com/edgewall/genshi
Collecting git+https://github.com/edgewall/genshi
Cloning https://github.com/edgewall/genshi to /private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-req-build-jjcd99o0
Running command git clone --filter=blob:none --quiet https://github.com/edgewall/genshi /private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-req-build-jjcd99o0
Resolved https://github.com/edgewall/genshi to commit eb113c455bf4c002fc9b1e1821ce58c8c9b10275
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
ERROR: Can not execute `setup.py` since setuptools is not available in the build environment.
[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.
One may work around the issue by passing --use-pep517=true or setting PIP_USE_PEP517=true.
Instead, genshi should declare its build dependencies and backends using pep517 and pep518.
The current version of genshi has an implicit dependency on setuptools. Attempting to install without setuptools installed results in the following error:
One may work around the issue by passing
--use-pep517=true
or settingPIP_USE_PEP517=true
.Instead, genshi should declare its build dependencies and backends using pep517 and pep518.