Skip to content

Add Fedora 43 to test CI, drop Fedora 40 - #70082

Merged
dwoz merged 2 commits into
saltstack:3006.xfrom
twangboy:fedora43
Aug 26, 2026
Merged

dwoz merged 2 commits into
saltstack:3006.xfrom
twangboy:fedora43

Conversation

@twangboy

Copy link
Copy Markdown
Contributor

What does this PR do?

Bump the fedora test slug in cicd/shared-gh-workflows-context.yml from fedora-40 to fedora-43, per Fedora's OS support policy. Update test_get_yum_config to key off "reposdir" instead of "installonly_limit", since newer Fedora/RHEL yum configs no longer carry installonly_limit by default.

Note: requires a fedora-43 image in
ghcr.io/saltstack/salt-ci-containers/testing (tracked separately in saltstack/salt-ci-containers).

What issues does this PR fix or reference?

Fixes #67182

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

@twangboy twangboy added this to the Sulphur v3006.28 milestone Aug 18, 2026
@twangboy twangboy self-assigned this Aug 18, 2026
@twangboy
twangboy requested a review from a team as a code owner August 18, 2026 18:13
@twangboy twangboy added the test:full Run the full test suite label Aug 18, 2026
@twangboy

Copy link
Copy Markdown
Contributor Author

Blocked until we get the CI Containers Fedora container built

Bump the fedora test slug in cicd/shared-gh-workflows-context.yml from
fedora-40 to fedora-43, per Fedora's OS support policy. Update
test_get_yum_config to key off "reposdir" instead of
"installonly_limit", since newer Fedora/RHEL yum configs no longer
carry installonly_limit by default.

Note: requires a fedora-43 image in
ghcr.io/saltstack/salt-ci-containers/testing (tracked separately in
saltstack/salt-ci-containers).

Fixes saltstack#67182
yumpkg.group_info() builds a different CLI invocation for dnf5
("group", "info", name as three tokens) than for legacy yum/dnf
("groupinfo", name), but the test hardcoded the legacy form. On the
new fedora-43 CI runner (which has a real dnf5 binary, so
yumpkg._yum() resolves to "dnf5"), this made all 4 parametrized cases
fail with AssertionError: expected call not found.

Mirror the same _yum() == "dnf5" branch used in yumpkg.group_info so
the expected command matches whichever package manager is actually
detected.

This branch was previously deployed

1 inactive deployment
ci — b546ce53 Deployed Aug 26, 2026 by twangboy via Build Onedir Packages / Windows (x86) #26746
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:full Run the full test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants