Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936015 - dev-python/cheroot-10.0.1 fails tests: "requests.exceptions.InvalidURL: Not supported URL scheme http+unix"
Summary: dev-python/cheroot-10.0.1 fails tests: "requests.exceptions.InvalidURL: Not s...
Status: UNCONFIRMED
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-13 21:51 UTC by Jonathan Lovelace
Modified: 2024-07-30 03:42 UTC (History)
2 users (show)

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


Attachments
dev-python:cheroot-10.0.1:20240713-202507.log (dev-python:cheroot-10.0.1:20240713-202507.log,158.71 KB, text/plain; charset=utf-8)
2024-07-13 21:51 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,9.26 KB, text/plain; charset=utf-8)
2024-07-13 21:51 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2024-07-13 21:51:02 UTC
=dev-python/cheroot-10.0.1 is failing its test suite on one machine, which is trying to finish the Python 3.12 transition. (It built and installed without seeing this failure on another machine.) Here's the failure summary from the log:

=========================================================== short test summary info ============================================================
XFAIL cheroot/test/test_core.py::test_large_request - https://github.com/cherrypy/cheroot/issues/106
XFAIL cheroot/test/test_conn.py::test_598 - Sometimes this test fails due to low timeout. Ref: https://github.com/cherrypy/cherrypy/issues/598
XFAIL cheroot/test/test_conn.py::test_Chunked_Encoding - Headers from earlier request leak into the request line for a subsequent request, resulting in 400 instead of 413. See cherrypy/cheroot#69 for details.
FAILED cheroot/test/test_server.py::test_peercreds_unix_sock[abstract] - requests.exceptions.InvalidURL: Not supported URL scheme http+unix
FAILED cheroot/test/test_server.py::test_peercreds_unix_sock[file] - requests.exceptions.InvalidURL: Not supported URL scheme http+unix
FAILED cheroot/test/test_server.py::test_peercreds_unix_sock_with_lookup[abstract] - requests.exceptions.InvalidURL: Not supported URL scheme http+unix
FAILED cheroot/test/test_server.py::test_peercreds_unix_sock_with_lookup[file] - requests.exceptions.InvalidURL: Not supported URL scheme http+unix
======================================= 4 failed, 169 passed, 3 xfailed, 23 warnings in 81.22s (0:01:21) =======================================

The error message in the failing tests is one I also saw in dev-python/requests-unixsocket, which I reported as bug #936014.
Comment 1 Jonathan Lovelace 2024-07-13 21:51:26 UTC
Created attachment 897553 [details]
dev-python:cheroot-10.0.1:20240713-202507.log
Comment 2 Jonathan Lovelace 2024-07-13 21:51:49 UTC
Created attachment 897554 [details]
emerge-info.txt
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-07-22 15:55:30 UTC
Did you try reinstalling requests-unixsocket?
Comment 4 Jonathan Lovelace 2024-07-30 03:42:12 UTC
Yes, I've tried that. I note that on this machine requests-unixsocket fails *its* tests with similar messages about "Not supported URL scheme http+unix" (bug #936014), so I expect that any solution for the underlying issue there will probably fix these tests as well.