[Slackbuilds-users] mutual dependency? [was: sbotools: multiline build options]
fourtysixandtwo
fourtysixandtwo at sliderr.net
Wed May 27 20:20:51 UTC 2026
If you've been using pip to install and uninstall...that's certainly
not helping the situation and is not recommended as root as it cannot
be trusted to apply the proper permissions. When I previously
suggested removing python-importlib_metadata, I was talking about
removing the slackware SBo package.
I would start with cleaning up any python stuff not properly installed
via slackware packaging.
# as root get a list of anything pip installed and uninstall them.
(If you have had pip install anything as your regular user, that can
cause problems too, but is out of scope for the moment)
pip3 list --user
pip3 uninstall <list from above if there is anything>
# sbocheck has a list of "out-of-tree builds...", remove those packages
# one example I know is installed, added zipp and importlib just in case...
removepkg python3-pep517 python-zipp python-importlib_metadata
# another old build that might cause issues
removepkg python3-pyproject-metadata
Try to build python3-setuptools-opt again and let us know.
On Wed, May 27, 2026 at 8:33 AM Erich Ritz <erich.public at protonmail.com> wrote:
>
> On Wednesday, May 27th, 2026 at 9:17 AM, J. Milgram via SlackBuilds-users <slackbuilds-users at slackbuilds.org> wrote:
>
> >
> > python-importlib_metadata and python-zipp really do seem to be pointing
> > at each other:
> >
> > After removing both packages, and attempting to re-install (with
> > sboinstall or manually):
> >
> > The python-zipp build bombs with:
> >
> > ERROR Missing dependencies:
> > setuptools_scm[toml]>=3.4.1
> > importlib-metadata>=4.6
> >
> > while python-importlib_metadata seems to need python-zipp, bombing with:
> >
> > ERROR Missing dependencies:
> > setuptools_scm[toml]>=3.4.1
> > importlib-metadata>=4.6 -> zipp>=3.20
> >
> > I don't understand why it's complaining about setuptools_scm ... I
> > seem to have it:
> >
> > /var/log/packages/python3-setuptools-scm-opt-8.3.1-noarch-1_SBo
> > /var/log/packages/python-setuptools_scm-6.3.2-x86_64-1
> > /var/log/packages/python3-setuptools_scm_git_archive-1.4.1-x86_64-1_SBo
> >
> > ... though not sure which (if any) of these packages is the one it wants.
> >
> > So I'm stuck again. Anyone have a next step to suggest?
> >
> > At least I got python3-setuptools-opt installed.
> >
> > thanks!
> >
> > Judah
> >
>
> Hi Judah,
>
> This is the full dependency list required for python-zipp, from my local build log (I use slackrepo to build in a clean chroot):
>
> Building python/python-zipp (rebuild for updated deps) 2026-02-03 15:47:51
> Verifying source files ...
> Installing dependencies ...
> python3-flit_core-3.12.0-x86_64-1_SBo: Simplified pkging of Python modules, core b [ 180K]
> python3-installer-0.7.0-x86_64-6_SBo: Library for installing Python packages from [ 1.1M]
> python3-pyproject-hooks-1.2.0-x86_64-1_SBo: Wrappers to call PEP 517 build backend [ 120K]
> python3-build-1.3.0-x86_64-1_SBo: a simple, correct PEP517 package builder ....... [ 230K]
> python3-packaging-opt-26.0-noarch-1_SBo: Install packaging in /opt ............... [ 740K]
> python3-wheel-0.45.1-x86_64-1_SBo: A built-package format for Python ............. [ 650K]
> python3-setuptools-opt-80.10.2-x86_64-1_SBo: Install setuptools from -current in / [ 9.6M]
> Running python-zipp.SlackBuild ... ETA 15:48:??
>
> ...
>
> Built ok: python-zipp-3.21.0-x86_64-11_SBo.txz 15:47:53
> Unmounting chroot ...
> Backed up: python-zipp-3.21.0-x86_64-10_SBo.txz
> :-) python/python-zipp Rebuilt for updated deps (-:
>
>
>
>
> Erich
More information about the SlackBuilds-users
mailing list