https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/pytest-isort-3.1.0 fails to compile. Discovered on: amd64 (internal ref: guru_tinderbox)
Created attachment 857677 [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: * die "Failing install because of stray top-level files in site-packages"; * Failing install because of stray top-level files in site-packages
Created attachment 859464 [details, diff] Workaround patch As a workaround, you can put this into /etc/portage/patches/dev-python/pytest-isort-3.1.0.patch
Thanks for the patch, Anton. I included it in the 3.1.0-r1 version of the ebuild.
(In reply to Julien from comment #4) > Thanks for the patch, Anton. > I included it in the 3.1.0-r1 version of the ebuild. Oh, no problem, I was just following the instructions from https://projects.gentoo.org/python/guide/qawarn.html#stray-top-level-files-in-site-packages Thanks for including it! Ideally we should also file a bug upstream, but I don't know if it's worth your time and effort.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d4603df909b3fcaa2305299bfeee66cffdb0a037 commit d4603df909b3fcaa2305299bfeee66cffdb0a037 Author: Julien Roy <julien@jroy.ca> AuthorDate: 2023-04-05 02:35:50 +0000 Commit: Julien Roy <julien@jroy.ca> CommitDate: 2023-04-05 02:38:00 +0000 dev-python/pytest-isort: add 3.1.0-r1 Add patch for stray files Credits to Anton (anton.stay.connected@gmail.com) for providing the patch on b.g.o Closes: https://bugs.gentoo.org/901215 Signed-off-by: Julien Roy <julien@jroy.ca> dev-python/pytest-isort/files/stray-files.patch | 15 +++++++++++ .../pytest-isort/pytest-isort-3.1.0-r1.ebuild | 29 ++++++++++++++++++++++ dev-python/pytest-isort/pytest-isort-3.1.0.ebuild | 4 +++ 3 files changed, 48 insertions(+)