https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/pplpy-0.8.10 fails to compile. Discovered on: amd64 (internal ref: ci) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Created attachment 888495 [details] build.log build log and emerge --info
conf.py is trying to import the version from the just-built extension, but the extension lives in another directory under $BUILD_DIR that isn't on PYTHONPATH until the wheel is installed. Is there some easy way to point python at the cython build dir while we run sphinx?
I am just realising that's the new release. We did not have those issue in 0.8.9 and before. Let's figure out what changed.
The change to doc/source/conf.py in this commit is what kills us. https://github.com/sagemath/pplpy/commit/5710798bc65b567f99d6cd7e6fa22f478b8ad55f All to get a version string.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1840fa88f133431197ad4f656b0789372d19020a commit 1840fa88f133431197ad4f656b0789372d19020a Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2024-03-26 06:56:53 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2024-03-26 06:57:41 +0000 dev-python/pplpy: Fix building docs We need to call sphinx via `python -m` and to remove source `ppl` directory, to ensure that the correct site-packages are used. Closes: https://bugs.gentoo.org/927771 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/pplpy/pplpy-0.8.10.ebuild | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-)
In hindsight this is probably the same underlying issue you worked around in dev-memory-allocator's python_test(). Anyway thanks mgorny.