Bug 2224723 - [RFE:EPEL9] Update python-hatchling and python-hatch-vcs
Summary: [RFE:EPEL9] Update python-hatchling and python-hatch-vcs
Keywords:
Status: CLOSED DUPLICATE of bug 2158497
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: 2023-07-22 14:13 UTC by Martin Hoyer
Modified: 2023-07-24 14:21 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-07-24 01:21:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Martin Hoyer 2023-07-22 14:13:01 UTC
Description of problem:
hatchling on EPEL9 is stuck on version 0.25, while Fedora>=37 is on 1.16.

This, alongside with older version of hatch-vcs for example means el9 builds are not able to take advantage of pyproject_buildrequires macro when using hatch-vcs.

Comment 1 Ben Beasley 2023-07-24 01:21:51 UTC
Sorry, I know this is inconvenient, but EL9 has been out quite a bit longer than hatchling/hatch 1.x, and last time I looked at this I concluded that that the packages in the base OS were too old to satisfy the dependency requirements of a newer version. See https://bugzilla.redhat.com/show_bug.cgi?id=2158497#c2 for details.

If you really think I’ve missed something, I’m happy to consider a PR.

Meanwhile, you should still be able to use %pyproject_buildrequires in EPEL9 if you add the “-w” option. Note that you will also always have to explicitly mark license files with %license, even if %pyproject_files handles them automagically in current Fedora releases.

*** This bug has been marked as a duplicate of bug 2158497 ***

Comment 2 Martin Hoyer 2023-07-24 14:21:41 UTC
Thank You for the prompt reply Ben!
I'm sorry I didn't spot the original bz and opened a dup.

Let me do a comment in #2158497


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