Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 936263

Summary: dev-python/prometheus-client-0.20.0 fails tests w/ >=dev-python/asgiref-3.8
Product: Gentoo Linux Reporter: Dustin Polke <DuPol>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: DuPol, mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/prometheus/client_python/issues/1020
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
Full build.log

Description Dustin Polke 2024-07-18 19:35:53 UTC
Created attachment 897940 [details]
emerge --info

============================================================================== short test summary info ===============================================================================
FAILED tests/test_asgi.py::ASGITest::test_gzip - RuntimeError: no running event loop
FAILED tests/test_asgi.py::ASGITest::test_gzip_disabled - RuntimeError: no running event loop
FAILED tests/test_asgi.py::ASGITest::test_openmetrics_encoding - RuntimeError: no running event loop
FAILED tests/test_asgi.py::ASGITest::test_plaintext_encoding - RuntimeError: no running event loop
FAILED tests/test_asgi.py::ASGITest::test_report_metrics_1 - RuntimeError: no running event loop
FAILED tests/test_asgi.py::ASGITest::test_report_metrics_2 - RuntimeError: no running event loop
FAILED tests/test_asgi.py::ASGITest::test_report_metrics_3 - RuntimeError: no running event loop
FAILED tests/test_asgi.py::ASGITest::test_report_metrics_4 - RuntimeError: no running event loop
===================================================================== 8 failed, 301 passed, 39 warnings in 5.31s =====================================================================
pytest-xprocess reminder::Be sure to terminate the started process by running 'pytest --xkill' if you have not explicitly done so in your fixture with 'xprocess.getinfo(<process_name>).terminate()'.
 * ERROR: dev-python/prometheus-client-0.20.0::gentoo failed (test phase):
 *   pytest failed with python3.12
Comment 1 Dustin Polke 2024-07-18 19:36:33 UTC
Created attachment 897941 [details]
Full build.log
Comment 2 Larry the Git Cow gentoo-dev 2024-07-22 13:55:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1161d2f6c7a0deb00b6495be6533adb5e728582f

commit 1161d2f6c7a0deb00b6495be6533adb5e728582f
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-07-22 13:52:12 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-07-22 13:55:14 +0000

    dev-python/prometheus-client: Deselect broken asgiref tests
    
    Closes: https://bugs.gentoo.org/936263
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/prometheus-client/prometheus-client-0.20.0.ebuild | 5 +++++
 1 file changed, 5 insertions(+)