File "/var/tmp/portage/dev-python/slimit-0.8.1-r1/work/slimit-0.8.1-python3_9/lib/slimit/__init__.py", line 27, in <module> from minifier import minify ModuleNotFoundError: No module named 'minifier' * ERROR: dev-python/slimit-0.8.1-r1::gentoo failed (compile phase): * (no error message) * * Call stack: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_hardened-j4-20211108-155141 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 13.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.8 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit 992c23fbb1408e0b1db32a1ad18e1c13f895b93d Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Nov 10 01:21:39 2021 +0000 2021-11-10 01:21:38 UTC emerge -qpvO dev-python/slimit [ebuild N ] dev-python/slimit-0.8.1-r1 USE="-test" PYTHON_TARGETS="python3_9 -pypy3 -python3_8 -python3_10"
Created attachment 750078 [details] emerge-info.txt
Created attachment 750081 [details] dev-python:slimit-0.8.1-r1:20211110-022857.log
Created attachment 750084 [details] emerge-history.txt
Created attachment 750087 [details] environment
Created attachment 750090 [details] etc.portage.tar.bz2
Created attachment 750093 [details] temp.tar.bz2
This is somewhat related to bug #812149, except that rather than using setuptools' built-in 2to3 support, the package uses distutils' implementation directly. These lines on top of setup.py are the culprit: ``` try: from distutils.command.build_py import build_py_2to3 as build_py except ImportError: from distutils.command.build_py import build_py ``` build_py_2to3 was removed from setuptools' vendored distutils, so the import fails and falls back to the non-converting variant. This effectively means that the version compatible with Python 2 is installed.
I suppose we could workaround the problem for the time being by calling 2to3 directly but given how dead this package is (last commit in 2018), I suppose we should be removing it instead.
(Still fails with 60.2.0, as expected.)
paolo, this looks pretty dead upstream. Any interest in keeping this or shall we last-rite?
(In reply to Sam James from comment #10) > paolo, this looks pretty dead upstream. Any interest in keeping this or > shall we last-rite? I have to check. Sadly my development machine is dead ATM, and I can't do any serious development right now. I hope to be back on track in the second half of January. Thanks for your patience.
(In reply to Sam James from comment #10) > paolo, this looks pretty dead upstream. Any interest in keeping this or > shall we last-rite? You're free to last-rite, thanks. Sorry if it took so long to reply.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8fc7735b44af10192df9a0443cbe1c38f458750 commit d8fc7735b44af10192df9a0443cbe1c38f458750 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2022-11-27 16:56:23 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2022-11-27 20:00:34 +0000 package.mask: Last rite dev-python/slimit Bug: https://bugs.gentoo.org/822840 Signed-off-by: Michał Górny <mgorny@gentoo.org> profiles/package.mask | 6 ++++++ 1 file changed, 6 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b61a544f5cb77f50b878b59d1e7574e368b4587a commit b61a544f5cb77f50b878b59d1e7574e368b4587a Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2022-12-31 18:17:19 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2022-12-31 18:30:56 +0000 dev-python/slimit: treeclean Closes: https://bugs.gentoo.org/822840 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> dev-python/slimit/Manifest | 1 - .../slimit/files/slimit-0.8.1-fix-python3.patch | 277 --------------------- dev-python/slimit/metadata.xml | 15 -- dev-python/slimit/slimit-0.8.1-r1.ebuild | 36 --- profiles/package.mask | 6 - 5 files changed, 335 deletions(-)