[Bug 285909] devel/py-setuptools: AttributeError: 'PathDistribution' object has no attribute '_normalized_name'
- Reply: bugzilla-noreply_a_freebsd.org: "maintainer-feedback requested: [Bug 285909] devel/py-setuptools: AttributeError: 'PathDistribution' object has no attribute '_normalized_name'"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 285909] devel/py-setuptools: AttributeError: 'PathDistribution' object has no attribute '_normalized_name'"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 285909] devel/py-setuptools: AttributeError: 'PathDistribution' object has no attribute '_normalized_name'"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 285909] devel/py-setuptools: AttributeError: 'PathDistribution' object has no attribute '_normalized_name' on Python 3.9"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 285909] devel/py-setuptools: AttributeError: 'PathDistribution' object has no attribute '_normalized_name' on Python 3.9"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 285909] devel/py-setuptools: AttributeError: 'PathDistribution' object has no attribute '_normalized_name' on Python 3.9"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 06 Apr 2025 05:39:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285909
Bug ID: 285909
Summary: devel/py-setuptools: AttributeError:
'PathDistribution' object has no attribute
'_normalized_name'
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: python@FreeBSD.org
Reporter: niels@kobschaetzki.net
Flags: maintainer-feedback?(python@FreeBSD.org)
Assignee: python@FreeBSD.org
py-setuptools does not build for Python 3.9 with this error:
* Getting build dependencies for wheel...
Traceback (most recent call last):
File
"/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py",
line 389, in <module>
main()
File
"/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py",
line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
File
"/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py",
line 143, in get_requires_for_build_wheel
return hook(config_settings)
File
"/wrkdirs/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setuptools/build_meta.py",
line 177, in get_requires_for_build_wheel
return self._get_build_requires(
File
"/wrkdirs/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setuptools/build_meta.py",
line 159, in _get_build_requires
self.run_setup()
File
"/wrkdirs/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setuptools/build_meta.py",
line 174, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 87, in <module>
dist = setuptools.setup(**setup_params)
File
"/wrkdirs/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setuptools/__init__.py",
line 86, in setup
_install_setup_requires(attrs)
File
"/wrkdirs/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setuptools/__init__.py",
line 75, in _install_setup_requires
dist = MinimalDistribution(attrs)
File
"/wrkdirs/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setuptools/__init__.py",
line 57, in __init__
super().__init__(filtered)
File
"/wrkdirs/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setuptools/dist.py",
line 474, in __init__
for ep in metadata.entry_points(group='distutils.setup_keywords'):
File
"/wrkdirs/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setuptools/_vendor/importlib_metadata/__init__.py",
line 999, in entry_points
return SelectableGroups.load(eps).select(**params)
File
"/wrkdirs/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setuptools/_vendor/importlib_metadata/__init__.py",
line 449, in load
ordered = sorted(eps, key=by_group)
File
"/wrkdirs/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setuptools/_vendor/importlib_metadata/__init__.py",
line 996, in <genexpr>
eps = itertools.chain.from_iterable(
File
"/wrkdirs/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setuptools/_vendor/importlib_metadata/_itertools.py",
line 16, in unique_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
--
You are receiving this mail because:
You are the assignee for the bug.