py312-setuptools build fails if any installed setuptools plugin fails to import
:info:build ERROR Backend subprocess exited when trying to invoke build_wheel
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_ma
cports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-setu
ptools/py312-setuptools/work/setuptools-70.0.0" && /opt/local/Library/Frameworks
/Python.framework/Versions/3.12/bin/python3.12 -m build --no-isolation --wheel -
-outdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macp
orts.org_macports_release_tarballs_ports_python_py-setuptools/py312-setuptools/w
ork --skip-dependency-check
:info:build Exit code: 1
Change History (5)
Description: |
modified (diff)
|
Keywords: |
python312 setuptools removed
|
Owner: |
set to jmroot
|
Port: |
py-setuptools added; py312-setuptools removed
|
Status: |
new →
accepted
|
Keywords: |
upstream added
|
Resolution: |
→ wontfix
|
Status: |
accepted →
closed
|
Summary: |
py312-setuptools upgrade fails →
py312-setuptools build fails if any installed module fails to import
|
Summary: |
py312-setuptools build fails if any installed module fails to import →
py312-setuptools build fails if any installed setuptools plugin fails to import
|
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?