Opened 2 years ago
Closed 12 months ago
#69407 closed defect (fixed)
py311-ipython @8.22.1 build failure
| Reported by: | mfacorcoran | Owned by: | lpsinger (Leo Singer) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | stromnov (Andrey Stromnov) | |
| Port: | py-ipython |
Description
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.
Attachments (1)
Change History (3)
Changed 2 years ago by mfacorcoran
comment:1 Changed 2 years ago by jmroot (Joshua Root)
| Cc: | stromnov added |
|---|---|
| Owner: | set to lpsinger |
| Port: | py-ipython added |
| Status: | new → assigned |
comment:2 Changed 12 months ago by reneeotten (Renee Otten)
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.

in the meantime the port has been update to a newer version (and I working on the update to the 9.x branch right now); it looks like the current MacPort version already builds fine and I cannot reproduce this with my updated Portfile either.