Bug 2079943

Summary: Please branch and build python-pytest-aiohttp in epel9
Product: [Fedora] Fedora EPEL Reporter: Major Hayden 🤠 <mhayden>
Component: python-pytest-aiohttpAssignee: Fabian Affolter <mail>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: mail
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-pytest-aiohttp-1.0.4-4.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-10-18 15:01:39 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: 2081052    
Bug Blocks: 2077853    

Description Major Hayden 🤠 2022-04-28 15:01:09 UTC
Some of the tests provided with azure-cli and its dependencies need python-pytest-aiohttp to run. Could you please branch and build python-pytest-aiohttp in epel9?

If you would like help with maintaining this package, I'm happy to help.

Thanks!

Comment 1 Major Hayden 🤠 2022-04-28 16:20:55 UTC
Fabian -- I made a PR that enables tests and converts the spec file to use pyproject-rpm-macros. This should make the epel9 backport a little easier. 😉

  https://src.fedoraproject.org/rpms/python-pytest-aiohttp/pull-request/2

Comment 2 Major Hayden 🤠 2022-05-02 15:07:36 UTC
Looks like we will need setuptools-scm here.

Package pyproject-rpm-macros-1.0.1-1.el9.noarch is already installed.
Package python3-devel-3.9.10-2.el9.x86_64 is already installed.
Package python3-devel-3.9.10-2.el9.x86_64 is already installed.
Package python3-packaging-20.9-5.el9.noarch is already installed.
Package python3-pip-21.2.3-6.el9.noarch is already installed.
Package python3-setuptools-53.0.0-10.el9.noarch is already installed.
No matching package to install: 'python3dist(setuptools-scm) >= 6.2'
Package python3-toml-0.10.2-6.el9.noarch is already installed.
Not all dependencies satisfied

Comment 3 Major Hayden 🤠 2022-05-02 21:19:18 UTC
So the issue here is that RHEL 9 has setuptools_scm 6.0.1 while upstream demands 6.2 or higher. Many other python packages get around this by setting an environment variable and relaxing the setuptools_scm requirement.

I've done that here in a PR:

  https://src.fedoraproject.org/rpms/python-pytest-aiohttp/pull-request/3

Comment 5 Fedora Update System 2022-10-10 12:55:45 UTC
FEDORA-EPEL-2022-cdbdd839d5 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-cdbdd839d5

Comment 6 Fedora Update System 2022-10-11 11:57:18 UTC
FEDORA-EPEL-2022-cdbdd839d5 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-2022-cdbdd839d5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2022-10-18 15:01:39 UTC
FEDORA-EPEL-2022-cdbdd839d5 has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.