Opened 22 months ago
Last modified 22 months ago
#66579 closed defect
Error installing latest py310-cython (@0.29.32) on macOS Ventura (arm64) — at Initial Version
Reported by: | ronf (Ron Frederick) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | ventura arm64 | Cc: | |
Port: | py-cython |
Description
I recently upgraded my Mac to Ventura and have not been able to install py310-cython (which a number of other ports depend on). The problem appears to be related to setuptools/distutils, but attempts to uninstall and reinstall those haven't made a difference. Here's some of the relevant log output from the failure:
{{{:info:build /opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'python_requires' :info:build warnings.warn(msg) :info:build /opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'zip_safe' :info:build warnings.warn(msg) :info:build /opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'entry_points' :info:build warnings.warn(msg) :info:build usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] :info:build or: setup.py --help [cmd1 cmd2 ...] :info:build or: setup.py --help-commands :info:build or: setup.py cmd --help :info:build error: invalid command 'egg_info' :info:build ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-cython/py310-cython/work/Cython-0.29.32" && /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -m build --wheel --no-isolation --outdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-cython/py310-cython/work :info:build Exit code: 1 }}}
This is on a fresh install of MacPorts and all its pots after the OS upgrade, following the usual "Migration" documentation. Prior to the upgrade, the python install was working fine.
Full log from attempt to install py310-cython