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
When installing a package (A) that's located on disk and that depends on another package (B) installed on disk, the "sub-dependency" (B) is added to the Pipfile.lock without its file location properties.
Manually adding the file location to the Pipfile.lock entry for the package B fixes the issue.
Installing the library with python -m pip install works as well.
Expected result
Sub-dependency located on disk have their file location properly added to the Pipfile.lock
I tried playing with some of the options available (pyproject.toml vs setup.py, absolute paths, editable or not, etc...) and no variables seems to change the outcome.
I imagine it's sort of strange to have a file sub-dependency, we're in the midst of breaking a monolith into multiple packages and wanted to use that as an "intermediary" steps.
pip install works very well but we'd like to continue leveraging the pipenv toolchain.
With sufficient pointers/help, I could even try to fix this issue as my first contribution but I'd need to be pointed into the right functions/modules to play around with.
Issue description
When installing a package (A) that's located on disk and that depends on another package (B) installed on disk, the "sub-dependency" (B) is added to the Pipfile.lock without its file location properties.
Manually adding the file location to the Pipfile.lock entry for the package B fixes the issue.
Installing the library with
python -m pip install
works as well.Expected result
Sub-dependency located on disk have their file location properly added to the Pipfile.lock
Actual result
Pipfile.lock has the following entry:
pipenv lock --verbose
Steps to replicate
I have created a repository that has a reproduction case.
my-app-file-dep
subdirectorypipenv lock
Provide the steps to replicate (which usually at least includes the commands and the Pipfile).
Pipenv version:
'2023.12.1'
Pipenv location:
'C:\\Users\\Alex\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\pipenv'
Python location:
'C:\\Users\\Alex\\AppData\\Local\\Programs\\Python\\Python310\\python.exe'
OS Name:
'nt'
User pip version:
'23.3.2'
user Python installations found:
PEP 508 Information:
The text was updated successfully, but these errors were encountered: