[Bug 281823] devel/py-incremental: Update to 24.7.2

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 07 Oct 2024 21:57:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281823

John Hein <jcfyecrayz@liamekaens.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jcfyecrayz@liamekaens.com,
                   |                            |python@FreeBSD.org

--- Comment #3 from John Hein <jcfyecrayz@liamekaens.com> ---
This update breaks on python3.8 and python3.9 (in poudriere and out). [[1]]

This is likely complicated by being stuck with an older setuptools.  Going even
older to setuptools58 is too old, of course - that doesn't support
pyproject.toml / pep517, and this version of py-incremental doesn't have
setup.py

py-incremental 24.7.2 builds if I patch my ports tree to use setuptools 75.1.0
(not sure where between 63.1.0 and 75.1.0 it starts working).  But that update
to setuptools 75.1.0 is WIP pending other changes (bug 270358).

If the py-incremental update to 24.7.2 is not needed, maybe it can be reverted.
And then make the update later when setuptools is updated to 75.1.0.

[[1]]
===>  Building for py38-incremental-24.7.2
* Getting build dependencies for wheel...
Traceback (most recent call last):
  File
"/usr/local/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_process.py",
line 380, in <module>
    main()
  File
"/usr/local/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_process.py",
line 364, in main
    json_out["return_val"] = hook(**hook_input["kwargs"])
  File
"/usr/local/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_process.py",
line 141, in get_requires
_for_build_wheel
    return hook(config_settings)
  File "/usr/local/lib/python3.8/site-packages/setuptools/build_meta.py", line
177, in get_requires_for_build_wheel
    return self._get_build_requires(
  File "/usr/local/lib/python3.8/site-packages/setuptools/build_meta.py", line
159, in _get_build_requires
    self.run_setup()
  File "/usr/local/lib/python3.8/site-packages/setuptools/build_meta.py", line
174, in run_setup
    exec(compile(code, __file__, 'exec'), locals())
  File "setup.py", line 1, in <module>
  File "/usr/local/lib/python3.8/site-packages/setuptools/__init__.py", line
86, in setup
    _install_setup_requires(attrs)
  File "/usr/local/lib/python3.8/site-packages/setuptools/__init__.py", line
75, in _install_setup_requires
    dist = MinimalDistribution(attrs)
  File "/usr/local/lib/python3.8/site-packages/setuptools/__init__.py", line
57, in __init__
    super().__init__(filtered)
  File "/usr/local/lib/python3.8/site-packages/setuptools/dist.py", line 474,
in __init__
    for ep in metadata.entry_points(group='distutils.setup_keywords'):
  File
"/usr/local/lib/python3.8/site-packages/setuptools/_vendor/importlib_metadata/__init__.py",
line 999, in entry
_points
    return SelectableGroups.load(eps).select(**params)
  File
"/usr/local/lib/python3.8/site-packages/setuptools/_vendor/importlib_metadata/__init__.py",
line 449, in load
    ordered = sorted(eps, key=by_group)
  File
"/usr/local/lib/python3.8/site-packages/setuptools/_vendor/importlib_metadata/__init__.py",
line 996, in <gene
xpr>
    eps = itertools.chain.from_iterable(
  File
"/usr/local/lib/python3.8/site-packages/setuptools/_vendor/importlib_metadata/_itertools.py",
line 16, in uniq
ue_everseen
    k = key(element)
AttributeError: 'PathDistribution' object has no attribute '_normalized_name'

ERROR Backend subprocess exited when trying to invoke
get_requires_for_build_wheel
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/py-incremental

-- 
You are receiving this mail because:
You are on the CC list for the bug.