Bug 2318673 - Please branch and build python-typeguard in epel10
Summary: Please branch and build python-typeguard in epel10
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-typeguard
Version: epel10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ben Beasley
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2318666 2318672
Blocks: EPEL10Tracker 2318674
TreeView+ depends on / blocked
 
Reported: 2024-10-14 22:54 UTC by Miro Hrončok
Modified: 2024-10-22 14:13 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-10-22 12:33:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2024-10-14 22:54:19 UTC
Please branch and build python-typeguard in epel10.

This is currently blocked on typing-extensions (runtime dep) and mypy, which is BuildRequired for actual tests. I leave it up to you if you want to drop the mypy dependency or keep it, I don't care either way.

Thanks.

Comment 1 Ben Beasley 2024-10-14 23:00:16 UTC
I’m happy to branch and build this once dependencies are available.

Once typing-extensions are ready, I think it’s reasonable to conditionalize the mypy tests until mypy is available in EPEL10.

Comment 2 Ben Beasley 2024-10-22 11:43:43 UTC
So it turns out that python3-typing-extensions-4.9.0-5.el10 is in the base OS for EL10. This is a little too old for the current release of python-typeguard, 4.3.0, which requires typing-extensions at least 4.10.0. That dependency was introduced in order to support Python 3.13[1], which isn’t in EL10, so it’s reasonable to loosen this slightly to 4.9.0. With that change, plus conditionalizing the mypy tests, I think I can ship this in EPEL10 now.

[1] https://github.com/agronholm/typeguard/commit/6647e5db5308a57e4a424f4f4836025053566225

Comment 3 Ben Beasley 2024-10-22 11:44:35 UTC
(I don’t want to ship 4.2.1 when I can patch 4.3.0, because Python 3.13 support was not the only thing in the release: https://github.com/agronholm/typeguard/releases/tag/4.3.0)

Comment 4 Miro Hrončok 2024-10-22 11:52:03 UTC
Sounds like a good plan. Thank you!

Comment 6 Miro Hrončok 2024-10-22 14:13:05 UTC
Thank You!


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