You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't reference . or -e . in install_requires/extras_require in setup.py/setup.cfg. I get the following error:
subprocess.CalledProcessError: Command '['.venv/bin/python3.9', '.venv/lib/python3.9/site-packages/pep517/in_process/_in_process.py', 'get_requires_for_build_wheel', '/tmp/tmptqvo2r5o']' returned non-zero exit status 1.
I believe my workflow is not that unorthodox:
I list all of my direct, unpinned dependencies in setup.cfg - I put regular requirements in install_requires and dev requirements in extras_require/dev
I then run pip-compile and pip-compile --extra dev --output-file dev-requirements.txt which freezes requirements.
I need to install setup.py as well as I have console scripts defined in there. If I was using requirements.in or dev-requirements.in, I would just add . and -e . respectively. I figured I should be able to do the same from install_requires/extras_require but I cannot.
I'm not sure if this is a bug or feature request.
The text was updated successfully, but these errors were encountered:
using . or -e . in install_requires/extras_require is
intentionally not supported by setuptools
not at all a part of pip-tools - the error you see is from setuptools itself as the local package cant be built
as feature request it could perhaps be sensible to include a way to add a extra requirement as the feature was added in #1363
the feature should have a extra flag to ensure a editable/install action is added to the requirement itself
I can't reference
.
or-e .
in install_requires/extras_require in setup.py/setup.cfg. I get the following error:subprocess.CalledProcessError: Command '['.venv/bin/python3.9', '.venv/lib/python3.9/site-packages/pep517/in_process/_in_process.py', 'get_requires_for_build_wheel', '/tmp/tmptqvo2r5o']' returned non-zero exit status 1.
I believe my workflow is not that unorthodox:
pip-compile
andpip-compile --extra dev --output-file dev-requirements.txt
which freezes requirements..
and-e .
respectively. I figured I should be able to do the same from install_requires/extras_require but I cannot.I'm not sure if this is a bug or feature request.
The text was updated successfully, but these errors were encountered: