-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Labels
resolution: not a bugDetermined as not a bug in pipDetermined as not a bug in pip
Description
Description
When trying to install a locally created package leveraging setuptools in a setup.py file, pip errors out with the following:
pip install .
Processing <path/to/directory>
DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default.
pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555.
ERROR: No .egg-info directory found in /tmp/pip-pip-egg-info-fdrfckqj
When the suggestion is followed, the same error occurs:
pip install --use-feature=in-tree-build .
Processing <path/to/file>
ERROR: No .egg-info directory found in /tmp/pip-pip-egg-info-i6ngpawd
Expected behavior
When the --use-feature=in-tree-build flag is used, my understanding is pip should be able to build the package in place and not have to first reference /tmp.
pip version
21.2.4
Python version
3.9
OS
Debain 11 and Ubuntu 20.04
How to Reproduce
- Create any local python package and associated setup.py that uses setuptools
- Attempt to install
Reproduced on 2 machines so far
Output
No response
Code of Conduct
- I agree to follow the PSF Code of Conduct.
Metadata
Metadata
Assignees
Labels
resolution: not a bugDetermined as not a bug in pipDetermined as not a bug in pip