I don’t remember why I held the python-hatchling package in EPEL9 was back at 1.18.0. I will investigate whether it can be updated to the latest release. I think I was having trouble getting the corresponding hatch update to produce a proper hatch/_version.py, even when setting SETUPTOOLS_SCM_PRETEND_VERSION, and even though it works in Fedora. In general, it’s not reasonable to expect that the dependencies for current versions of python-hatchling (and hatch, which is also packaged in EPEL9 and needs to remain aligned/compatible with the packaged hatchling) will remain satisfiable in EPEL9 indefinitely, as the packages included in EL9 remain mostly frozen in time and the Python ecosystem moves forward. Even if python-hatchling can be updated today, there will almost surely come a day when it no longer can be.
With a “hack” to hatch/_version.py to work around a pre-0.20 version of python-setuptools_scm[1], it looks like it will be possible to update hatch and hatchling in EPEL9. Some further work and validation is still required. Expect a follow-up in the next couple of days. [1] https://github.com/pypa/setuptools_scm/blob/main/CHANGELOG.md#v020
FEDORA-EPEL-2024-0d1be1a1ff (hatch-1.9.3-1.el9 and python-hatchling-1.21.1-1.el9) has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-0d1be1a1ff
I’m pleased to say that I was able to package the latest hatchling and hatch for EPEL9 without too much compromise. I’ll try to keep them up to date with new releases until I hit a major obstacle again – and then updates will likely eventually stop again, whether in a few weeks or in a few years, as is the nature of backporting to long-term stable “enterprise” distributions.
FEDORA-EPEL-2024-0d1be1a1ff has been pushed to the Fedora EPEL 9 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-0d1be1a1ff See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2024-0d1be1a1ff (hatch-1.9.3-1.el9 and python-hatchling-1.21.1-1.el9) has been pushed to the Fedora EPEL 9 stable repository. If problem still persists, please make note of it in this bug report.