[MacPorts] #69534: py39-setuptools @69.2.0: AttributeError: module 'importlib_metadata' has no attribute 'MetadataPathFinder'

MacPorts noreply at macports.org
Tue Mar 19 03:57:07 UTC 2024


#69534: py39-setuptools @69.2.0: AttributeError: module 'importlib_metadata' has no
attribute 'MetadataPathFinder'
------------------------------+----------------------
  Reporter:  ryandesign       |      Owner:  jmroot
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.9.1
Resolution:                   |   Keywords:
      Port:  py39-setuptools  |
------------------------------+----------------------

Comment (by ryandesign):

 Replying to [comment:2 jmroot]:
 > Seems to have built OK on the buildbot.]

 Yes, py39-libxml2 succeeded on the buildbot when it was last updated three
 weeks ago. I thought something might have changed since then.

 > I take it this is a local build.

 Yes, on macOS 12 x86_64.

 > Do you have py39-importlib-metadata installed?

 Yes, but I am using trace mode and I should have added that this appears:

 {{{
 Warning: The following existing files were hidden from the build system by
 trace mode:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/importlib_metadata/__init__.py
   /private/var/select/sh
 }}}

 When not using trace mode, the build (of either py39-libxml2 or
 py39-setuptools) succeeds.

-- 
Ticket URL: <https://trac.macports.org/ticket/69534#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list