During an emerge of jupyterlab, ipython fails. Reproducible: Always Steps to Reproduce: 1. emerge ipython as a dependency of jupyterlab 2. also with emerge --resume Actual Results: No special steps other than setting ~amd64 for some packages as required by emerge. This is from within a chroot for building binary packages. A setupbase.py can be found in the build directory: work/ipython-8.2.0/setupbase.py emerge -pqv '=dev-python/ipython-8.2.0::gentoo': !!! It seems /run is not mounted. Process management may malfunction. [ebuild N ] dev-python/ipython-8.2.0 USE="smp -doc -examples -matplotlib -nbconvert -notebook -qt5 -test" PYTHON_TARGETS="python3_8 python3_9 -python3_10" [ebuild N ] dev-python/ipykernel-6.13.0 USE="-test" PYTHON_TARGETS="python3_8 python3_9 -python3_10" [ebuild N ] dev-python/ipyparallel-7.1.0 USE="-test" PYTHON_TARGETS="python3_8 python3_9 -python3_10"
Please include the full build.log and emerge --info.
Created attachment 783794 [details] emerge --info '=dev-python/ipython-8.2.0::gentoo'
Created attachment 783797 [details] emerge -pqv '=dev-python/ipython-8.2.0::gentoo'
Created attachment 783800 [details] build.log
Traceback (most recent call last): File "/usr/lib/python-exec/python3.8/gpep517", line 4, in <module> sys.exit(main()) File "/usr/lib/python3.8/site-packages/gpep517/__main__.py", line 191, in main return func(args) File "/usr/lib/python3.8/site-packages/gpep517/__main__.py", line 87, in build_wheel wheel_name = backend.build_wheel(args.wheel_dir, args.config_json) File "/usr/lib/python3.8/site-packages/setuptools/build_meta.py", line 244, in build_wheel return self._build_with_temp_dir(['bdist_wheel'], '.whl', File "/usr/lib/python3.8/site-packages/setuptools/build_meta.py", line 229, in _build_with_temp_dir self.run_setup() File "/usr/lib/python3.8/site-packages/setuptools/build_meta.py", line 174, in run_setup exec(compile(code, __file__, 'exec'), locals()) File "setup.py", line 66, in <module> from setupbase import target_update ModuleNotFoundError: No module named 'setupbase' * ERROR: dev-python/ipython-8.2.0::gentoo failed (compile phase): * Wheel build failed *
I can reproduce with 8.4.0 too. My educated guess is incompatibility introduced in newer version of setuptools.
Ah, it's because we started enforcing the non-legacy setuptools backend.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fb2dbd04266ab19ebe83a99b4e7c7c8907fdcf4 commit 6fb2dbd04266ab19ebe83a99b4e7c7c8907fdcf4 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2022-06-10 12:43:12 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2022-06-10 12:44:33 +0000 dev-python/ipython: Force legacy setuptools backend Closes: https://bugs.gentoo.org/850916 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/ipython/ipython-8.2.0.ebuild | 4 ++++ dev-python/ipython/ipython-8.3.0-r1.ebuild | 4 ++++ dev-python/ipython/ipython-8.4.0.ebuild | 8 ++++++++ 3 files changed, 16 insertions(+)