-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Labels
C: build logicStuff related to metadata generation / wheel generationStuff related to metadata generation / wheel generationC: editableEditable installationsEditable installationstype: bugA confirmed bug or unintended behaviorA confirmed bug or unintended behavior
Milestone
Description
Description
Context: I want to install a local package in editable mode in a way that is compatible with mypy.
If I install the package on its own via:
pip install -e /path/to/mypkg --config-settings editable_mode=strict
It works correctly.
However, if I add to my requirements.txt:
...
-e /path/to/mypkg --config-settings editable_mode=strict
...
and then pip install -r requirements.txt, it does not pick up the editable_mode setting and installs in the default way which is incompatible with mypy.
The package I am trying to install uses setup.py (no pyproject.toml).
Expected behavior
As I understand it from #11325 it should work to specify the --config-settings in my requirements.txt so I don't understand why it isn't working.
pip version
23.3.2
Python version
3.11.6
OS
MacOS
How to Reproduce
see description
Output
No response
Code of Conduct
- I agree to follow the PSF Code of Conduct.
Metadata
Metadata
Assignees
Labels
C: build logicStuff related to metadata generation / wheel generationStuff related to metadata generation / wheel generationC: editableEditable installationsEditable installationstype: bugA confirmed bug or unintended behaviorA confirmed bug or unintended behavior