fedora: drop explicit anaconda-widgets - #2597
Open
supakeen wants to merge 1 commit into
Open
Conversation
We explicitly require `anaconda-widgets` but `anaconda` uses rich requires to select between `anaconda-gui` and `anaconda-webui`. `anaconda-gui` requires `anaconda-widgets` so the solver sees `anaconda-widgets` in the transaction and finds it can solve more dependencies by selecting `-gui` instead of `-webui`. Drop the explicit listing of `anaconda-widgets` to ensure rich dependency resolution works. I've applied this to all versions instead of version gating it; it's theoretically a bug to have this in the list and shouldn't affect the actual output artifacts. Signed-off-by: Simon de Vlieger <cmdr@supakeen.com>
KKoukiou
approved these changes
Aug 14, 2026
KKoukiou
added a commit
to KKoukiou/anaconda
that referenced
this pull request
Aug 14, 2026
The previous `(anaconda-webui or anaconda-gui)` fallback was non-deterministic - RPM's boolean `or` does not guarantee preference order. Image Builder was pulling anaconda-widgets (see osbuild/image-builder#2597), which is a dependency of anaconda-gui, resulting in DNF resolving the `or` in favor of anaconda-gui since it was partially satisfied. Replace the two Requires lines with a single `if...else` rich dependency: install anaconda-gui on Server and Everything (basic), anaconda-webui on everything else.
KKoukiou
added a commit
to rhinstaller/anaconda
that referenced
this pull request
Aug 14, 2026
The previous `(anaconda-webui or anaconda-gui)` fallback was non-deterministic - RPM's boolean `or` does not guarantee preference order. Image Builder was pulling anaconda-widgets (see osbuild/image-builder#2597), which is a dependency of anaconda-gui, resulting in DNF resolving the `or` in favor of anaconda-gui since it was partially satisfied. Replace the two Requires lines with a single `if...else` rich dependency: install anaconda-gui on Server and Everything (basic), anaconda-webui on everything else.
lzap
approved these changes
Aug 17, 2026
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.
We explicitly require
anaconda-widgetsbutanacondauses rich requires to select betweenanaconda-guiandanaconda-webui.anaconda-guirequiresanaconda-widgetsso the solver seesanaconda-widgetsin the transaction and finds it can solve more dependencies by selecting-guiinstead of-webui.Drop the explicit listing of
anaconda-widgetsto ensure rich dependency resolution works.I've applied this to all versions instead of version gating it; it's theoretically a bug to have this in the list and shouldn't affect the actual output artifacts.