[MacPorts] #71033: py39-hdf5plugin @4.4.0: ImportError: cannot import name 'get_platform' from 'wheel.bdist_wheel'

MacPorts noreply at macports.org
Fri Oct 4 00:38:09 UTC 2024


#71033: py39-hdf5plugin @4.4.0: ImportError: cannot import name 'get_platform' from
'wheel.bdist_wheel'
------------------------+-----------------------------
 Reporter:  ryandesign  |      Owner:  joefowler
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.10.2
 Keywords:              |       Port:  py39-hdf5plugin
------------------------+-----------------------------
 https://build.macports.org/builders/ports-
 15_x86_64-builder/builds/4072/steps/install-port/logs/stdio

 {{{
 * Getting build dependencies for wheel...
 Traceback (most recent call last):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in
 <module>
     main()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in
 main
     json_out["return_val"] = hook(**hook_input["kwargs"])
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/pyproject_hooks/_in_process/_in_process.py", line 143, in
 get_requires_for_build_wheel
     return hook(config_settings)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/setuptools/build_meta.py", line 332, in
 get_requires_for_build_wheel
     return self._get_build_requires(config_settings, requirements=[])
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/setuptools/build_meta.py", line 302, in _get_build_requires
     self.run_setup()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/setuptools/build_meta.py", line 318, in run_setup
     exec(code, locals())
   File "<string>", line 50, in <module>
 ImportError: cannot import name 'get_platform' from 'wheel.bdist_wheel'
 (/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/wheel/bdist_wheel.py)

 ERROR Backend subprocess exited when trying to invoke
 get_requires_for_build_wheel
 Command failed:  cd "/opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_python_py-
 hdf5plugin/py39-hdf5plugin/work/hdf5plugin-4.4.0" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9
 -m build --no-isolation --wheel --outdir /opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_python_py-
 hdf5plugin/py39-hdf5plugin/work
 Exit code: 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/71033>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list