Changes between Initial Version and Version 1 of Ticket #70106


Ignore:
Timestamp:
May 29, 2024, 7:08:12 PM (6 months ago)
Author:
jmroot (Joshua Root)
Comment:
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/py2app/recipes/matplotlib.py", line 5, in <module>
:info:build     from pkg_resources import packaging
:info:build ImportError: cannot import name 'packaging' from 'pkg_resources' (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-setuptools/py312-setuptools/work/setuptools-70.0.0/pkg_resources/__init__.py)

I guess it's scanning all installed packages for some reason, and fails if any one of them fails to import, which the outdated version of py2app does. If you can't just use the prebuilt archive for some reason, try deactivating py312-py2app before upgrading setuptools?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #70106

    • Property Owner set to jmroot
    • Property Keywords python312 setuptools removed
    • Property Status changed from new to accepted
    • Property Port py-setuptools added; py312-setuptools removed
  • Ticket #70106 – Description

    initial v1  
     1{{{
    12:info:build ERROR Backend subprocess exited when trying to invoke build_wheel
    23:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_ma
     
    89ork --skip-dependency-check
    910:info:build Exit code: 1
     11}}}