#188 [WIP] Add libdnf5 to the environment
Opened a year ago by bookwar. Modified a year ago
bookwar/fedora-zuul-jobs rpm-install  into  master

Cleanup old workarounds and add python-libdnf5
Aleksandra Fedorova • a year ago  
@@ -15,5 +15,5 @@ 

      # https://pagure.io/fedora-ci/general/issue/416

      - name: Install python3-dnf for rawhide only

        become: true

-       command: dnf install -y python3-dnf

+       command: dnf install -y python3-libdnf5

        when: zuul.branch == "rawhide" or zuul.branch == "main"

Tests are failing with

Could not import the libdnf5 python module using /usr/bin/python3 (3.12.3 (main, Apr 17 2024, 00:00:00) [GCC 14.0.1 20240411 (Red Hat 14.0.1-0)]). Please install python3-libdnf5 package or ensure you have specified the correct ansible_python_interpreter. (attempted ['/usr/libexec/platform-python', '/usr/bin/python3', '/usr/bin/python2', '/usr/bin/python'])

Let's try the direct approach.

rebased onto 495ff0a

a year ago

rebased onto 495ff0a

a year ago

LGTM, I see it is flagged WIP so let me know if we can merge, or I've just added you in the project user group so you should be able to tag the PR "gateit"

Metadata