Bug 2349719

Summary: backport python3-pytest-asyncio-0.24.0 from Fedora 42/Rawhide to Fedora 41
Product: [Fedora] Fedora Reporter: Evgeniy <evgeniy.naydanov>
Component: python-pytest-asyncioAssignee: Carl George 🤠 <carl>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 41CC: carl, jujens, python-packagers-sig
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-pytest-asyncio-0.24.0-1.fc41 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-03-10 01:14:58 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:

Description Evgeniy 2025-03-04 03:53:36 UTC
Description of problem:

Fedora 41 contains a version of pytest-asyncio (0.23.6) with a bug related to   loop_scope=module: https://github.com/pytest-dev/pytest-asyncio/issues/862

Can it be updated to the version from Fedora 42 (0.24.0) ?

Version-Release number of selected component (if applicable):

python3-pytest-asyncio-0.23.6-4.fc41

How reproducible:

https://github.com/pytest-dev/pytest-asyncio/issues/862

Comment 1 Carl George 🤠 2025-03-04 06:14:01 UTC
Seems reasonable based on the upstream release notes.  The only breaking change mentioned is setting the minimum pytest version at 8.2.0, but we have 8.3.4 in F41 so that's no problem.

https://github.com/pytest-dev/pytest-asyncio/releases/tag/v0.23.7
https://github.com/pytest-dev/pytest-asyncio/releases/tag/v0.23.8
https://github.com/pytest-dev/pytest-asyncio/releases/tag/v0.24.0

I also verified that nothing in F41 currently requires or buildrequires an upper bound restriction on this.

https://src.fedoraproject.org/rpms/python-pytest-asyncio/pull-request/12

Comment 2 Fedora Update System 2025-03-04 07:16:43 UTC
FEDORA-2025-216d5b1ea4 (python-pytest-asyncio-0.24.0-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-216d5b1ea4

Comment 3 Fedora Update System 2025-03-05 02:51:44 UTC
FEDORA-2025-216d5b1ea4 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-216d5b1ea4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-216d5b1ea4

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

Comment 4 Fedora Update System 2025-03-10 01:14:58 UTC
FEDORA-2025-216d5b1ea4 (python-pytest-asyncio-0.24.0-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.