Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936263 - dev-python/prometheus-client-0.20.0 fails tests w/ >=dev-python/asgiref-3.8
Summary: dev-python/prometheus-client-0.20.0 fails tests w/ >=dev-python/asgiref-3.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-18 19:35 UTC by Dustin Polke
Modified: 2024-07-22 13:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge--info.txt,21.31 KB, text/plain)
2024-07-18 19:35 UTC, Dustin Polke
Details
Full build.log (build.log,134.08 KB, text/plain)
2024-07-18 19:36 UTC, Dustin Polke
Details

Note You need to log in before you can comment on or make changes to this bug.
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(+)