Package: src:cmd2
Version: 2.5.11+ds-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202512/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:cmd2, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean  --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
        pybuild --clean -i python{version} -p "3.14 3.13"
        rm -rf .pybuild/
        find . -name \*.pyc -exec rm {} \;
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
        rm -f debian/debhelper-build-stamp
        rm -rf debian/.debhelper/
        rm -f -- debian/python3-cmd2.substvars debian/python-cmd2-doc.substvars 
debian/files
        rm -fr -- debian/python3-cmd2/ debian/tmp/ debian/python-cmd2-doc/
        find .  \( \( \
                \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path 
.\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o 
-type f -a \
                \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
                 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
                 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
                 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
                \) -exec rm -f {} + \) -o \
                \( -type d -a \( -name autom4te.cache -o -name __pycache__ \) 
-prune -exec rm -rf {} + \) \)
 debian/rules binary
dh binary  --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
        pybuild --configure -i python{version} -p "3.14 3.13"
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
        pybuild --build -i python{version} -p "3.14 3.13"
I: pybuild plugin_pyproject:131: Building wheel for python3.14 with "build" 
module
I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_cmd2  
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: 
SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
!!

        
********************************************************************************
        Please use a simple string containing a SPDX expression for 
`project.license`. You can also use `project.license-files`. (Both options 
available on setuptools>=77.0.0).

        By 2026-Feb-18, you need to update your project and remove deprecated 
calls
        or your builds will no longer be supported.

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  corresp(dist, value, root_dir)
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:61: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: MIT License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  dist._finalize_license_expression()
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: MIT License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib/cmd2
copying cmd2/clipboard.py -> build/lib/cmd2
copying cmd2/transcript.py -> build/lib/cmd2
copying cmd2/argparse_completer.py -> build/lib/cmd2
copying cmd2/plugin.py -> build/lib/cmd2
copying cmd2/py_bridge.py -> build/lib/cmd2
copying cmd2/table_creator.py -> build/lib/cmd2
copying cmd2/cmd2.py -> build/lib/cmd2
copying cmd2/parsing.py -> build/lib/cmd2
copying cmd2/command_definition.py -> build/lib/cmd2
copying cmd2/utils.py -> build/lib/cmd2
copying cmd2/constants.py -> build/lib/cmd2
copying cmd2/decorators.py -> build/lib/cmd2
copying cmd2/argparse_custom.py -> build/lib/cmd2
copying cmd2/rl_utils.py -> build/lib/cmd2
copying cmd2/exceptions.py -> build/lib/cmd2
copying cmd2/history.py -> build/lib/cmd2
copying cmd2/ansi.py -> build/lib/cmd2
copying cmd2/__init__.py -> build/lib/cmd2
running egg_info
writing cmd2.egg-info/PKG-INFO
writing dependency_links to cmd2.egg-info/dependency_links.txt
writing requirements to cmd2.egg-info/requires.txt
writing top-level names to cmd2.egg-info/top_level.txt
reading manifest file 'cmd2.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'noxfile.py'
no previously-included directories found matching '.github'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'docs/.nox'
warning: no previously-included files found matching '.github'
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching 'azure-pipelines.yml'
warning: no previously-included files matching 'htmlcov/**' found anywhere in 
distribution
warning: no previously-included files matching '.coverage*' found anywhere in 
distribution
warning: no previously-included files matching '__pycache__/**' found anywhere 
in distribution
warning: no previously-included files matching '.gitignore' found anywhere in 
distribution
adding license file 'LICENSE'
writing manifest file 'cmd2.egg-info/SOURCES.txt'
copying cmd2/py.typed -> build/lib/cmd2
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/cmd2
copying build/lib/cmd2/clipboard.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/transcript.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/argparse_completer.py -> 
build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/plugin.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/py_bridge.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/py.typed -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/table_creator.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/cmd2.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/parsing.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/command_definition.py -> 
build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/utils.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/constants.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/decorators.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/argparse_custom.py -> 
build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/rl_utils.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/exceptions.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/history.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/ansi.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/__init__.py -> build/bdist.linux-x86_64/wheel/./cmd2
running install_egg_info
Copying cmd2.egg-info to 
build/bdist.linux-x86_64/wheel/./cmd2-2.5.11+ds.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/cmd2-2.5.11+ds.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_cmd2/.tmp-bzp58fxy/cmd2-2.5.11+ds-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'cmd2/__init__.py'
adding 'cmd2/ansi.py'
adding 'cmd2/argparse_completer.py'
adding 'cmd2/argparse_custom.py'
adding 'cmd2/clipboard.py'
adding 'cmd2/cmd2.py'
adding 'cmd2/command_definition.py'
adding 'cmd2/constants.py'
adding 'cmd2/decorators.py'
adding 'cmd2/exceptions.py'
adding 'cmd2/history.py'
adding 'cmd2/parsing.py'
adding 'cmd2/plugin.py'
adding 'cmd2/py.typed'
adding 'cmd2/py_bridge.py'
adding 'cmd2/rl_utils.py'
adding 'cmd2/table_creator.py'
adding 'cmd2/transcript.py'
adding 'cmd2/utils.py'
adding 'cmd2-2.5.11+ds.dist-info/licenses/LICENSE'
adding 'cmd2-2.5.11+ds.dist-info/METADATA'
adding 'cmd2-2.5.11+ds.dist-info/WHEEL'
adding 'cmd2-2.5.11+ds.dist-info/top_level.txt'
adding 'cmd2-2.5.11+ds.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built cmd2-2.5.11+ds-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.14 with 
"installer" module
I: pybuild plugin_pyproject:131: Building wheel for python3.13 with "build" 
module
I: pybuild base:317: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_cmd2  
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: 
SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
!!

        
********************************************************************************
        Please use a simple string containing a SPDX expression for 
`project.license`. You can also use `project.license-files`. (Both options 
available on setuptools>=77.0.0).

        By 2026-Feb-18, you need to update your project and remove deprecated 
calls
        or your builds will no longer be supported.

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  corresp(dist, value, root_dir)
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:61: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: MIT License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  dist._finalize_license_expression()
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: MIT License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running bdist_wheel
running build
running build_py
running egg_info
writing cmd2.egg-info/PKG-INFO
writing dependency_links to cmd2.egg-info/dependency_links.txt
writing requirements to cmd2.egg-info/requires.txt
writing top-level names to cmd2.egg-info/top_level.txt
reading manifest file 'cmd2.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'noxfile.py'
no previously-included directories found matching '.github'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'docs/.nox'
warning: no previously-included files found matching '.github'
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching 'azure-pipelines.yml'
warning: no previously-included files matching 'htmlcov/**' found anywhere in 
distribution
warning: no previously-included files matching '.coverage*' found anywhere in 
distribution
warning: no previously-included files matching '__pycache__/**' found anywhere 
in distribution
warning: no previously-included files matching '.gitignore' found anywhere in 
distribution
adding license file 'LICENSE'
writing manifest file 'cmd2.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/cmd2
copying build/lib/cmd2/clipboard.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/transcript.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/argparse_completer.py -> 
build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/plugin.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/py_bridge.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/py.typed -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/table_creator.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/cmd2.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/parsing.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/command_definition.py -> 
build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/utils.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/constants.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/decorators.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/argparse_custom.py -> 
build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/rl_utils.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/exceptions.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/history.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/ansi.py -> build/bdist.linux-x86_64/wheel/./cmd2
copying build/lib/cmd2/__init__.py -> build/bdist.linux-x86_64/wheel/./cmd2
running install_egg_info
Copying cmd2.egg-info to 
build/bdist.linux-x86_64/wheel/./cmd2-2.5.11+ds.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/cmd2-2.5.11+ds.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_cmd2/.tmp-p12vtx5z/cmd2-2.5.11+ds-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'cmd2/__init__.py'
adding 'cmd2/ansi.py'
adding 'cmd2/argparse_completer.py'
adding 'cmd2/argparse_custom.py'
adding 'cmd2/clipboard.py'
adding 'cmd2/cmd2.py'
adding 'cmd2/command_definition.py'
adding 'cmd2/constants.py'
adding 'cmd2/decorators.py'
adding 'cmd2/exceptions.py'
adding 'cmd2/history.py'
adding 'cmd2/parsing.py'
adding 'cmd2/plugin.py'
adding 'cmd2/py.typed'
adding 'cmd2/py_bridge.py'
adding 'cmd2/rl_utils.py'
adding 'cmd2/table_creator.py'
adding 'cmd2/transcript.py'
adding 'cmd2/utils.py'
adding 'cmd2-2.5.11+ds.dist-info/licenses/LICENSE'
adding 'cmd2-2.5.11+ds.dist-info/METADATA'
adding 'cmd2-2.5.11+ds.dist-info/WHEEL'
adding 'cmd2-2.5.11+ds.dist-info/top_level.txt'
adding 'cmd2-2.5.11+ds.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built cmd2-2.5.11+ds-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with 
"installer" module
mkdocs build -d /<<PKGBUILDDIR>>/debian/html -f /<<PKGBUILDDIR>>/mkdocs.yml
INFO    -  [macros] - No default module `main` found
INFO    -  [macros] - Found j2 variable 'block_start_string': '[[%'
INFO    -  [macros] - Found j2 variable 'block_end_string': '%]]'
INFO    -  [macros] - Config variables: ['extra', 'config', 'environment', 
'plugin', 'git', 'last_updated', 'social', 'macros', 'filters', 
'filters_builtin']
INFO    -  [macros] - Config macros: ['context', 'macros_info', 'now', 
'fix_url']
INFO    -  [macros] - Config filters: ['pretty', 'relative_url']
INFO    -  Cleaning site directory
INFO    -  Building documentation to directory: /<<PKGBUILDDIR>>/debian/html
INFO    -  mkdocstrings_handlers: Formatting signatures requires either Black 
or Ruff to be installed.
WARNING -  mkdocs_autorefs: api/parsing.md: from 
/<<PKGBUILDDIR>>/cmd2/parsing.py:93: (cmd2.parsing.Statement) Could not find 
cross-reference target 'cmd2.Statement.args'
WARNING -  mkdocs_autorefs: api/parsing.md: from 
/<<PKGBUILDDIR>>/cmd2/parsing.py:93: (cmd2.parsing.Statement) Could not find 
cross-reference target 'cmd2.Statement.arg_list'
WARNING -  mkdocs_autorefs: api/parsing.md: from 
/<<PKGBUILDDIR>>/cmd2/parsing.py:93: (cmd2.parsing.Statement) Could not find 
cross-reference target 'cmd2.Statement.argv'
WARNING -  mkdocs_autorefs: api/parsing.md: from 
/<<PKGBUILDDIR>>/cmd2/parsing.py:205: 
(cmd2.parsing.Statement.expanded_command_line) Could not find cross-reference 
target 'cmd2.Statement.command_and_args'
WARNING -  mkdocs_autorefs: api/parsing.md: from 
/<<PKGBUILDDIR>>/cmd2/parsing.py:205: 
(cmd2.parsing.Statement.expanded_command_line) Could not find cross-reference 
target 'cmd2.Statement.post_command'
INFO    -  Documentation built in 4.01 seconds
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
        rm -f debian/python-cmd2-doc.debhelper.log 
debian/python3-cmd2.debhelper.log
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_test -- --system=custom --test-args="PYTHONPATH={build_dir} 
{interpreter} \
        -m pytest -k 'not test_version and not 
test_path_completion_complete_user and \
        not test_transcript and not test_find_editor_not_specified and \
        not test_run_script_with_binary_file and not test_utils.py'"
        pybuild --test --test-pytest -i python{version} -p "3.14 3.13" 
--system=custom --test-args="PYTHONPATH={build_dir} {interpreter}        -m 
pytest -k 'not test_version and not test_path_completion_complete_user and   
not test_transcript and not test_find_editor_not_specified and  not 
test_run_script_with_binary_file and not test_utils.py'"
I: pybuild base:317: 
PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_cmd2/build python3.14   -m 
pytest -k 'not test_version and not test_path_completion_complete_user and   
not test_transcript and not test_find_editor_not_specified and  not 
test_run_script_with_binary_file and not test_utils.py'
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
configfile: pyproject.toml
testpaths: tests
plugins: cov-5.0.0, typeguard-4.4.4, mock-3.15.1
collected 689 items / 3 errors / 116 deselected / 573 selected

==================================== ERRORS ====================================
___________________ ERROR collecting tests/test_argparse.py ____________________
tests/test_argparse.py:263: in <module>
    class SubcommandApp(cmd2.Cmd):
tests/test_argparse.py:284: in SubcommandApp
    parser_foo = base_subparsers.add_parser('foo', help='foo help')
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3.14/argparse.py:1282: in add_parser
    parser = self._parser_class(**kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   TypeError: Cmd2ArgumentParser.__init__() got an unexpected keyword argument 
'color'
______________ ERROR collecting tests/test_argparse_completer.py _______________
tests/test_argparse_completer.py:50: in <module>
    class ArgparseCompleterTester(cmd2.Cmd):
tests/test_argparse_completer.py:64: in ArgparseCompleterTester
    music_create_parser = music_subparsers.add_parser('create', help='create 
music')
                          
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3.14/argparse.py:1282: in add_parser
    parser = self._parser_class(**kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   TypeError: Cmd2ArgumentParser.__init__() got an unexpected keyword argument 
'color'
__________________ ERROR collecting tests/test_completion.py ___________________
tests/test_completion.py:23: in <module>
    from examples.subcommands import (
examples/subcommands.py:19: in <module>
    parser_foo = base_subparsers.add_parser('foo', help='foo help')
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3.14/argparse.py:1282: in add_parser
    parser = self._parser_class(**kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   TypeError: Cmd2ArgumentParser.__init__() got an unexpected keyword argument 
'color'

---------- coverage: platform linux, python 3.14.2-final-0 -----------
Name                         Stmts   Miss  Cover
------------------------------------------------
cmd2/__init__.py                23      2    91%
cmd2/ansi.py                   722     60    92%
cmd2/argparse_completer.py     332    300    10%
cmd2/argparse_custom.py        400    224    44%
cmd2/clipboard.py                7      2    71%
cmd2/cmd2.py                  2400   2075    14%
cmd2/command_definition.py      62     40    35%
cmd2/constants.py               26      0   100%
cmd2/decorators.py             121     58    52%
cmd2/exceptions.py              23      4    83%
cmd2/history.py                141    100    29%
cmd2/parsing.py                289    238    18%
cmd2/plugin.py                  11      0   100%
cmd2/py_bridge.py               41     27    34%
cmd2/rl_utils.py                59     33    44%
cmd2/table_creator.py          467    287    39%
cmd2/transcript.py             113     99    12%
cmd2/utils.py                  515    342    34%
------------------------------------------------
TOTAL                         5752   3891    32%
Coverage HTML written to dir htmlcov

=========================== short test summary info ============================
ERROR tests/test_argparse.py - TypeError: Cmd2ArgumentParser.__init__() got a...
ERROR tests/test_argparse_completer.py - TypeError: Cmd2ArgumentParser.__init...
ERROR tests/test_completion.py - TypeError: Cmd2ArgumentParser.__init__() got...
!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!
====================== 116 deselected, 3 errors in 2.78s =======================
E: pybuild pybuild:389: test: plugin custom failed with: exit code=2: 
PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_cmd2/build python3.14  -m 
pytest -k 'not test_version and not test_path_completion_complete_user and   
not test_transcript and not test_find_editor_not_specified and  not 
test_run_script_with_binary_file and not test_utils.py'
I: pybuild base:317: 
PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_cmd2/build python3.13   -m 
pytest -k 'not test_version and not test_path_completion_complete_user and   
not test_transcript and not test_find_editor_not_specified and  not 
test_run_script_with_binary_file and not test_utils.py'
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
configfile: pyproject.toml
testpaths: tests
plugins: cov-5.0.0, typeguard-4.4.4, mock-3.15.1
collected 991 items / 117 deselected / 874 selected

tests/test_ansi.py ...........................................           [  4%]
tests/test_argparse.py ..................................                [  8%]
tests/test_argparse_completer.py ....................................... [ 13%]
........................................................................ [ 21%]
.................................................                        [ 27%]
tests/test_argparse_custom.py ..........................                 [ 30%]
tests/test_cmd2.py ..................................................... [ 36%]
...s.................................................................... [ 44%]
........................................................................ [ 52%]
........................                                                 [ 55%]
tests/test_completion.py ............................................... [ 60%]
............................................................             [ 67%]
tests/test_history.py .................................................. [ 73%]
.                                                                        [ 73%]
tests/test_parsing.py .................................................. [ 79%]
........................................................................ [ 87%]
.......................                                                  [ 90%]
tests/test_plugin.py ..................................................  [ 95%]
tests/test_run_pyscript.py ...................                           [ 97%]
tests/test_table_creator.py .................                            [ 99%]
tests/test_utils_defining_class.py .                                     [100%]

---------- coverage: platform linux, python 3.13.11-final-0 ----------
Name                         Stmts   Miss  Cover
------------------------------------------------
cmd2/__init__.py                23      0   100%
cmd2/ansi.py                   722      0   100%
cmd2/argparse_completer.py     332      1    99%
cmd2/argparse_custom.py        400     32    92%
cmd2/clipboard.py                7      2    71%
cmd2/cmd2.py                  2400    361    85%
cmd2/command_definition.py      62     40    35%
cmd2/constants.py               26      0   100%
cmd2/decorators.py             121      2    98%
cmd2/exceptions.py              23      0   100%
cmd2/history.py                142      0   100%
cmd2/parsing.py                295      0   100%
cmd2/plugin.py                  18      0   100%
cmd2/py_bridge.py               41      0   100%
cmd2/rl_utils.py                59     14    76%
cmd2/table_creator.py          467      0   100%
cmd2/transcript.py             113     99    12%
cmd2/utils.py                  515    103    80%
------------------------------------------------
TOTAL                         5766    654    89%
Coverage HTML written to dir htmlcov


================ 873 passed, 1 skipped, 117 deselected in 7.01s ================
        rm -fr -- /tmp/dh-xdg-rundir-bAEiT0lI
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" --system=custom --test-args="PYTHONPATH={build_dir} {interpreter}   -m 
pytest -k 'not test_version and not test_path_completion_complete_user and   
not test_transcript and not test_find_editor_not_specified and  not 
test_run_script_with_binary_file and not test_utils.py'" returned exit code 13
make[1]: *** [debian/rules:23: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:5: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to