https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/jupyter-packaging-0.12.3 fails tests. Discovered on: amd64 (internal ref: tinderbox_musl) System: MUSL-SYSTEM Info about the system: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Created attachment 883318 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: E FileNotFoundError: [Errno 2] No such file or directory FAILED tests/test_core_functions.py::test_npm_builder - FileNotFoundError: [Errno 2] No such file or directory FAILED tests/test_core_functions.py::test_npm_builder_no_npm - FileNotFoundError: [Errno 2] No such file or directory FAILED tests/test_core_functions.py::test_npm_builder_not_stale - FileNotFoundError: [Errno 2] No such file or directory
I'm seeing this failure when trying to rebuild due to the addition of python3_12 to and removal of pypy3 from PYTHON_COMPAT; the same version passed its tests for me when it was last built, with the same PYTHON_TARGETS, in May 2023. Unfortunately I no longer have the build log from that successful build to compare "build system packages". But the specifics of the test failures also make me wonder if the change might be due to a change in Portage or the sandbox: the "No such file or directory" is coming from a call to "os.getcwd()" in two of the tests and to "Path.cwd().resolve()" in the third, which seems to me to indicate that Python's notion of the CWD is either unset or pointing to a directory that (at least from the perspective of that Python process) does not exist (or no longer exists).
Thanks for the hint! It's the tmp_path_retention_policy change.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=679bcc3c305c04d2f5c880f0ced8ae450b344de7 commit 679bcc3c305c04d2f5c880f0ced8ae450b344de7 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2024-02-29 04:01:54 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2024-02-29 04:18:22 +0000 dev-python/jupyter-packaging: Fix testing Closes: https://bugs.gentoo.org/923053 Signed-off-by: Michał Górny <mgorny@gentoo.org> .../jupyter-packaging/jupyter-packaging-0.12.3.ebuild | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-)