Local dependencies are always installed in editable mode #6221
Labels
Status: Awaiting Review
This item is currently awaiting review.
Type: Regression
This issue is a regression of a previous behavior.
Issue description
When installing a package to the environment from a local path using
pipenv install .
, the package is always installed in editable modePipenv: 2024.0.1
Python: 3.12.4
Expected result
Running:
pipenv install .
should:Actual result
Running
pipenv install .
:Steps to replicate
pipenv install .
pipenv shell
pip show my_package
(with the name of the package installed)Notes
my-package = {file = ".", editable=false}
, then runningpipenv lock
andpipenv sync
does not fix the issuepipenv install -e . --verbose
gives:$ pipenv --support
Pipenv version:
'2024.0.1'
Pipenv location:
'/home/sacebell/.pyenv/versions/3.12.4/lib/python3.12/site-packages/pipenv'
Python location:
'/home/sacebell/.pyenv/versions/3.12.4/bin/python3.12'
OS Name:
'posix'
User pip version:
'24.0'
user Python installations found:
PEP 508 Information:
Pipenv–specific environment variables:
PIPENV_VENV_IN_PROJECT
:1
PIPENV_ACTIVE
:1
Contents of
Pipfile
('/home/sacebell/notebooks/trobleshoot_pipenv/Pipfile'):Contents of
Pipfile.lock
('/home/sacebell/notebooks/trobleshoot_pipenv/Pipfile.lock'):The text was updated successfully, but these errors were encountered: