[MacPorts] #67046: Either python or py-prompt_toolkit is broken on Leopard: KeyError: '0 is not registered' when trying to run dependents

MacPorts noreply at macports.org
Sun Mar 5 22:13:55 UTC 2023


#67046: Either python or py-prompt_toolkit is broken on Leopard: KeyError: '0 is
not registered' when trying to run dependents
---------------------------+----------------------
  Reporter:  barracuda156  |      Owner:  xeron
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:
      Port:                |
---------------------------+----------------------

Comment (by barracuda156):

 Tests for `prompt_toolkit` pass on Leopard PPC:
 {{{
 --->  Testing py310-prompt_toolkit
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 prompt_toolkit/py310-prompt_toolkit/work/prompt_toolkit-3.0.33" &&
 py.test-3.10 -o addopts=''
 ============================= test session starts
 ==============================
 platform darwin -- Python 3.10.10, pytest-7.2.1, pluggy-1.0.0
 rootdir:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 prompt_toolkit/py310-prompt_toolkit/work/prompt_toolkit-3.0.33
 collected 145 items

 tests/test_async_generator.py .                                          [
 0%]
 tests/test_buffer.py .........                                           [
 6%]
 tests/test_cli.py ..................................                     [
 30%]
 tests/test_completion.py ..................                              [
 42%]
 tests/test_document.py ...........                                       [
 50%]
 tests/test_filter.py ......                                              [
 54%]
 tests/test_formatted_text.py .............                               [
 63%]
 tests/test_history.py ....                                               [
 66%]
 tests/test_inputstream.py ...........                                    [
 73%]
 tests/test_key_binding.py ......                                         [
 77%]
 tests/test_layout.py ..                                                  [
 79%]
 tests/test_print_formatted_text.py ....                                  [
 82%]
 tests/test_regular_languages.py ....                                     [
 84%]
 tests/test_shortcuts.py ..                                               [
 86%]
 tests/test_style.py .....                                                [
 89%]
 tests/test_style_transformation.py .                                     [
 90%]
 tests/test_utils.py .                                                    [
 91%]
 tests/test_vt100_output.py .                                             [
 91%]
 tests/test_widgets.py ..                                                 [
 93%]
 tests/test_yank_nth_arg.py ..........
 [100%]

 ======================= 145 passed in 110.04s (0:01:50)
 ========================
 }}}

 Might be bug in Python itself.

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


More information about the macports-tickets mailing list