[MacPorts] #69106: py38-setuptools_scm, py39-setuptools_scm @8.0.4 fails to install, while py310-setuptools_scm and later install fine

MacPorts noreply at macports.org
Tue Feb 13 20:20:32 UTC 2024


#69106: py38-setuptools_scm, py39-setuptools_scm @8.0.4 fails to install, while
py310-setuptools_scm and later install fine
-------------------------------------------------+-------------------------
  Reporter:  barracuda156                        |      Owner:  stromnov
      Type:  defect                              |     Status:  assigned
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:  2.8.1
Resolution:                                      |   Keywords:
      Port:  py39-setuptools_scm,                |
  py38-setuptools_scm                            |
-------------------------------------------------+-------------------------

Comment (by ballapete):

 I was too fast because I do not understand the purpose of this `py-
 bootstrap-modules` port:

 {{{
 DEBUG: system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 installer/py311-installer/work/installer-0.7.0" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11
 -m build --no-isolation --wheel --outdir
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 installer/py311-installer/work --skip-dependency-check
 Traceback (most recent call last):
   File "<frozen runpy>", line 189, in _run_module_as_main
   File "<frozen runpy>", line 148, in _get_module_details
   File "<frozen runpy>", line 112, in _get_module_details
   File "/opt/local/share/py-bootstrap-modules/build/__init__.py", line 24,
 in <module>
     import pyproject_hooks
 ModuleNotFoundError: No module named 'pyproject_hooks'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 installer/py311-installer/work/installer-0.7.0" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11
 -m build --no-isolation --wheel --outdir
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 installer/py311-installer/work --skip-dependency-check
 Exit code: 1
 Error: Failed to build py311-installer: command execution failed
 }}}

 So possibly with up-to-date software it needs now to include
 `pyproject_hooks`? -> `distfiles/py-
 pyproject_hooks/pyproject_hooks-1.0.0.tar.gz`

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


More information about the macports-tickets mailing list