Bug 2265089 - Please update python-hatchling in epel9
Summary: Please update python-hatchling in epel9
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-hatchling
Version: epel9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ben Beasley
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-02-20 10:56 UTC by Alex Iribarren
Modified: 2024-03-10 00:39 UTC (History)
4 users (show)

Fixed In Version: python-hatchling-1.21.1-1.el9
Clone Of:
Environment:
Last Closed: 2024-03-10 00:39:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Alex Iribarren 2024-02-20 10:56:22 UTC

Comment 1 Ben Beasley 2024-02-20 15:01:48 UTC
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.

Comment 2 Ben Beasley 2024-02-20 15:12:40 UTC
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

Comment 3 Fedora Update System 2024-02-23 14:50:00 UTC
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

Comment 4 Ben Beasley 2024-02-23 14:55:31 UTC
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.

Comment 5 Fedora Update System 2024-02-24 02:23:31 UTC
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.

Comment 6 Fedora Update System 2024-03-10 00:39:14 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.