Created attachment 907199 [details] build.log.xz (ppc, 3.0.11) On ppc current cython 3.0.10 and 3.0.11 fail to complete testsuite, running for several hours only showing these "#### 2024-10-28 12:12:06.128567", etc. timestamps. [...] runTest (__main__.CythonRunTestCase.runTest) [1] compiling (cpp/cy2) and running cppwrap ... DoubleKeeper (cppwrap) Doctest: cppwrap.DoubleKeeper ... ok doublefunc (cppwrap) Doctest: cppwrap.doublefunc ... ok transmogrify_from_cpp (cppwrap) Doctest: cppwrap.transmogrify_from_cpp ... ok voidfunc (cppwrap) Doctest: cppwrap.voidfunc ... ok ====================================================================== FAIL: runTest (__main__.EndToEndTest.runTest) [1] End-to-end coverage_cmd_src_pkg_layout ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/cython-3.0.11/work/cython-3.0.11/runtests.py", line 2095, in runTest self.assertEqual(0, res, "non-zero exit status, last output was:\n%r\n-- stdout:%s\n-- stderr:%s\n" % ( AssertionError: 0 != 1 : non-zero exit status, last output was: '/usr/bin/python3.12 -m pip install .' -- stdout: -- stderr:error: externally-managed-environment × This environment is externally managed ╰─> The system-wide Python installation in Gentoo should be maintained using the system package manager (e.g. emerge). If the package in question is not packaged for Gentoo, please consider installing it inside a virtual environment, e.g.: python -m venv /path/to/venv . /path/to/venv/bin/activate pip install mypackage To exit the virtual environment, run: deactivate The virtual environment is not deleted, and can be re-entered by re-sourcing the activate file. note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification. ---------------------------------------------------------------------- Ran 7547 tests in 8036.223s FAILED (failures=1, skipped=16) Following tests excluded because of missing dependencies on your system: run.numpy_pythran run.numpy_pythran_unit run.test_exceptions FAILED (1/2) ALL DONE (1/2) #### 2024-10-28 12:12:06.128567 #### 2024-10-28 12:12:16.158388 #### 2024-10-28 12:12:26.186493 #### 2024-10-28 12:12:36.206186 #### 2024-10-28 12:12:46.220736 [...] Up to that point 3.0.11 shows the __main__.EndToEndTest.runTest above, 3.0.10 shows a few more.
Created attachment 907200 [details] build.log.xz (ppc, 3.0.10)
Created attachment 907201 [details] emerge --info
Same for dev-python/cython-3.0.12 on amd64: Errors from shard 11: ====================================================================== FAIL: runTest (__main__.EndToEndTest.runTest) [11] End-to-end coverage_cmd_src_pkg_layout ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/cython-3.0.12/work/cython-3.0.12/runtests.py", line 2095, in runTest self.assertEqual(0, res, "non-zero exit status, last output was:\n%r\n-- stdout:%s\n-- stderr:%s\n" % ( AssertionError: 0 != 1 : non-zero exit status, last output was: '/usr/bin/python3.12 -m pip install .' -- stdout: -- stderr:error: externally-managed-environment × This environment is externally managed ╰─> The system-wide Python installation in Gentoo should be maintained using the system package manager (e.g. emerge). If the package in question is not packaged for Gentoo, please consider installing it inside a virtual environment, e.g.: python -m venv /path/to/venv . /path/to/venv/bin/activate pip install mypackage To exit the virtual environment, run: deactivate The virtual environment is not deleted, and can be re-entered by re-sourcing the activate file. note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification. # emerge -pqv =dev-python/cython-3.0.12::gentoo [ebuild U ] dev-python/cython-3.0.12 [3.0.11] USE="test* -debug -doc" PYTHON_TARGETS="python3_12 (-pypy3) (-pypy3_11) -python3_10 -python3_11 -python3_13"
Created attachment 921335 [details] emerge --info
Created attachment 921336 [details] Full build log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e15dabbacc0307c6d5d2090435a774b36446f6a commit 4e15dabbacc0307c6d5d2090435a774b36446f6a Author: Sam James <sam@gentoo.org> AuthorDate: 2025-04-19 23:30:06 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-04-19 23:30:06 +0000 dev-python/cython: skip layout test It needs dev-python/pip and if pip is installed, it'll (often?) fail because of 'externally managed'. Closes: https://bugs.gentoo.org/927995 Closes: https://bugs.gentoo.org/930482 Closes: https://bugs.gentoo.org/942426 Signed-off-by: Sam James <sam@gentoo.org> dev-python/cython/cython-3.0.12-r1.ebuild | 7 +++++++ dev-python/cython/cython-3.0.12.ebuild | 7 +++++++ dev-python/cython/cython-3.1.0_beta1-r1.ebuild | 7 +++++++ 3 files changed, 21 insertions(+)