Fails on amd64 and ia64 with PORTAGE_TMPDIR=/dev/shm. tests/conftest.py:38: OSError ------------------------------------------------------------------------------------- Captured stdout call ------------------------------------------------------------------------------------- /dev/shm/portage/dev-python/werkzeug-2.0.0/work/werkzeug-2.0.0/.pytest_cache/d/.xprocess/dev_server-test_server[unix socket]$ /usr/bin/python3.8 /dev/shm/portage/dev-python/werkzeug-2.0.0/work/werkzeug-2.0.0/tests/live_apps/run.py standard {"hostname": "unix:///dev/shm/portage/dev-python/werkzeug-2.0.0/temp/pytest-of-portage/pytest-0/test_server_unix_socket_0/test.sock"} process 'dev_server-test_server[unix socket]' started pid=93 Traceback (most recent call last): =================================================================================== short test summary info ==================================================================================== SKIPPED [1] tests/test_local.py:126: The ident is not supported in Python3.7 or higher FAILED tests/test_serving.py::test_server[unix socket] - OSError: AF_UNIX path too long ========================================================================== 1 failed, 798 passed, 1 skipped in 19.12s =========================================================================== * ERROR: dev-python/werkzeug-2.0.0::gentoo failed (test phase): * pytest failed with python3.8
Well, apparently respecting TMPDIR has its downsides.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40f3372df3972f71da0a28f276ac318ae671bdc3 commit 40f3372df3972f71da0a28f276ac318ae671bdc3 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2021-05-15 21:36:10 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2021-05-15 21:36:10 +0000 dev-python/werkzeug: Force /tmp as tmpdir to fix AF_UNIX name limit Force using /tmp for tests rather than ${T}, as the latter can easily cause AF_UNIX socket paths to exceed the limit. Closes: https://bugs.gentoo.org/790416 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/werkzeug/werkzeug-2.0.0.ebuild | 2 ++ 1 file changed, 2 insertions(+)