[MacPorts] #66579: py310-cython @0.29.32: error: invalid command 'egg_info'

MacPorts noreply at macports.org
Thu Dec 29 04:44:58 UTC 2022

#66579: py310-cython @0.29.32: error: invalid command 'egg_info'
  Reporter:  ronf       |      Owner:  stromnov
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.8.0
Resolution:             |   Keywords:  ventura arm64
      Port:  py-cython  |

Comment (by ronf):

 Thanks for looking into this!

 I didn't have a second ARM64 machine available here to test on, but I was
 able to spin up a fresh macOS Ventura VM and install Xcode and MacPorts on
 it, and I can confirm in a completely fresh install I also did not see the
 problem. The py310-cython package and all its dependencies installed just
 fine. I'm going to take a closer look at the resulting files on the two
 systems, especially around files from setuptools, to see what differences
 might exist.

 What's odd here is that going through the "Migration" steps after
 upgrading to Ventura involved uninstalling ALL of the ports and installing
 fresh copies of all of them into an empty repository. So, other than the
 order ports were installed, it should have been very close to this fresh
 install. Also, manually uninstalling and reinstalling things like
 py310-setuptools hasn't helped.

 Here's what I get for "port installed py310-setuptools":

 The following ports are currently installed:
   py310-setuptools @65.6.3_0 (active)

 There doesn't appear to be any "build_meta" in setuptools, though:

 Python 3.10.9 (main, Dec 28 2022, 13:05:08) [Clang 14.0.0
 (clang-1400.0.29.202)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import setuptools.build_meta
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
 ModuleNotFoundError: No module named 'setuptools.build_meta'

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

More information about the macports-tickets mailing list