Bug 2318673

Summary: Please branch and build python-typeguard in epel10
Product: [Fedora] Fedora EPEL Reporter: Miro Hrončok <mhroncok>
Component: python-typeguardAssignee: Ben Beasley <code>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel10CC: code, davide, epel-packagers-sig, michel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-10-22 12:33:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2318666, 2318672    
Bug Blocks: 2303880, 2318674    

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!