Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jul 2023 06:38:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 272530] devel/py-importlib-resources AttributeError: module 'importlib_metadata' has no attribute 'MetadataPathFinder'
Message-ID:  <bug-272530-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 272530
           Summary: devel/py-importlib-resources AttributeError: module
                    'importlib_metadata' has no attribute
                    'MetadataPathFinder'
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: alexvpetrov@gmail.com
             Flags: maintainer-feedback?(bofh@freebsd.org)
          Assignee: bofh@freebsd.org

=3D=3D=3D>  Building for py39-importlib-resources-6.0.0
* 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 353, in <module>
    main()
  File
"/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_pro=
cess.py",
line 335, 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 112, in get_requires_for_build_wheel
    backend =3D _build_backend()
  File
"/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_pro=
cess.py",
line 77, in _build_backend
    obj =3D import_module(mod_path)
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in
import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_remo=
ved
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_remo=
ved
  File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line
18, in <module>
    from setuptools.dist import Distribution
  File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 34=
, in
<module>
    from ._importlib import metadata
  File "/usr/local/lib/python3.9/site-packages/setuptools/_importlib.py", l=
ine
39, in <module>
    disable_importlib_metadata_finder(metadata)
  File "/usr/local/lib/python3.9/site-packages/setuptools/_importlib.py", l=
ine
28, in disable_importlib_metadata_finder
    to_remove =3D [
  File "/usr/local/lib/python3.9/site-packages/setuptools/_importlib.py", l=
ine
31, in <listcomp>
    if isinstance(ob, importlib_metadata.MetadataPathFinder)
AttributeError: module 'importlib_metadata' has no attribute
'MetadataPathFinder'

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

Stop.

--=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-272530-7788>