[3pt] Allow local and git package refereces in update manager #1125
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
sig/user-experience
Issues or PRs related to the User Experience of our Services, Tools, and Libraries.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Projects
Problem statement
When I use Kebechet's update manager, which uses
pipenv
to resolve dependencies, it refuses to invokepipenv lock
if myPipfile
contains references to local paths or pointers to git.For example, see AICoE/sefkhet-abwy#192 where Kebechet says:
This is a bit frustrating, because
pipenv
would actually handle these.Continuing the example above, the sefkhet-abwy repository's
Pipfile
contains a git referenced package. Butpipenv lock
works:High-level Goals
As the update manager effectively uses
pipenv lock
to update dependencies, the goal of this request is to let the manager run in scenarios wherepipenv lock
runs.Proposal description
Do not block execution of
pipenv
resolution.Alternatives
The alternative of leaving the restriction (no git, no local) in place is consistent with the requirements of the thoth-advise manager.
However, as
pipenv
itself does not impose the restrictions that thoth advise does, the current behaviour makes it inconsistent withpipenv
.Additional context
I did a quick search on when the check for git references was introduced, and AFAICT this was added in #820 to address thoth-station/support#20
Acceptance Criteria
Pipfile
orrequirements.txt
wherepipenv lock
does, without additional restrictionsThe text was updated successfully, but these errors were encountered: