-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[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.
Comments
/sig user-experience |
A suggestion from today's tech talk is: if we enable this, do it via a (new) configuration flag. |
additional acceptance
|
22 tasks
I tested on aicoe-osc-demo repo, able to create this PR https://github.com/shreekarSS/aicoe-osc-demo/pull/8 |
/triage accepted |
/wg cnbi |
Repository owner
moved this from 🏗 In progress
to ✅ Done
in CNBi feature
Sep 27, 2022
Repository owner
moved this from 🏗 In progress
to ✅ Done
in Planning Board
Sep 27, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
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: