Skip to content

Commit

Permalink
workflows/add-overrides: install python3-dnf
Browse files Browse the repository at this point in the history
F41 moved on to dnf5, which doesn't pull in Python bindings anymore.
But anyway, the Python API in libdnf5 is different and we'd need to
migrate `overrides.py`.

For now at least to unbreak things, just re-install back python3-dnf.

See also: coreos#3254
  • Loading branch information
jlebon committed Nov 14, 2024
1 parent 27ccdd0 commit 190dc4b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/add-override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ jobs:
container: quay.io/fedora/fedora:latest
steps:
- name: Install dependencies
run: dnf install -y git jq python3-bodhi-client python3-pyyaml
# XXX: Note here we're installing python3-dnf, which pulls in libdnf,
# which is the old one. We should migrate to libdnf5 to match dnf5.
# https://github.com/coreos/fedora-coreos-config/issues/3254
run: dnf install -y git jq python3-bodhi-client python3-pyyaml python3-dnf
- name: Check out repository
uses: actions/checkout@v3
with:
Expand Down

0 comments on commit 190dc4b

Please sign in to comment.