Buildout Error on macOS Sequoia with Python.org Python – Any Fixes?

When trying to install Plone 6.0.15 using buildout on macOS Sequoia, I encounter the following error.

I have already read this thread:

I’m using the official Python installer from python.org.
Even after upgrading Python and recreating the virtual environment, the issue persists.

Has anyone else experienced the same issue when setting up a Plone environment with buildout on macOS?
Does anyone have any hints or suggestions for possible solutions?

I tried Python3.12.10 and Python 3.13.3

While:
  Installing.
  Getting section instance.
  Initializing section instance.
  Installing recipe plone.recipe.zope2instance.
  Getting distribution for 'zope.interface==7.1.1'.

An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/Users/terapyon/dev/trs/venv313/lib/python3.13/site-packages/zc/buildout/buildout.py", line 2325, in main
    getattr(buildout, command)(args)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/Users/terapyon/dev/trs/venv313/lib/python3.13/site-packages/zc/buildout/buildout.py", line 753, in install
    [self[part]['recipe'] for part in install_parts]
     ~~~~^^^^^^
  File "/Users/terapyon/dev/trs/venv313/lib/python3.13/site-packages/zc/buildout/buildout.py", line 1401, in __getitem__
    options._initialize()
    ~~~~~~~~~~~~~~~~~~~^^
  File "/Users/terapyon/dev/trs/venv313/lib/python3.13/site-packages/zc/buildout/buildout.py", line 1513, in _initialize
    self.initialize()
    ~~~~~~~~~~~~~~~^^
  File "/Users/terapyon/dev/trs/venv313/lib/python3.13/site-packages/zc/buildout/buildout.py", line 1519, in initialize
    recipe_class = _install_and_load(reqs, 'zc.buildout', entry, buildout)
  File "/Users/terapyon/dev/trs/venv313/lib/python3.13/site-packages/zc/buildout/buildout.py", line 1461, in _install_and_load
    zc.buildout.easy_install.install(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        [spec], dest,
        ^^^^^^^^^^^^^
    ...<6 lines>...
        versions=versions,
        ^^^^^^^^^^^^^^^^^^
        )
        ^
  File "/Users/terapyon/dev/trs/venv313/lib/python3.13/site-packages/zc/buildout/easy_install.py", line 1011, in install
    return installer.install(specs, working_set)
           ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
  File "/Users/terapyon/dev/trs/venv313/lib/python3.13/site-packages/zc/buildout/easy_install.py", line 784, in install
    for dist in self._get_dist(req, ws):
                ~~~~~~~~~~~~~~^^^^^^^^^
  File "/Users/terapyon/dev/trs/venv313/lib/python3.13/site-packages/zc/buildout/easy_install.py", line 619, in _get_dist
    dists = [_move_to_eggs_dir_and_compile(
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        dist, self._dest, project_name=requirement.project_name
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )]
    ^
  File "/Users/terapyon/dev/trs/venv313/lib/python3.13/site-packages/zc/buildout/easy_install.py", line 2072, in _move_to_eggs_dir_and_compile
    assert newdist is not None  # newloc above is missing our dist?!
           ^^^^^^^^^^^^^^^^^^^
AssertionError

I have seen this kind of errors en Linux, but they were gone after pinning setuptools and zc.buildout to the versions listed here:

https://dist.plone.org/release/6.0.15/requirements.txt

I just tried again but I got same error.

% python -V
Python 3.13.3


% pip list
Package        Version
-------------- -------
packaging      24.2
pip            25.0.1
robotframework 6.0.2
setuptools     75.8.2
wheel          0.45.1
zc.buildout    4.1.4
% buildout bootstrap
% ./bin/buildout