[Slackbuilds-users] sbotools: multiline build options

J. Milgram milgram at cgpp.com
Wed May 27 06:10:08 UTC 2026


Actually, I had already tried that without success. Am trying again, 
having done this:

python3 -m pip uninstall importlib-metadata importlib_metadata

... suspecting I had mixed pip-installed and SBo packages (and it seems 
this is a bad thing to do and I have no memory of doing it.).

This let me build/install python3-setuptools-opt-80.10.2-x86_64-1_SBo 
(without reinstalling python-importlib_metadata)

Yay. Very encouraging, however: still can't build 
python-importlib_metadata, because:

python-importlib_metadata build fails  with a complaint about not 
finding zipp => 3.20. But I had it installed ... !??

So I removed python-zipp, but then it wouldn't build again, because ... 
python-importlib_metadata is missing.

In other words, a circular dependency.

Attempt to build python-zipp manually failed in the same way as sboinstall.

BTW both zipp and python-importlib_metadata builds are complaining about 
missing  setuptools_scm[toml]>=3.4.1 however I do have 
python3-setuptools-scm-opt-8.3.1-noarch-1_SBo installed, so I don't  
understand what the problem is.

So I'm making progress but not there yet and out of ideas. Anyway I need 
to set it aside until tomorrow.

Thanks again for the help and wisdom.

Judah



On 5/27/26 01:15, fourtysixandtwo wrote:
> Have you removed "python-importlib_metadata" and tried building
> python3-setuptools-opt yet?
>
> On Tue, May 26, 2026 at 8:17 AM J. Milgram via SlackBuilds-users
> <slackbuilds-users at slackbuilds.org> wrote:
>>
>> All good. Let's give it a go:
>>
>> The python-importlib_metadata manual build fails with:
>>
>> ERROR Missing dependencies:
>>           setuptools>=61.2
>>           setuptools_scm[toml]>=3.4.1
>>           importlib-metadata>=4.6 -> zipp>=3.20
>>
>> So right there I have a circular dependency:
>>
>> python-importlib_metadata: python3-setuptools_scm: (per the error
>> message, though not the SlackBuild info file)
>>
>> python3-setuptools_scm: python-importlib_metadata (per the info file)
>>
>> BTW attempt to build python3-setuptools_scm manually fails with the same
>> error (I think) I see when building python3-setuptools-opt:
>>
>> ===
>> AttributeError: 'PathDistribution' object has no attribute
>> '_normalized_name'
>>
>> ERROR Backend subprocess exited when trying to invoke
>> get_requires_for_build_sdist
>> ===
>>
>> More to follow ... (am still upgrading packages ... I obviously let
>> things go too long!)
>>
>> JM
>>
>>
>>
>>
>> On 5/26/26 04:53, 414N wrote:
>>> Il 26/05/26 03:38, J. Milgram via SlackBuilds-users ha scritto:
>>>> I tried building it as a standalone, manually with "sh python3-
>>>> setuptools-opt.SlackBuild". Same result.
>>>>
>>>> But good idea to try it. Thanks, and I'll report back after my SBo
>>>> upgrade campaign.
>>>>
>>>> Judah
>>> Sorry I was not more explicit about it: what I meant was to
>>> rebuild/upgrade manually the importlib-metadata package, not the
>>> setuptools-opt one.
>>>
>>> Your "pip3 list" output reports a version that is far behind the
>>> current one on SBo (4.10.1 vs 8.7.0).
>>>
>>> Updating this first might fix your issues with setuptools-opt.
>>>
>>>
>> --
>> =====
>> milgram at cgpp.com
>> 301-257-7069
>>
>>
>>
>> _______________________________________________
>> SlackBuilds-users mailing list
>> SlackBuilds-users at slackbuilds.org
>> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
>> FAQ - https://slackbuilds.org/faq/
>>

-- 
=====
milgram at cgpp.com
301-257-7069





More information about the SlackBuilds-users mailing list