Repository navigation
ci: Keep Copr RPMs installed when resolving test dependencies - #3103
Merged
evan-goode merged 1 commit intoDec 4, 2026
Conversation
Lock the installed Copr package versions before builddep can upgrade them to nightly builds. Look up only installed packages after applying local RPM overrides so those overrides retain precedence.
LUX-ETVERITAS
requested review from
evan-goode
and removed request for
a team
December 4, 2026 06:14
PR Summary by Qodoci: Keep Copr RPMs installed when resolving test dependencies
AI Description
Merge Risk
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can import rules and skills only from the repositories your team follows Powered by Qodo |
evan-goode
approved these changes
Dec 4, 2026
evan-goode
left a comment
Member
There was a problem hiding this comment.
Makes sense, we already use versionlock for the cmdline RPMs above. Thanks!
Merged
via the queue into
rpm-software-management:main
with commit Dec 4, 2026
8f084a0
15 checks passed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Keep the Copr RPMs selected for an integration test installed while resolving the test suite's build requirements.
In the Fedora ELN run for #3079, the container installed the PR's
dnf5-plugin-automaticfrom commit04dac52e. The subsequentdnf5 builddeptransaction replaced it with nightly858afae0before the mail delivery tests ran.Add versionlocks for the installed Copr RPMs after local RPM overrides have been applied and before running
builddep. Disable available repositories for the versionlock lookup so a Copr version already replaced by a local RPM does not get an additional lock.Tested the Dockerfile's DNF commands in isolated installroots with two local repositories. The original transaction upgraded the installed package from version 1 to version 2. With the fix it kept version 1 and installed the other build requirement. A local RPM override stayed at version 2, and a build without Copr inputs continued to upgrade normally.