Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Apr 2025 05:39:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 285909] devel/py-setuptools: AttributeError: 'PathDistribution' object has no attribute '_normalized_name'
Message-ID:  <bug-285909-21822@https.bugs.freebsd.org/bugzilla/>

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

            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_pro=
cess.py",
line 389, in <module>
    main()
  File
"/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_pro=
cess.py",
line 373, in main
    json_out["return_val"] =3D hook(**hook_input["kwargs"])
  File
"/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_pro=
cess.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/setupto=
ols/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/setupto=
ols/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/setupto=
ols/build_meta.py",
line 174, in run_setup
    exec(compile(code, __file__, 'exec'), locals())
  File "setup.py", line 87, in <module>
    dist =3D setuptools.setup(**setup_params)
  File
"/wrkdirs/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setupto=
ols/__init__.py",
line 86, in setup
    _install_setup_requires(attrs)
  File
"/wrkdirs/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setupto=
ols/__init__.py",
line 75, in _install_setup_requires
    dist =3D MinimalDistribution(attrs)
  File
"/wrkdirs/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setupto=
ols/__init__.py",
line 57, in __init__
    super().__init__(filtered)
  File
"/wrkdirs/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setupto=
ols/dist.py",
line 474, in __init__
    for ep in metadata.entry_points(group=3D'distutils.setup_keywords'):
  File
"/wrkdirs/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setupto=
ols/_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/setupto=
ols/_vendor/importlib_metadata/__init__.py",
line 449, in load
    ordered =3D sorted(eps, key=3Dby_group)
  File
"/wrkdirs/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setupto=
ols/_vendor/importlib_metadata/__init__.py",
line 996, in <genexpr>
    eps =3D itertools.chain.from_iterable(
  File
"/wrkdirs/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setupto=
ols/_vendor/importlib_metadata/_itertools.py",
line 16, in unique_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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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