• Bug#1098599: python-flasgger: FTBFS: E TypeError: CliRunner.__init__()

    From Santiago Vila@21:1/5 to All on Sat Feb 22 00:40:19 2025
    Package: src:python-flasgger
    Version: 0.9.7.2~dev2+dfsg-3
    Severity: serious
    Tags: ftbfs trixie sid

    Dear maintainer:

    During a rebuild of all packages in unstable, your package failed to build:

    --------------------------------------------------------------------------------
    [...]
    debian/rules clean
    dh clean --with python3 --buildsystem=pybuild
    dh_auto_clean -O--buildsystem=pybuild
    I: pybuild base:311: python3.12 setup.py clean
    running clean
    removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build' (and everything under it)
    'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.12' does not exist -- can't clean it
    I: pybuild base:311: python3.13 setup.py clean
    running clean
    removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build' (and everything under it)
    'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.13' does not exist -- can't clean it
    dh_autoreconf_clean -O--buildsystem=pybuild
    dh_clean -O--buildsystem=pybuild
    debian/rules binary
    dh binary --with python3 --buildsystem=pybuild
    dh_update_autotools_config -O--buildsystem=pybuild
    dh_autoreconf -O--buildsystem=pybuild
    dh_auto_configure -O--buildsystem=pybuild
    I: pybuild base:311: python3.12 setup.py config
    running config
    I: pybuild base:311: python3.13 setup.py config
    running config
    dh_auto_build -O--buildsystem=pybuild
    I: pybuild base:311: /usr/bin/python3.12 setup.py build
    running build
    running build_py
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger copying flasgger/constants.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger
    copying flasgger/commands.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger
    copying flasgger/marshmallow_apispec.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger
    copying flasgger/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger
    copying flasgger/compatible.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger
    copying flasgger/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger
    copying flasgger/base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger
    running egg_info
    creating flasgger.egg-info
    writing flasgger.egg-info/PKG-INFO
    writing dependency_links to flasgger.egg-info/dependency_links.txt
    writing entry points to flasgger.egg-info/entry_points.txt
    writing requirements to flasgger.egg-info/requires.txt
    writing top-level names to flasgger.egg-info/top_level.txt
    writing manifest file 'flasgger.egg-info/SOURCES.txt'
    reading manifest file 'flasgger.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching '*' under directory 'flasgger/ui2'
    warning: no files found matching '*' under directory 'flasgger/ui2/static' warning: no files found matching '*' under directory 'flasgger/ui2/static/css' warning: no files found matching '*' under directory 'flasgger/ui2/static/fonts'
    warning: no files found matching '*' under directory 'flasgger/ui2/static/images'
    warning: no files found matching '*' under directory 'flasgger/ui2/static/lang' warning: no files found matching '*' under directory 'flasgger/ui2/static/lib' warning: no files found matching '*' under directory 'flasgger/ui2/templates' warning: no files found matching '*' under directory 'flasgger/ui2/templates/flasgger'
    warning: no files found matching '*' under directory 'flasgger/ui3/static/css' warning: no files found matching '*' under directory 'flasgger/ui3/static/fonts'
    warning: no files found matching '*' under directory 'flasgger/ui3/static/images'
    warning: no files found matching '*' under directory 'flasgger/ui3/static/lang' warning: no previously-included files matching '__pycache__' found under directory 'flasgger'
    warning: no previously-included files matching '*.py[co]' found under directory 'flasgger'
    adding license file 'LICENSE'
    writing manifest file 'flasgger.egg-info/SOURCES.txt' /usr/lib/python3/dist-packages/setuptools/command/build_py.py:212: _Warning: Package 'flasgger.ui3.static' is absent from the `packages` configuration.
    !!

    ********************************************************************************
    ############################
    # Package would be ignored #
    ############################
    Python recognizes 'flasgger.ui3.static' as an importable package[^1],
    but it is absent from setuptools' `packages` configuration.

    This leads to an ambiguous overall configuration. If you want to distribute this
    package, please make sure that 'flasgger.ui3.static' is explicitly added
    to the `packages` configuration field.

    Alternatively, you can also rely on setuptools' discovery methods
    (for example by using `find_namespace_packages(...)`/`find_namespace:`
    instead of `find_packages(...)`/`find:`).

    You can read more about "package discovery" on setuptools documentation page:

    - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

    If you don't want 'flasgger.ui3.static' to be distributed and are
    already explicitly excluding 'flasgger.ui3.static' via
    `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
    you can try to use `exclude_package_data`, or `include-package-data=False` in
    combination with a more fine grained `package-data` configuration.

    You can read more about "package data files" on setuptools documentation page:

    - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


    [^1]: For Python, any directory (with suitable naming) can be imported,
    even if it does not contain any `.py` files.
    On the other hand, currently there is no concept of package data
    directory, all directories are treated like packages.
    ********************************************************************************

    !!
    check.warn(importable) /usr/lib/python3/dist-packages/setuptools/command/build_py.py:212: _Warning: Package 'flasgger.ui3.static.lib' is absent from the `packages` configuration.
    !!

    ********************************************************************************
    ############################
    # Package would be ignored #
    ############################
    Python recognizes 'flasgger.ui3.static.lib' as an importable package[^1],
    but it is absent from setuptools' `packages` configuration.

    This leads to an ambiguous overall configuration. If you want to distribute this
    package, please make sure that 'flasgger.ui3.static.lib' is explicitly added
    to the `packages` configuration field.

    Alternatively, you can also rely on setuptools' discovery methods
    (for example by using `find_namespace_packages(...)`/`find_namespace:`
    instead of `find_packages(...)`/`find:`).

    You can read more about "package discovery" on setuptools documentation page:

    - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

    If you don't want 'flasgger.ui3.static.lib' to be distributed and are
    already explicitly excluding 'flasgger.ui3.static.lib' via
    `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
    you can try to use `exclude_package_data`, or `include-package-data=False` in
    combination with a more fine grained `package-data` configuration.

    You can read more about "package data files" on setuptools documentation page:

    - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


    [^1]: For Python, any directory (with suitable naming) can be imported,
    even if it does not contain any `.py` files.
    On the other hand, currently there is no concept of package data
    directory, all directories are treated like packages.
    ********************************************************************************

    !!
    check.warn(importable) /usr/lib/python3/dist-packages/setuptools/command/build_py.py:212: _Warning: Package 'flasgger.ui3.templates.flasgger' is absent from the `packages` configuration.
    !!

    ********************************************************************************
    ############################
    # Package would be ignored #
    ############################
    Python recognizes 'flasgger.ui3.templates.flasgger' as an importable package[^1],
    but it is absent from setuptools' `packages` configuration.

    This leads to an ambiguous overall configuration. If you want to distribute this
    package, please make sure that 'flasgger.ui3.templates.flasgger' is explicitly added
    to the `packages` configuration field.

    Alternatively, you can also rely on setuptools' discovery methods
    (for example by using `find_namespace_packages(...)`/`find_namespace:`
    instead of `find_packages(...)`/`find:`).

    You can read more about "package discovery" on setuptools documentation page:

    - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

    If you don't want 'flasgger.ui3.templates.flasgger' to be distributed and are
    already explicitly excluding 'flasgger.ui3.templates.flasgger' via
    `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
    you can try to use `exclude_package_data`, or `include-package-data=False` in
    combination with a more fine grained `package-data` configuration.

    You can read more about "package data files" on setuptools documentation page:

    - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


    [^1]: For Python, any directory (with suitable naming) can be imported,
    even if it does not contain any `.py` files.
    On the other hand, currently there is no concept of package data
    directory, all directories are treated like packages.
    ********************************************************************************

    !!
    check.warn(importable)
    copying flasgger/.DS_Store -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger/ui3/static
    copying flasgger/ui3/static/favicon-16x16.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger/ui3/static
    copying flasgger/ui3/static/favicon-32x32.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger/ui3/static
    copying flasgger/ui3/static/swagger-ui-bundle.js -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger/ui3/static
    copying flasgger/ui3/static/swagger-ui-bundle.js.map -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger/ui3/static
    copying flasgger/ui3/static/swagger-ui-standalone-preset.js -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger/ui3/static
    copying flasgger/ui3/static/swagger-ui-standalone-preset.js.map -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger/ui3/static
    copying flasgger/ui3/static/swagger-ui.css -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger/ui3/static
    copying flasgger/ui3/static/swagger-ui.css.map -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger/ui3/static
    copying flasgger/ui3/static/swagger-ui.js -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger/ui3/static
    copying flasgger/ui3/static/swagger-ui.js.map -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger/ui3/static
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger/ui3/static/lib
    copying flasgger/ui3/static/lib/jquery.min.js -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger/ui3/static/lib
    copying flasgger/ui3/static/lib/jquery.min.map -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger/ui3/static/lib
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger/ui3/templates/flasgger
    copying flasgger/ui3/templates/flasgger/body_scripts.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger/ui3/templates/flasgger
    copying flasgger/ui3/templates/flasgger/custom_head.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger/ui3/templates/flasgger
    copying flasgger/ui3/templates/flasgger/footer.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger/ui3/templates/flasgger
    copying flasgger/ui3/templates/flasgger/head.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger/ui3/templates/flasgger
    copying flasgger/ui3/templates/flasgger/index.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger/ui3/templates/flasgger
    copying flasgger/ui3/templates/flasgger/oauth2-redirect.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger/ui3/templates/flasgger
    copying flasgger/ui3/templates/flasgger/swagger.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger/ui3/templates/flasgger
    copying flasgger/ui3/templates/flasgger/top.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build/flasgger/ui3/templates/flasgger
    I: pybuild base:311: /usr/bin/python3 setup.py build
    running build
    running build_py
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger copying flasgger/constants.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger
    copying flasgger/commands.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger
    copying flasgger/marshmallow_apispec.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger
    copying flasgger/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger
    copying flasgger/compatible.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger
    copying flasgger/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger
    copying flasgger/base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger
    running egg_info
    writing flasgger.egg-info/PKG-INFO
    writing dependency_links to flasgger.egg-info/dependency_links.txt
    writing entry points to flasgger.egg-info/entry_points.txt
    writing requirements to flasgger.egg-info/requires.txt
    writing top-level names to flasgger.egg-info/top_level.txt
    reading manifest file 'flasgger.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching '*' under directory 'flasgger/ui2'
    warning: no files found matching '*' under directory 'flasgger/ui2/static' warning: no files found matching '*' under directory 'flasgger/ui2/static/css' warning: no files found matching '*' under directory 'flasgger/ui2/static/fonts'
    warning: no files found matching '*' under directory 'flasgger/ui2/static/images'
    warning: no files found matching '*' under directory 'flasgger/ui2/static/lang' warning: no files found matching '*' under directory 'flasgger/ui2/static/lib' warning: no files found matching '*' under directory 'flasgger/ui2/templates' warning: no files found matching '*' under directory 'flasgger/ui2/templates/flasgger'
    warning: no files found matching '*' under directory 'flasgger/ui3/static/css' warning: no files found matching '*' under directory 'flasgger/ui3/static/fonts'
    warning: no files found matching '*' under directory 'flasgger/ui3/static/images'
    warning: no files found matching '*' under directory 'flasgger/ui3/static/lang' warning: no previously-included files matching '__pycache__' found under directory 'flasgger'
    warning: no previously-included files matching '*.py[co]' found under directory 'flasgger'
    adding license file 'LICENSE'
    writing manifest file 'flasgger.egg-info/SOURCES.txt' /usr/lib/python3/dist-packages/setuptools/command/build_py.py:212: _Warning: Package 'flasgger.ui3.static' is absent from the `packages` configuration.
    !!

    ********************************************************************************
    ############################
    # Package would be ignored #
    ############################
    Python recognizes 'flasgger.ui3.static' as an importable package[^1],
    but it is absent from setuptools' `packages` configuration.

    This leads to an ambiguous overall configuration. If you want to distribute this
    package, please make sure that 'flasgger.ui3.static' is explicitly added
    to the `packages` configuration field.

    Alternatively, you can also rely on setuptools' discovery methods
    (for example by using `find_namespace_packages(...)`/`find_namespace:`
    instead of `find_packages(...)`/`find:`).

    You can read more about "package discovery" on setuptools documentation page:

    - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

    If you don't want 'flasgger.ui3.static' to be distributed and are
    already explicitly excluding 'flasgger.ui3.static' via
    `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
    you can try to use `exclude_package_data`, or `include-package-data=False` in
    combination with a more fine grained `package-data` configuration.

    You can read more about "package data files" on setuptools documentation page:

    - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


    [^1]: For Python, any directory (with suitable naming) can be imported,
    even if it does not contain any `.py` files.
    On the other hand, currently there is no concept of package data
    directory, all directories are treated like packages.
    ********************************************************************************

    !!
    check.warn(importable) /usr/lib/python3/dist-packages/setuptools/command/build_py.py:212: _Warning: Package 'flasgger.ui3.static.lib' is absent from the `packages` configuration.
    !!

    ********************************************************************************
    ############################
    # Package would be ignored #
    ############################
    Python recognizes 'flasgger.ui3.static.lib' as an importable package[^1],
    but it is absent from setuptools' `packages` configuration.

    This leads to an ambiguous overall configuration. If you want to distribute this
    package, please make sure that 'flasgger.ui3.static.lib' is explicitly added
    to the `packages` configuration field.

    Alternatively, you can also rely on setuptools' discovery methods
    (for example by using `find_namespace_packages(...)`/`find_namespace:`
    instead of `find_packages(...)`/`find:`).

    You can read more about "package discovery" on setuptools documentation page:

    - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

    If you don't want 'flasgger.ui3.static.lib' to be distributed and are
    already explicitly excluding 'flasgger.ui3.static.lib' via
    `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
    you can try to use `exclude_package_data`, or `include-package-data=False` in
    combination with a more fine grained `package-data` configuration.

    You can read more about "package data files" on setuptools documentation page:

    - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


    [^1]: For Python, any directory (with suitable naming) can be imported,
    even if it does not contain any `.py` files.
    On the other hand, currently there is no concept of package data
    directory, all directories are treated like packages.
    ********************************************************************************

    !!
    check.warn(importable) /usr/lib/python3/dist-packages/setuptools/command/build_py.py:212: _Warning: Package 'flasgger.ui3.templates.flasgger' is absent from the `packages` configuration.
    !!

    ********************************************************************************
    ############################
    # Package would be ignored #
    ############################
    Python recognizes 'flasgger.ui3.templates.flasgger' as an importable package[^1],
    but it is absent from setuptools' `packages` configuration.

    This leads to an ambiguous overall configuration. If you want to distribute this
    package, please make sure that 'flasgger.ui3.templates.flasgger' is explicitly added
    to the `packages` configuration field.

    Alternatively, you can also rely on setuptools' discovery methods
    (for example by using `find_namespace_packages(...)`/`find_namespace:`
    instead of `find_packages(...)`/`find:`).

    You can read more about "package discovery" on setuptools documentation page:

    - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

    If you don't want 'flasgger.ui3.templates.flasgger' to be distributed and are
    already explicitly excluding 'flasgger.ui3.templates.flasgger' via
    `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
    you can try to use `exclude_package_data`, or `include-package-data=False` in
    combination with a more fine grained `package-data` configuration.

    You can read more about "package data files" on setuptools documentation page:

    - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


    [^1]: For Python, any directory (with suitable naming) can be imported,
    even if it does not contain any `.py` files.
    On the other hand, currently there is no concept of package data
    directory, all directories are treated like packages.
    ********************************************************************************

    !!
    check.warn(importable)
    copying flasgger/.DS_Store -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger/ui3/static
    copying flasgger/ui3/static/favicon-16x16.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger/ui3/static
    copying flasgger/ui3/static/favicon-32x32.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger/ui3/static
    copying flasgger/ui3/static/swagger-ui-bundle.js -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger/ui3/static
    copying flasgger/ui3/static/swagger-ui-bundle.js.map -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger/ui3/static
    copying flasgger/ui3/static/swagger-ui-standalone-preset.js -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger/ui3/static
    copying flasgger/ui3/static/swagger-ui-standalone-preset.js.map -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger/ui3/static
    copying flasgger/ui3/static/swagger-ui.css -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger/ui3/static
    copying flasgger/ui3/static/swagger-ui.css.map -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger/ui3/static
    copying flasgger/ui3/static/swagger-ui.js -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger/ui3/static
    copying flasgger/ui3/static/swagger-ui.js.map -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger/ui3/static
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger/ui3/static/lib
    copying flasgger/ui3/static/lib/jquery.min.js -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger/ui3/static/lib
    copying flasgger/ui3/static/lib/jquery.min.map -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger/ui3/static/lib
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger/ui3/templates/flasgger
    copying flasgger/ui3/templates/flasgger/body_scripts.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger/ui3/templates/flasgger
    copying flasgger/ui3/templates/flasgger/custom_head.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger/ui3/templates/flasgger
    copying flasgger/ui3/templates/flasgger/footer.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger/ui3/templates/flasgger
    copying flasgger/ui3/templates/flasgger/head.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger/ui3/templates/flasgger
    copying flasgger/ui3/templates/flasgger/index.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger/ui3/templates/flasgger
    copying flasgger/ui3/templates/flasgger/oauth2-redirect.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger/ui3/templates/flasgger
    copying flasgger/ui3/templates/flasgger/swagger.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger/ui3/templates/flasgger
    copying flasgger/ui3/templates/flasgger/top.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build/flasgger/ui3/templates/flasgger
    dh_auto_test -O--buildsystem=pybuild
    I: pybuild base:311: cd '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build'; python3.12 -m pytest --ignore tests/test_examples.py
    ============================= test session starts ==============================
    platform linux -- Python 3.12.9, pytest-8.3.4, pluggy-1.5.0
    rootdir: /<<PKGBUILDDIR>>
    plugins: typeguard-4.4.1
    collected 10 items

    tests/test_apispecs.py . [ 10%] tests/test_base.py ... [ 40%] tests/test_commands.py EEEE [ 80%] tests/test_utils.py .. [100%]

    ==================================== ERRORS ====================================
    _____________________ ERROR at setup of test_default_specs _____________________

    app = <Flask 'conftest'>

    @pytest.fixture(scope="function")
    def cli_runner(app):
    yield app.test_cli_runner(mix_stderr=False)

    tests/conftest.py:102:
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/flask/app.py:742: in test_cli_runner
    return cls(self, **kwargs) # type: ignore
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    self = <flask.testing.FlaskCliRunner object at 0x7f0a29f38f80>
    app = <Flask 'conftest'>, kwargs = {'mix_stderr': False}

    def __init__(self, app: Flask, **kwargs: t.Any) -> None:
    self.app = app
    super().__init__(**kwargs)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    /usr/lib/python3/dist-packages/flask/testing.py:272: TypeError _____________________ ERROR at setup of test_custom_specs ______________________

    app = <Flask 'conftest'>

    @pytest.fixture(scope="function")
    def cli_runner(app):
    yield app.test_cli_runner(mix_stderr=False)

    tests/conftest.py:102:
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/flask/app.py:742: in test_cli_runner
    return cls(self, **kwargs) # type: ignore
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    self = <flask.testing.FlaskCliRunner object at 0x7f0a29f37e30>
    app = <Flask 'conftest'>, kwargs = {'mix_stderr': False}

    def __init__(self, app: Flask, **kwargs: t.Any) -> None:
    self.app = app
    super().__init__(**kwargs)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    /usr/lib/python3/dist-packages/flask/testing.py:272: TypeError ___________________ ERROR at setup of test_invalid_endpoint ____________________

    app = <Flask 'conftest'>

    @pytest.fixture(scope="function")
    def cli_runner(app):
    yield app.test_cli_runner(mix_stderr=False)

    tests/conftest.py:102:
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/flask/app.py:742: in test_cli_runner
    return cls(self, **kwargs) # type: ignore
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    self = <flask.testing.FlaskCliRunner object at 0x7f0a29f39100>
    app = <Flask 'conftest'>, kwargs = {'mix_stderr': False}

    def __init__(self, app: Flask, **kwargs: t.Any) -> None:
    self.app = app
    super().__init__(**kwargs)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    /usr/lib/python3/dist-packages/flask/testing.py:272: TypeError
    _________ ERROR at setup of test_definitions_is_removed_for_openapi_3 __________

    app = <Flask 'conftest'>

    @pytest.fixture(scope="function")
    def cli_runner(app):
    yield app.test_cli_runner(mix_stderr=False)

    tests/conftest.py:102:
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/flask/app.py:742: in test_cli_runner
    return cls(self, **kwargs) # type: ignore
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    self = <flask.testing.FlaskCliRunner object at 0x7f0a29f3b890>
    app = <Flask 'conftest'>, kwargs = {'mix_stderr': False}

    def __init__(self, app: Flask, **kwargs: t.Any) -> None:
    self.app = app
    super().__init__(**kwargs)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    /usr/lib/python3/dist-packages/flask/testing.py:272: TypeError =========================== short test summary info ============================
    ERROR tests/test_commands.py::test_default_specs - TypeError: CliRunner.__ini...
    ERROR tests/test_commands.py::test_custom_specs - TypeError: CliRunner.__init...
    ERROR tests/test_commands.py::test_invalid_endpoint - TypeError: CliRunner.__...
    ERROR tests/test_commands.py::test_definitions_is_removed_for_openapi_3 - Typ...
    ========================= 6 passed, 4 errors in 0.10s ==========================
    E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flasgger/build'; python3.12 -m pytest --ignore tests/test_examples.py
    I: pybuild base:311: cd '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flasgger/build'; python3.13 -m pytest --ignore tests/test_examples.py
    ============================= test session starts ==============================
    platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0
    rootdir: /<<PKGBUILDDIR>>
    plugins: typeguard-4.4.1
    collected 10 items

    tests/test_apispecs.py . [ 10%] tests/test_base.py ... [ 40%] tests/test_commands.py EEEE [ 80%] tests/test_utils.py .. [100%]

    ==================================== ERRORS ====================================
    _____________________ ERROR at setup of test_default_specs _____________________

    app = <Flask 'conftest'>

    @pytest.fixture(scope="function")
    def cli_runner(app):
    yield app.test_cli_runner(mix_stderr=False)

    tests/conftest.py:102:
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/flask/app.py:742: in test_cli_runner
    return cls(self, **kwargs) # type: ignore
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    self = <flask.testing.FlaskCliRunner object at 0x7f9cb78fd400>
    app = <Flask 'conftest'>, kwargs = {'mix_stderr': False}

    def __init__(self, app: Flask, **kwargs: t.Any) -> None:
    self.app = app
    super().__init__(**kwargs)
    E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'

    /usr/lib/python3/dist-packages/flask/testing.py:272: TypeError _____________________ ERROR at setup of test_custom_specs ______________________

    app = <Flask 'conftest'>

    @pytest.fixture(scope="function")
    def cli_runner(app):

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Colin Watson@21:1/5 to All on Tue Mar 4 11:30:01 2025
    Control: tag -1 pending

    Hello,

    Bug #1098599 in python-flasgger reported by you has been fixed in the
    Git repository and is awaiting an upload. You can see the commit
    message below and you can check the diff of the fix at:

    https://salsa.debian.org/python-team/packages/python-flasgger/-/commit/3c07675321c85d9bad623b87d4245df3da24819f

    ------------------------------------------------------------------------
    Fix tests with Click 8.2

    Closes: #1098599 ------------------------------------------------------------------------

    (this message was generated automatically)
    --
    Greetings

    https://bugs.debian.org/1098599

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Tue Mar 4 11:30:01 2025
    Processing control commands:

    tag -1 pending
    Bug #1098599 [src:python-flasgger] python-flasgger: FTBFS: E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'
    Added tag(s) pending.

    --
    1098599: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098599
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Tue Mar 4 11:40:02 2025
    This is a multi-part message in MIME format...

    Your message dated Tue, 04 Mar 2025 10:36:05 +0000
    with message-id <E1tpPd7-001Xej-5q@fasolo.debian.org>
    and subject line Bug#1098599: fixed in python-flasgger 0.9.7.2~dev2+dfsg-4
    has caused the Debian Bug report #1098599,
    regarding python-flasgger: FTBFS: E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1098599: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098599
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 21 Feb 2025 23:28:40 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-117.4 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
    RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE,USER_IN_DKIM_WELCOMELIST,
    USER_IN_DKIM_WHITELIST,VIEWMOVIE,X_DEBBUGS_CC autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 98; hammy, 150; neutral, 399; spammy,
    0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--trixie,
    0.000-+--pkgbuilddir, 0.000-+--PKGBUILDDIR, 0.000-+--sk:dh_auto Return-path: <sanvila@debian.org>
    Received: from mitropoulos.debian.org ([2001:648:2ffc