[MacPorts] #69407: py311-ipython @8.22.1 build failure

MacPorts noreply at macports.org
Mon Feb 26 19:44:48 UTC 2024


#69407: py311-ipython  @8.22.1 build failure
-------------------------+--------------------
 Reporter:  mfacorcoran  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:
-------------------------+--------------------
 just did a port selfupdate and port upgrade outdated and py311-ipython
 fails to build with this error


 {{{
 :info:build * Getting build dependencies for wheel...
 :info:build * Building wheel...
 :info:build Traceback (most recent call last):
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in
 <module>
 :info:build     main()
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in
 main
 :info:build     json_out['return_val'] = hook(**hook_input['kwargs'])
 :info:build                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/pyproject_hooks/_in_process/_in_process.py", line 251, in
 build_wheel
 :info:build     return _build_backend().build_wheel(wheel_directory,
 config_settings,
 :info:build
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/hatchling/build.py", line 58, in build_wheel
 :info:build     return
 os.path.basename(next(builder.build(directory=wheel_directory,
 versions=['standard'])))
 :info:build
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/hatchling/builders/plugin/interface.py", line 147, in build
 :info:build     build_hook.initialize(version, build_data)
 :info:build   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_github
 .com_macports_macports-ports_python_py-
 ipykernel/py311-ipykernel/work/ipykernel-6.29.2/hatch_build.py", line 17,
 in initialize
 :info:build     from ipykernel.kernelspec import make_ipkernel_cmd,
 write_kernel_spec
 :info:build   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_github
 .com_macports_macports-ports_python_py-
 ipykernel/py311-ipykernel/work/ipykernel-6.29.2/ipykernel/kernelspec.py",
 line 22, in <module>
 :info:build     from .debugger import _is_debugpy_available
 :info:build   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_github
 .com_macports_macports-ports_python_py-
 ipykernel/py311-ipykernel/work/ipykernel-6.29.2/ipykernel/debugger.py",
 line 9, in <module>
 :info:build     from IPython.core.getipython import get_ipython
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/IPython/__init__.py", line 55, in <module>
 :info:build     from .terminal.embed import embed
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/IPython/terminal/embed.py", line 15, in <module>
 :info:build     from IPython.core.interactiveshell import DummyMod,
 InteractiveShell
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/IPython/core/interactiveshell.py", line 326, in <module>
 :info:build     class InteractiveShell(SingletonConfigurable):
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/IPython/core/interactiveshell.py", line 331, in
 InteractiveShell
 :info:build     ast_transformers: List[ast.NodeTransformer] = List(
 :info:build                       ~~~~^^^^^^^^^^^^^^^^^^^^^
 :info:build TypeError: type 'List' is not subscriptable
 :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_macports_sources_github
 .com_macports_macports-ports_python_py-
 ipykernel/py311-ipykernel/work/ipykernel-6.29.2" &&
 /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_github
 .com_macports_macports-ports_python_py-ipykernel/py311-ipykernel/work
 :info:build Exit code: 1
 :error:build Failed to build py311-ipykernel: command execution failed
 :debug:build Error code: CHILDSTATUS 20477 1
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec -callback
 portprogress::target_progress_callback build"
 :debug:build     (procedure "portbuild::build_main" line 10)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_github
 .com_macports_macports-ports_python_py-ipykernel/py311-ipykernel/main.log
 for details.
 }}}

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


More information about the macports-tickets mailing list