I'm not sure if this is intentional, but python3-dnf does not provide `python3dist(dnf)`. This means that tools like `%pyproject_buildrequires` cannot be used on projects which use the Python library for dnf. Adding `%py_provides python3-dnf` to the spec file is probably the easiest way to fix this. Reproducible: Always Steps to Reproduce: dnf whatprovides 'python3dist(dnf)' Actual Results: dnf should report that python3-dnf provides 'python3dist(dnf)' Expected Results: dnf cannot find any packages which provide 'python3dist(dnf)'
> Adding `%py_provides python3-dnf` to the spec file is probably the easiest way to fix this. I did some more digging, this is incorrect. Those provides are generated by https://src.fedoraproject.org/rpms/python-rpm-generators/blob/rawhide/f/pythondistdeps.py noticing the presence of the `.dist-info` directories. From what I've seen of the dnf/libdnf repo, I don't think adding those will be easy. I'll leave this bug open in case someone feels like having a look, but I'd understand closing as WONTFIX. Thanks.
Thanks for your report, we actually had a pull request a couple months ago that resolved this issue for DNF 5, so I've followed the same approach there and prepared a patch for DNF 4: https://github.com/rpm-software-management/dnf/pull/1997. Will close when that is merged.
https://github.com/rpm-software-management/dnf/pull/1997 is merged, moving to POST.
FEDORA-2023-a066057708 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-a066057708
FEDORA-2023-a066057708 has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-a066057708` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-a066057708 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-a066057708 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.