Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Oct 2024 21:57:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 281823] devel/py-incremental: Update to 24.7.2
Message-ID:  <bug-281823-21822-Pn3hBsqhnm@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-281823-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-281823-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281823

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 upd=
ate
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 rever=
ted.
And then make the update later when setuptools is updated to 75.1.0.

[[1]]
=3D=3D=3D>  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_pro=
cess.py",
line 380, in <module>
    main()
  File
"/usr/local/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_pro=
cess.py",
line 364, in main
    json_out["return_val"] =3D hook(**hook_input["kwargs"])
  File
"/usr/local/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_pro=
cess.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", l=
ine
177, in get_requires_for_build_wheel
    return self._get_build_requires(
  File "/usr/local/lib/python3.8/site-packages/setuptools/build_meta.py", l=
ine
159, in _get_build_requires
    self.run_setup()
  File "/usr/local/lib/python3.8/site-packages/setuptools/build_meta.py", l=
ine
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 =3D 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 47=
4,
in __init__
    for ep in metadata.entry_points(group=3D'distutils.setup_keywords'):
  File
"/usr/local/lib/python3.8/site-packages/setuptools/_vendor/importlib_metada=
ta/__init__.py",
line 999, in entry
_points
    return SelectableGroups.load(eps).select(**params)
  File
"/usr/local/lib/python3.8/site-packages/setuptools/_vendor/importlib_metada=
ta/__init__.py",
line 449, in load
    ordered =3D sorted(eps, key=3Dby_group)
  File
"/usr/local/lib/python3.8/site-packages/setuptools/_vendor/importlib_metada=
ta/__init__.py",
line 996, in <gene
xpr>
    eps =3D itertools.chain.from_iterable(
  File
"/usr/local/lib/python3.8/site-packages/setuptools/_vendor/importlib_metada=
ta/_itertools.py",
line 16, in uniq
ue_everseen
    k =3D key(element)
AttributeError: 'PathDistribution' object has no attribute '_normalized_nam=
e'

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281823-21822-Pn3hBsqhnm>