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
{{ message }}
Repository navigation
Regression from v2023.6.18 for editable package dependencies #5766
When installing a package in editable mode, pipenv does not include its transitive dependencies on version 2023.06.26, when it does on version 2023.06.18.
Interesting, I suspect this may only be an issue for when the transitive dependencies are defined in the pyproject.toml? This will require further investigation towards a fix, thanks for your report!
Initial analysis revealed that get_pyproject in requirementslib.model.utils reads that pyproject.toml but is only focused on extending out the build requirements and not the actual dependencies. It should be extended to return both sets of information and the places that utilize it. In the models.requirements dependencies property, it can then extend the setup_deps list with the dependencies -- should be the path towards resolving this one.
@justin-yan I just had a good test run for the proposed fix of this issue if you would like to try out that branch. I just pushed a unit test as well that failed on main and passed on this branch.
Activity
matteius commentedon Jun 30, 2023
Interesting, I suspect this may only be an issue for when the transitive dependencies are defined in the pyproject.toml? This will require further investigation towards a fix, thanks for your report!
matteius commentedon Jun 30, 2023
Initial analysis revealed that
get_pyprojectin requirementslib.model.utils reads that pyproject.toml but is only focused on extending out the build requirements and not the actual dependencies. It should be extended to return both sets of information and the places that utilize it. In the models.requirementsdependenciesproperty, it can then extend thesetup_depslist with the dependencies -- should be the path towards resolving this one.matteius commentedon Jul 1, 2023
@justin-yan I just had a good test run for the proposed fix of this issue if you would like to try out that branch. I just pushed a unit test as well that failed on main and passed on this branch.
justin-yan commentedon Jul 2, 2023
Just tried it out on
2023.7.2.dev0and can confirm that the issue seems to be resolved!