-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
feat(pip-compile): Provide credentials for registries in all input files #28959
Merged
secustor
merged 7 commits into
renovatebot:main
from
mbudnek:feat/pip-compile-private-registry-multiple-inputs
Jun 4, 2024
Merged
feat(pip-compile): Provide credentials for registries in all input files #28959
secustor
merged 7 commits into
renovatebot:main
from
mbudnek:feat/pip-compile-private-registry-multiple-inputs
Jun 4, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pip-compile can compile multiple input files into one lock file. Renovate calls the manager's `updateArtifacts` function once for each input file, but currently it only looks for private package registries in the input file currently being processed. This changes it to look for them in all of the input files.
mbudnek
changed the title
feat(pip-compile) Provide credentials for registries in all input files
feat(pip-compile): Provide credentials for registries in all input files
May 9, 2024
viceice
reviewed
May 17, 2024
viceice
reviewed
May 27, 2024
mbudnek
added a commit
to mbudnek/renovate
that referenced
this pull request
May 30, 2024
Move the matchManager function to common.ts since it will be used in artifacts.ts in renovatebot#28959
6 tasks
mbudnek
added a commit
to mbudnek/renovate
that referenced
this pull request
May 30, 2024
The pip-compile manager will need to extract flags from pip requirements files in renovatebot#28959, so move that code into a common.ts
6 tasks
viceice
approved these changes
Jun 3, 2024
@viceice Did you mean to merge this when you approved it, or is there something blocking it? |
secustor
approved these changes
Jun 4, 2024
🎉 This PR is included in version 37.389.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
mbudnek
added a commit
to mbudnek/renovate
that referenced
this pull request
Jun 6, 2024
This fixes a case I missed in renovatebot#28959 where a lock file uses another lock file as an input file. In that case, we need to treat the input lock file as a pip_requirements file so that we extract the --[extra-]index-url flags from it and pass the correct credentials to pip-compile.
6 tasks
kosmoz
pushed a commit
to kosmoz/renovate
that referenced
this pull request
Jun 12, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
Pip-compile can compile multiple input files into one lock file. Renovate calls the manager's
updateArtifacts
function once for each input file, but currently it only looks for private package registries in the input file currently being processed. This changes it to look for them in all of the input files.Context
#28958
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via: