DNF 5 postponed to (likely) Fedora 41

Hi, I’m on the DNF 5 team, and I’m informing projects that use DNF of the following:

As you may be aware, the switch to DNF 5 has been postponed, likely to Fedora 41. In Fedora 39, the dnf command will be provided by the dnf package (DNF 4), and DNF 5 will not be installed by default.

In the meantime, we have set up a testing COPR repository (https://copr.fedorainfracloud.org/coprs/rpmsoftwaremanagement/dnf5-testing/) that provides a version of DNF 5 that obsoletes DNF 4. It can be used to test software in an environment similar to the future release of Fedora (whichever that will be) when DNF 5 replaces DNF 4:

sudo dnf-3 copr enable rpmsoftwaremanagement/dnf5-testing

Enabling the COPR and upgrading your Fedora system should replace DNF 4 (the dnf package) with DNF 5 (dnf5), and /usr/bin/dnf will point to DNF 5.

Again, please continue testing with DNF 5, and don’t hesitate to report bugs and missing features on our upstream repository: https://github.com/rpm-software-management/dnf5. We want to help however we can to make sure the DNF 5 Ansible module is ready when DNF 5 becomes the default package manager in Fedora.

Evan