pipenv sync needs to be called twice to install all VCS dependencies #3327
Labels
Category: Dependency Resolution
Issue relates to dependency resolution.
Category: VCS
Relates to version control system dependencies.
Type: Regression
This issue is a regression of a previous behavior.
Type: Release Blocker
Must be resolved before the next release can be cut.
Issue description
I have a project that uses few dependencies that I install from a private Gitlab instance.
Project A requires Library X in its setup.py and mentions it solely by name.
Project B requires Project A.
The Pipfile of Project B contains and editable VCS dependency to Project A and Library X. When running
pipenv sync
for the first time, the installation fails because Pipenv tries to resolve the dependencies from setup.py using pypi. After I executepipenv sync
the second time, everything is installed as expected.This problem does not occur, when I run
pipenv sync --sequential
Expected result
VCS dependencies get resolved and installed.
Actual result
Not all VCS dependencies get resolved and installed.
Excerpt from
pipenv sync --verbose
:Steps to replicate
$ pipenv --rm
$ pipenv sync
$ pipenv sync
Sorry in advance for not pasting my Pipfile and the output of pipenv --support. Both contain quite a lot of auth-tokens that I don't want to share and I am affraid to accidentally miss when redacting the output.
I might be able to recreate the problem with a few minimal github-repositories tomorrow.
The text was updated successfully, but these errors were encountered: