Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1705687

Summary: python3-pytest-asyncio FTBFS with Python 3.8
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python3-pytest-asyncioAssignee: Julien Enselme <jujens>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rawhideCC: carl, jujens, rbarlow
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: 2019-05-27 12:26:48 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:    
Bug Blocks: 1686977    
Attachments:
Description Flags
Full log from Copr none

Description Miro Hrončok 2019-05-02 18:41:38 UTC
Created attachment 1561907 [details]
Full log from Copr

python3-pytest-asyncio 0.10.0-2.fc31 fails to build with Python 3.8 due to a %check failure:

==================================== ERRORS ====================================
___________________ ERROR at setup of test_dependent_fixture ___________________
tests/conftest.py:24: in dependent_fixture
    event_loop.run_until_complete(just_a_sleep())
/usr/lib64/python3.8/asyncio/base_events.py:589: in run_until_complete
    return future.result()
tests/conftest.py:20: in just_a_sleep
    await asyncio.sleep(0.1, loop=event_loop)
/usr/lib64/python3.8/asyncio/tasks.py:602: in sleep
    warnings.warn("The loop argument is deprecated and scheduled for "
E   DeprecationWarning: The loop argument is deprecated and scheduled for removal in Python 3.10.
___________________ ERROR at setup of test_dependent_fixture ___________________
tests/conftest.py:24: in dependent_fixture
    event_loop.run_until_complete(just_a_sleep())
/usr/lib64/python3.8/asyncio/base_events.py:589: in run_until_complete
    return future.result()
tests/conftest.py:20: in just_a_sleep
    await asyncio.sleep(0.1, loop=event_loop)
/usr/lib64/python3.8/asyncio/tasks.py:602: in sleep
    warnings.warn("The loop argument is deprecated and scheduled for "
E   DeprecationWarning: The loop argument is deprecated and scheduled for removal in Python 3.10.
=========================== short test summary info ============================
SKIPPED [1] tests/async_fixtures/test_coroutine_fixtures.py:23: @asyncio.coroutine fixtures are not supported yet
XFAIL tests/test_simple.py::test_asyncio_marker_fail
  need a failure
=========== 34 passed, 1 skipped, 1 xfailed, 2 error in 0.98 seconds ===========

Full log attached.

Comment 1 Miro Hrončok 2019-05-24 06:11:36 UTC
This is now blocking python-backoff and that appears to be a new dependency of bodhi.

Comment 3 Red Hat Bugzilla 2023-09-12 01:46:49 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days