--- Begin Message ---
Source: python-wsme
Version: 0.11.0-5
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240319 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make[1]: pyversions: No such file or directory
> py3versions: no X-Python3-Version in control file, using supported versions
> debian/rules:31: warning: overriding recipe for target
> 'override_dh_gencontrol'
> /usr/share/openstack-pkg-tools/pkgos.make:132: warning: ignoring old recipe
> for target 'override_dh_gencontrol'
> pkgos-dh_auto_install --no-py2
> + PKGOS_IN_TMP=no
> + echo WARNING: --no-py2 is deprecated and always on.
> WARNING: --no-py2 is deprecated and always on.
> + shift
> + dpkg-parsechangelog -SSource
> + SRC_PKG_NAME=python-wsme
> + echo python-wsme
> + sed s/python-//
> + PY_MODULE_NAME=wsme
> + py3versions -vr
> + PYTHON3S=3.12 3.11
> + [ no = yes ]
> + TARGET_DIR=python3-wsme
> + pwd
> + python3.12 setup.py install --install-layout=deb --root
> /<<PKGBUILDDIR>>/debian/python3-wsme
> /usr/lib/python3/dist-packages/setuptools/dist.py:744:
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
>
>
> ********************************************************************************
> Usage of dash-separated 'author-email' will not be supported in future
> versions. Please use the underscore name 'author_email' instead.
>
> This deprecation is overdue, please update your project and remove
> deprecated
> calls to avoid build errors in the future.
>
> See
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for
> details.
>
> ********************************************************************************
>
> !!
> opt = self.warn_dash_deprecation(opt, section)
> /usr/lib/python3/dist-packages/setuptools/dist.py:744:
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
>
>
> ********************************************************************************
> Usage of dash-separated 'description-file' will not be supported in
> future
> versions. Please use the underscore name 'description_file' instead.
>
> This deprecation is overdue, please update your project and remove
> deprecated
> calls to avoid build errors in the future.
>
> See
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for
> details.
>
> ********************************************************************************
>
> !!
> opt = self.warn_dash_deprecation(opt, section)
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84:
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are
> deprecated.
> !!
>
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
>
> ********************************************************************************
>
> !!
> dist.fetch_build_eggs(dist.setup_requires)
> /usr/lib/python3/dist-packages/setuptools/command/develop.py:40:
> EasyInstallDeprecationWarning: easy_install command is deprecated.
> !!
>
>
> ********************************************************************************
> Please avoid running ``setup.py`` and ``easy_install``.
> Instead, use pypa/build, pypa/installer or other
> standards-based tools.
>
> See https://github.com/pypa/setuptools/issues/917 for details.
>
> ********************************************************************************
>
> !!
> easy_install.initialize_options(self)
> /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66:
> SetuptoolsDeprecationWarning: setup.py install is deprecated.
> !!
>
>
> ********************************************************************************
> Please avoid running ``setup.py`` directly.
> Instead, use pypa/build, pypa/installer or other
> standards-based tools.
>
> See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
> for details.
>
> ********************************************************************************
>
> !!
> self.initialize_options()
> /usr/lib/python3/dist-packages/setuptools/dist.py:744:
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
>
>
> ********************************************************************************
> Usage of dash-separated 'author-email' will not be supported in future
> versions. Please use the underscore name 'author_email' instead.
>
> This deprecation is overdue, please update your project and remove
> deprecated
> calls to avoid build errors in the future.
>
> See
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for
> details.
>
> ********************************************************************************
>
> !!
> opt = self.warn_dash_deprecation(opt, section)
> /usr/lib/python3/dist-packages/setuptools/dist.py:744:
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
>
>
> ********************************************************************************
> Usage of dash-separated 'description-file' will not be supported in
> future
> versions. Please use the underscore name 'description_file' instead.
>
> This deprecation is overdue, please update your project and remove
> deprecated
> calls to avoid build errors in the future.
>
> See
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for
> details.
>
> ********************************************************************************
>
> !!
> opt = self.warn_dash_deprecation(opt, section)
> running install
> [pbr] Generating AUTHORS
> [pbr] AUTHORS complete (0.0s)
> running build
> running build_py
> creating build
> creating build/lib
> creating build/lib/wsme
> creating build/lib/wsme/tests
> copying wsme/tests/__init__.py -> build/lib/wsme/tests
> copying wsme/tests/test_exc.py -> build/lib/wsme/tests
> copying wsme/tests/test_types.py -> build/lib/wsme/tests
> copying wsme/tests/test_protocols.py -> build/lib/wsme/tests
> copying wsme/tests/test_api.py -> build/lib/wsme/tests
> copying wsme/tests/test_restxml.py -> build/lib/wsme/tests
> copying wsme/tests/test_protocols_commons.py -> build/lib/wsme/tests
> copying wsme/tests/test_utils.py -> build/lib/wsme/tests
> copying wsme/tests/protocol.py -> build/lib/wsme/tests
> copying wsme/tests/test_restjson.py -> build/lib/wsme/tests
> copying wsme/tests/test_root.py -> build/lib/wsme/tests
> copying wsme/utils.py -> build/lib/wsme
> copying wsme/root.py -> build/lib/wsme
> copying wsme/__init__.py -> build/lib/wsme
> copying wsme/exc.py -> build/lib/wsme
> copying wsme/types.py -> build/lib/wsme
> copying wsme/api.py -> build/lib/wsme
> copying wsme/protocol.py -> build/lib/wsme
> copying wsme/runtime.py -> build/lib/wsme
> creating build/lib/wsme/rest
> copying wsme/rest/__init__.py -> build/lib/wsme/rest
> copying wsme/rest/xml.py -> build/lib/wsme/rest
> copying wsme/rest/json.py -> build/lib/wsme/rest
> copying wsme/rest/protocol.py -> build/lib/wsme/rest
> copying wsme/rest/args.py -> build/lib/wsme/rest
> creating build/lib/wsmeext
> copying wsmeext/__init__.py -> build/lib/wsmeext
> copying wsmeext/flask.py -> build/lib/wsmeext
> copying wsmeext/sphinxext.py -> build/lib/wsmeext
> copying wsmeext/pecan.py -> build/lib/wsmeext
> running egg_info
> creating WSME.egg-info
> writing WSME.egg-info/PKG-INFO
> writing dependency_links to WSME.egg-info/dependency_links.txt
> writing entry points to WSME.egg-info/entry_points.txt
> writing namespace_packages to WSME.egg-info/namespace_packages.txt
> writing requirements to WSME.egg-info/requires.txt
> writing top-level names to WSME.egg-info/top_level.txt
> [pbr] Processing SOURCES.txt
> writing manifest file 'WSME.egg-info/SOURCES.txt'
> warning: no files found matching 'AUTHORS'
> warning: no files found matching 'ChangeLog'
> warning: no previously-included files found matching '.gitignore'
> warning: no previously-included files found matching '.gitreview'
> warning: no previously-included files matching '*.pyc' found anywhere in
> distribution
> adding license file 'LICENSE'
> writing manifest file 'WSME.egg-info/SOURCES.txt'
> running install_lib
> copying wsme/utils.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme
> copying wsme/root.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme
> copying wsme/__init__.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme
> copying wsme/exc.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme
> copying wsme/types.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme
> copying wsme/api.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme
> copying wsme/protocol.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme
> copying wsme/runtime.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme
> copying wsme/tests/__init__.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests
> copying wsme/tests/test_exc.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests
> copying wsme/tests/test_types.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests
> copying wsme/tests/test_protocols.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests
> copying wsme/tests/test_api.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests
> copying wsme/tests/test_restxml.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests
> copying wsme/tests/test_protocols_commons.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests
> copying wsme/tests/test_utils.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests
> copying wsme/tests/protocol.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests
> copying wsme/tests/test_restjson.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests
> copying wsme/tests/test_root.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests
> copying wsme/rest/__init__.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/rest
> copying wsme/rest/xml.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/rest
> copying wsme/rest/json.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/rest
> copying wsme/rest/protocol.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/rest
> copying wsme/rest/args.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/rest
> Skipping installation of
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsmeext/__init__.py
> (namespace package)
> copying wsmeext/flask.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsmeext
> copying wsmeext/sphinxext.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsmeext
> copying wsmeext/pecan.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsmeext
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/utils.py
> to utils.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/root.py
> to root.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/__init__.py
> to __init__.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/exc.py
> to exc.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/types.py
> to types.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/api.py
> to api.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/protocol.py
> to protocol.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/runtime.py
> to runtime.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests/__init__.py
> to __init__.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests/test_exc.py
> to test_exc.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests/test_types.py
> to test_types.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests/test_protocols.py
> to test_protocols.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests/test_api.py
> to test_api.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests/test_restxml.py
> to test_restxml.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests/test_protocols_commons.py
> to test_protocols_commons.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests/test_utils.py
> to test_utils.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests/protocol.py
> to protocol.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests/test_restjson.py
> to test_restjson.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests/test_root.py
> to test_root.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/rest/__init__.py
> to __init__.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/rest/xml.py
> to xml.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/rest/json.py
> to json.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/rest/protocol.py
> to protocol.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/rest/args.py
> to args.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsmeext/flask.py
> to flask.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsmeext/sphinxext.py
> to sphinxext.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsmeext/pecan.py
> to pecan.cpython-312.pyc
> running install_egg_info
> Copying WSME.egg-info to
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/WSME-0.11.0.egg-info
> Skipping SOURCES.txt
> Installing
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/WSME-0.11.0-nspkg.pth
> running install_scripts
> + pwd
> + python3.11 setup.py install --install-layout=deb --root
> /<<PKGBUILDDIR>>/debian/python3-wsme
> /usr/lib/python3/dist-packages/setuptools/dist.py:744:
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
>
>
> ********************************************************************************
> Usage of dash-separated 'author-email' will not be supported in future
> versions. Please use the underscore name 'author_email' instead.
>
> This deprecation is overdue, please update your project and remove
> deprecated
> calls to avoid build errors in the future.
>
> See
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for
> details.
>
> ********************************************************************************
>
> !!
> opt = self.warn_dash_deprecation(opt, section)
> /usr/lib/python3/dist-packages/setuptools/dist.py:744:
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
>
>
> ********************************************************************************
> Usage of dash-separated 'description-file' will not be supported in
> future
> versions. Please use the underscore name 'description_file' instead.
>
> This deprecation is overdue, please update your project and remove
> deprecated
> calls to avoid build errors in the future.
>
> See
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for
> details.
>
> ********************************************************************************
>
> !!
> opt = self.warn_dash_deprecation(opt, section)
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84:
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are
> deprecated.
> !!
>
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
>
> ********************************************************************************
>
> !!
> dist.fetch_build_eggs(dist.setup_requires)
> /usr/lib/python3/dist-packages/setuptools/command/develop.py:40:
> EasyInstallDeprecationWarning: easy_install command is deprecated.
> !!
>
>
> ********************************************************************************
> Please avoid running ``setup.py`` and ``easy_install``.
> Instead, use pypa/build, pypa/installer or other
> standards-based tools.
>
> See https://github.com/pypa/setuptools/issues/917 for details.
>
> ********************************************************************************
>
> !!
> easy_install.initialize_options(self)
> /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66:
> SetuptoolsDeprecationWarning: setup.py install is deprecated.
> !!
>
>
> ********************************************************************************
> Please avoid running ``setup.py`` directly.
> Instead, use pypa/build, pypa/installer or other
> standards-based tools.
>
> See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
> for details.
>
> ********************************************************************************
>
> !!
> self.initialize_options()
> /usr/lib/python3/dist-packages/setuptools/dist.py:744:
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
>
>
> ********************************************************************************
> Usage of dash-separated 'author-email' will not be supported in future
> versions. Please use the underscore name 'author_email' instead.
>
> This deprecation is overdue, please update your project and remove
> deprecated
> calls to avoid build errors in the future.
>
> See
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for
> details.
>
> ********************************************************************************
>
> !!
> opt = self.warn_dash_deprecation(opt, section)
> /usr/lib/python3/dist-packages/setuptools/dist.py:744:
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
>
>
> ********************************************************************************
> Usage of dash-separated 'description-file' will not be supported in
> future
> versions. Please use the underscore name 'description_file' instead.
>
> This deprecation is overdue, please update your project and remove
> deprecated
> calls to avoid build errors in the future.
>
> See
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for
> details.
>
> ********************************************************************************
>
> !!
> opt = self.warn_dash_deprecation(opt, section)
> running install
> [pbr] Generating AUTHORS
> [pbr] AUTHORS complete (0.0s)
> running build
> running build_py
> running egg_info
> writing WSME.egg-info/PKG-INFO
> writing dependency_links to WSME.egg-info/dependency_links.txt
> writing entry points to WSME.egg-info/entry_points.txt
> writing namespace_packages to WSME.egg-info/namespace_packages.txt
> writing requirements to WSME.egg-info/requires.txt
> writing top-level names to WSME.egg-info/top_level.txt
> [pbr] Reusing existing SOURCES.txt
> running install_lib
> copying wsme/utils.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme
> copying wsme/root.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme
> copying wsme/__init__.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme
> copying wsme/exc.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme
> copying wsme/types.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme
> copying wsme/api.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme
> copying wsme/protocol.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme
> copying wsme/runtime.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme
> copying wsme/tests/__init__.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests
> copying wsme/tests/test_exc.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests
> copying wsme/tests/test_types.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests
> copying wsme/tests/test_protocols.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests
> copying wsme/tests/test_api.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests
> copying wsme/tests/test_restxml.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests
> copying wsme/tests/test_protocols_commons.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests
> copying wsme/tests/test_utils.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests
> copying wsme/tests/protocol.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests
> copying wsme/tests/test_restjson.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests
> copying wsme/tests/test_root.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests
> copying wsme/rest/__init__.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/rest
> copying wsme/rest/xml.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/rest
> copying wsme/rest/json.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/rest
> copying wsme/rest/protocol.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/rest
> copying wsme/rest/args.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/rest
> Skipping installation of
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsmeext/__init__.py
> (namespace package)
> copying wsmeext/flask.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsmeext
> copying wsmeext/sphinxext.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsmeext
> copying wsmeext/pecan.py ->
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsmeext
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/utils.py
> to utils.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/root.py
> to root.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/__init__.py
> to __init__.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/exc.py
> to exc.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/types.py
> to types.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/api.py
> to api.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/protocol.py
> to protocol.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/runtime.py
> to runtime.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests/__init__.py
> to __init__.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests/test_exc.py
> to test_exc.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests/test_types.py
> to test_types.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests/test_protocols.py
> to test_protocols.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests/test_api.py
> to test_api.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests/test_restxml.py
> to test_restxml.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests/test_protocols_commons.py
> to test_protocols_commons.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests/test_utils.py
> to test_utils.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests/protocol.py
> to protocol.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests/test_restjson.py
> to test_restjson.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/tests/test_root.py
> to test_root.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/rest/__init__.py
> to __init__.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/rest/xml.py
> to xml.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/rest/json.py
> to json.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/rest/protocol.py
> to protocol.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsme/rest/args.py
> to args.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsmeext/flask.py
> to flask.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsmeext/sphinxext.py
> to sphinxext.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/wsmeext/pecan.py
> to pecan.cpython-311.pyc
> running install_egg_info
> removing
> '/<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/WSME-0.11.0.egg-info'
> (and everything under it)
> Copying WSME.egg-info to
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/WSME-0.11.0.egg-info
> Skipping SOURCES.txt
> Installing
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/WSME-0.11.0-nspkg.pth
> running install_scripts
> + pwd
> + rm -rf
> /<<PKGBUILDDIR>>/debian/python3-wsme/usr/lib/python3/dist-packages/WSME-0.11.0-nspkg.pth
> + pwd
> + rm -rf /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python*/dist-packages/*.pth
> set -e ; set -x ; for pyvers in 3.12 3.11 ; do \
> PYTHONPATH=. python$pyvers -m pytest -v tests ; \
> done
> + PYTHONPATH=. python3.12 -m pytest -v tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0 --
> /usr/bin/python3.12
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>
> collecting ... collected 39 items
>
> tests/pecantest/test/tests/test_ws.py::TestWS::test_body_parameter PASSED [
> 2%]
> tests/pecantest/test/tests/test_ws.py::TestWS::test_clientsideerror PASSED [
> 5%]
> tests/pecantest/test/tests/test_ws.py::TestWS::test_clientsideerror_status_code
> PASSED [ 7%]
> tests/pecantest/test/tests/test_ws.py::TestWS::test_custom_clientside_error
> PASSED [ 10%]
> tests/pecantest/test/tests/test_ws.py::TestWS::test_custom_non_http_clientside_error
> PASSED [ 12%]
> tests/pecantest/test/tests/test_ws.py::TestWS::test_get_all PASSED [
> 15%]
> tests/pecantest/test/tests/test_ws.py::TestWS::test_get_author PASSED [
> 17%]
> tests/pecantest/test/tests/test_ws.py::TestWS::test_json_only PASSED [
> 20%]
> tests/pecantest/test/tests/test_ws.py::TestWS::test_no_content_type_if_no_return_type
> PASSED [ 23%]
> tests/pecantest/test/tests/test_ws.py::TestWS::test_non_default_response
> PASSED [ 25%]
> tests/pecantest/test/tests/test_ws.py::TestWS::test_non_default_response_return_type
> PASSED [ 28%]
> tests/pecantest/test/tests/test_ws.py::TestWS::test_non_default_response_return_type_no_content
> PASSED [ 30%]
> tests/pecantest/test/tests/test_ws.py::TestWS::test_optional_array_param
> PASSED [ 33%]
> tests/pecantest/test/tests/test_ws.py::TestWS::test_optional_indexed_array_param
> PASSED [ 35%]
> tests/pecantest/test/tests/test_ws.py::TestWS::test_options_indexed_object_array_param
> PASSED [ 38%]
> tests/pecantest/test/tests/test_ws.py::TestWS::test_options_object_array_param
> PASSED [ 41%]
> tests/pecantest/test/tests/test_ws.py::TestWS::test_post_body_parameter
> PASSED [ 43%]
> tests/pecantest/test/tests/test_ws.py::TestWS::test_post_body_parameter_validation
> PASSED [ 46%]
> tests/pecantest/test/tests/test_ws.py::TestWS::test_put_parameter_validate
> PASSED [ 48%]
> tests/pecantest/test/tests/test_ws.py::TestWS::test_serversideerror PASSED [
> 51%]
> tests/pecantest/test/tests/test_ws.py::TestWS::test_serversideerror_with_debug
> PASSED [ 53%]
> tests/pecantest/test/tests/test_ws.py::TestWS::test_xml_only PASSED [
> 56%]
> tests/rest/test_args.py::TestArgs::test_args_from_body PASSED [
> 58%]
> tests/test_flask.py::FlaskrTestCase::test_array_parameter PASSED [
> 61%]
> tests/test_flask.py::FlaskrTestCase::test_custom_clientside_error PASSED [
> 64%]
> tests/test_flask.py::FlaskrTestCase::test_custom_non_http_clientside_error
> PASSED [ 66%]
> tests/test_flask.py::FlaskrTestCase::test_get_model PASSED [
> 69%]
> tests/test_flask.py::FlaskrTestCase::test_get_status_response PASSED [
> 71%]
> tests/test_flask.py::FlaskrTestCase::test_get_status_sig PASSED [
> 74%]
> tests/test_flask.py::FlaskrTestCase::test_list_models PASSED [
> 76%]
> tests/test_flask.py::FlaskrTestCase::test_multiply PASSED [
> 79%]
> tests/test_flask.py::FlaskrTestCase::test_post_model FAILED [
> 82%]
> tests/test_flask.py::FlaskrTestCase::test_restful_get PASSED [
> 84%]
> tests/test_flask.py::FlaskrTestCase::test_restful_post FAILED [
> 87%]
> tests/test_flask.py::FlaskrTestCase::test_serversideerror PASSED [
> 89%]
> tests/test_sphinxext.py::TestSphinxExt::test_buildhtml PASSED [
> 92%]
> tests/test_sphinxext.py::TestDataTypeName::test_array_type PASSED [
> 94%]
> tests/test_sphinxext.py::TestDataTypeName::test_dict_type PASSED [
> 97%]
> tests/test_sphinxext.py::TestDataTypeName::test_user_type PASSED
> [100%]
>
> =================================== FAILURES
> ===================================
> ________________________ FlaskrTestCase.test_post_model
> ________________________
>
> self = <test_flask.FlaskrTestCase testMethod=test_post_model>
>
> def test_post_model(self):
> resp = self.app.post('/models', data={"body.name": "test"})
> assert resp.status_code == 200
> > resp = self.app.post(
> '/models',
> data=json.dumps({"name": "test"}),
> content_type="application/json"
> )
>
> tests/test_flask.py:128:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> /usr/lib/python3/dist-packages/werkzeug/test.py:1165: in post
> return self.open(*args, **kw)
> /usr/lib/python3/dist-packages/flask/testing.py:235: in open
> response = super().open(
> /usr/lib/python3/dist-packages/werkzeug/test.py:1114: in open
> response = self.run_wsgi_app(request.environ, buffered=buffered)
> /usr/lib/python3/dist-packages/werkzeug/test.py:986: in run_wsgi_app
> rv = run_wsgi_app(self.application, environ, buffered=buffered)
> /usr/lib/python3/dist-packages/werkzeug/test.py:1262: in run_wsgi_app
> app_rv = app(environ, start_response)
> /usr/lib/python3/dist-packages/flask/app.py:1488: in __call__
> return self.wsgi_app(environ, start_response)
> /usr/lib/python3/dist-packages/flask/app.py:1466: in wsgi_app
> response = self.handle_exception(e)
> /usr/lib/python3/dist-packages/flask_restful/__init__.py:298: in error_router
> return original_handler(e)
> /usr/lib/python3/dist-packages/flask/app.py:1463: in wsgi_app
> response = self.full_dispatch_request()
> /usr/lib/python3/dist-packages/flask/app.py:872: in full_dispatch_request
> rv = self.handle_user_exception(e)
> /usr/lib/python3/dist-packages/flask_restful/__init__.py:298: in error_router
> return original_handler(e)
> /usr/lib/python3/dist-packages/flask/app.py:870: in full_dispatch_request
> rv = self.dispatch_request()
> /usr/lib/python3/dist-packages/flask/app.py:855: in dispatch_request
> return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
> # type: ignore[no-any-return]
> wsmeext/flask.py:55: in wrapper
> args, kwargs = wsme.rest.args.get_args(
> wsme/rest/args.py:294: in get_args
> from_body = args_from_body(funcdef, body, mimetype)
> wsme/rest/args.py:239: in args_from_body
> kw = dataformat.parse(
> /usr/lib/python3/dist-packages/mock/mock.py:1178: in __call__
> return _mock_self._mock_call(*args, **kwargs)
> /usr/lib/python3/dist-packages/mock/mock.py:1182: in _mock_call
> return _mock_self._execute_mock_call(*args, **kwargs)
> /usr/lib/python3/dist-packages/mock/mock.py:1239: in _execute_mock_call
> raise effect
> wsme/rest/args.py:239: in args_from_body
> kw = dataformat.parse(
> /usr/lib/python3/dist-packages/mock/mock.py:1178: in __call__
> return _mock_self._mock_call(*args, **kwargs)
> /usr/lib/python3/dist-packages/mock/mock.py:1182: in _mock_call
> return _mock_self._execute_mock_call(*args, **kwargs)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> _mock_self = <MagicMock id='140705322274928'>
> args = (<MagicMock id='140705329840832'>, {<MagicMock
> name='mock.arguments.__getitem__().name' id='140705322329840'>: <MagicMock
> name='mock.body_type' id='140705336528960'>})
> kwargs = {'bodyarg': True}, self = <MagicMock id='140705322274928'>
> effect = UnknownArgument('Unknown argument: ""')
>
> def _execute_mock_call(_mock_self, *args, **kwargs):
> self = _mock_self
> # separate from _increment_mock_call so that awaited functions are
> # executed separately from their call, also AsyncMock overrides this
> method
>
> effect = self.side_effect
> if effect is not None:
> if _is_exception(effect):
> > raise effect
> E wsme.exc.UnknownArgument: Unknown argument: ""
>
> /usr/lib/python3/dist-packages/mock/mock.py:1239: UnknownArgument
> _______________________ FlaskrTestCase.test_restful_post
> _______________________
>
> self = <test_flask.FlaskrTestCase testMethod=test_restful_post>
>
> def test_restful_post(self):
> > r = self.app.post(
> '/restful',
> data=json.dumps({'id': 5, 'name': u'Huguette'}),
> headers={
> 'Accept': 'application/json',
> 'Content-Type': 'application/json'})
>
> tests/test_flask.py:198:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> /usr/lib/python3/dist-packages/werkzeug/test.py:1165: in post
> return self.open(*args, **kw)
> /usr/lib/python3/dist-packages/flask/testing.py:235: in open
> response = super().open(
> /usr/lib/python3/dist-packages/werkzeug/test.py:1114: in open
> response = self.run_wsgi_app(request.environ, buffered=buffered)
> /usr/lib/python3/dist-packages/werkzeug/test.py:986: in run_wsgi_app
> rv = run_wsgi_app(self.application, environ, buffered=buffered)
> /usr/lib/python3/dist-packages/werkzeug/test.py:1262: in run_wsgi_app
> app_rv = app(environ, start_response)
> /usr/lib/python3/dist-packages/flask/app.py:1488: in __call__
> return self.wsgi_app(environ, start_response)
> /usr/lib/python3/dist-packages/flask/app.py:1466: in wsgi_app
> response = self.handle_exception(e)
> /usr/lib/python3/dist-packages/flask_restful/__init__.py:298: in error_router
> return original_handler(e)
> /usr/lib/python3/dist-packages/flask_restful/__init__.py:295: in error_router
> return self.handle_error(e)
> /usr/lib/python3/dist-packages/flask_restful/__init__.py:310: in handle_error
> _handle_flask_propagate_exceptions_config(current_app, e)
> /usr/lib/python3/dist-packages/flask/app.py:1463: in wsgi_app
> response = self.full_dispatch_request()
> /usr/lib/python3/dist-packages/flask/app.py:872: in full_dispatch_request
> rv = self.handle_user_exception(e)
> /usr/lib/python3/dist-packages/flask_restful/__init__.py:298: in error_router
> return original_handler(e)
> /usr/lib/python3/dist-packages/flask_restful/__init__.py:295: in error_router
> return self.handle_error(e)
> /usr/lib/python3/dist-packages/flask_restful/__init__.py:310: in handle_error
> _handle_flask_propagate_exceptions_config(current_app, e)
> /usr/lib/python3/dist-packages/flask/app.py:870: in full_dispatch_request
> rv = self.dispatch_request()
> /usr/lib/python3/dist-packages/flask/app.py:855: in dispatch_request
> return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
> # type: ignore[no-any-return]
> /usr/lib/python3/dist-packages/flask_restful/__init__.py:489: in wrapper
> resp = resource(*args, **kwargs)
> /usr/lib/python3/dist-packages/flask/views.py:110: in view
> return current_app.ensure_sync(self.dispatch_request)(**kwargs) # type:
> ignore[no-any-return]
> /usr/lib/python3/dist-packages/flask_restful/__init__.py:604: in
> dispatch_request
> resp = meth(*args, **kwargs)
> wsmeext/flask.py:55: in wrapper
> args, kwargs = wsme.rest.args.get_args(
> wsme/rest/args.py:294: in get_args
> from_body = args_from_body(funcdef, body, mimetype)
> wsme/rest/args.py:239: in args_from_body
> kw = dataformat.parse(
> /usr/lib/python3/dist-packages/mock/mock.py:1178: in __call__
> return _mock_self._mock_call(*args, **kwargs)
> /usr/lib/python3/dist-packages/mock/mock.py:1182: in _mock_call
> return _mock_self._execute_mock_call(*args, **kwargs)
> /usr/lib/python3/dist-packages/mock/mock.py:1239: in _execute_mock_call
> raise effect
> tests/test_flask.py:128: in test_post_model
> resp = self.app.post(
> /usr/lib/python3/dist-packages/werkzeug/test.py:1165: in post
> return self.open(*args, **kw)
> /usr/lib/python3/dist-packages/flask/testing.py:235: in open
> response = super().open(
> /usr/lib/python3/dist-packages/werkzeug/test.py:1114: in open
> response = self.run_wsgi_app(request.environ, buffered=buffered)
> /usr/lib/python3/dist-packages/werkzeug/test.py:986: in run_wsgi_app
> rv = run_wsgi_app(self.application, environ, buffered=buffered)
> /usr/lib/python3/dist-packages/werkzeug/test.py:1262: in run_wsgi_app
> app_rv = app(environ, start_response)
> /usr/lib/python3/dist-packages/flask/app.py:1488: in __call__
> return self.wsgi_app(environ, start_response)
> /usr/lib/python3/dist-packages/flask/app.py:1466: in wsgi_app
> response = self.handle_exception(e)
> /usr/lib/python3/dist-packages/flask_restful/__init__.py:298: in error_router
> return original_handler(e)
> /usr/lib/python3/dist-packages/flask/app.py:1463: in wsgi_app
> response = self.full_dispatch_request()
> /usr/lib/python3/dist-packages/flask/app.py:872: in full_dispatch_request
> rv = self.handle_user_exception(e)
> /usr/lib/python3/dist-packages/flask_restful/__init__.py:298: in error_router
> return original_handler(e)
> /usr/lib/python3/dist-packages/flask/app.py:870: in full_dispatch_request
> rv = self.dispatch_request()
> /usr/lib/python3/dist-packages/flask/app.py:855: in dispatch_request
> return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
> # type: ignore[no-any-return]
> wsmeext/flask.py:55: in wrapper
> args, kwargs = wsme.rest.args.get_args(
> wsme/rest/args.py:294: in get_args
> from_body = args_from_body(funcdef, body, mimetype)
> wsme/rest/args.py:239: in args_from_body
> kw = dataformat.parse(
> /usr/lib/python3/dist-packages/mock/mock.py:1178: in __call__
> return _mock_self._mock_call(*args, **kwargs)
> /usr/lib/python3/dist-packages/mock/mock.py:1182: in _mock_call
> return _mock_self._execute_mock_call(*args, **kwargs)
> /usr/lib/python3/dist-packages/mock/mock.py:1239: in _execute_mock_call
> raise effect
> wsme/rest/args.py:239: in args_from_body
> kw = dataformat.parse(
> /usr/lib/python3/dist-packages/mock/mock.py:1178: in __call__
> return _mock_self._mock_call(*args, **kwargs)
> /usr/lib/python3/dist-packages/mock/mock.py:1182: in _mock_call
> return _mock_self._execute_mock_call(*args, **kwargs)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> _mock_self = <MagicMock id='140705322274928'>
> args = (<MagicMock id='140705329840832'>, {<MagicMock
> name='mock.arguments.__getitem__().name' id='140705322329840'>: <MagicMock
> name='mock.body_type' id='140705336528960'>})
> kwargs = {'bodyarg': True}, self = <MagicMock id='140705322274928'>
> effect = UnknownArgument('Unknown argument: ""')
>
> def _execute_mock_call(_mock_self, *args, **kwargs):
> self = _mock_self
> # separate from _increment_mock_call so that awaited functions are
> # executed separately from their call, also AsyncMock overrides this
> method
>
> effect = self.side_effect
> if effect is not None:
> if _is_exception(effect):
> > raise effect
> E wsme.exc.UnknownArgument: Unknown argument: ""
>
> /usr/lib/python3/dist-packages/mock/mock.py:1239: UnknownArgument
> =============================== warnings summary
> ===============================
> ../../../usr/lib/python3/dist-packages/webob/compat.py:5
> /usr/lib/python3/dist-packages/webob/compat.py:5: DeprecationWarning: 'cgi'
> is deprecated and slated for removal in Python 3.13
> from cgi import parse_header
>
> wsme/protocol.py:3
> /<<PKGBUILDDIR>>/wsme/protocol.py:3: DeprecationWarning: pkg_resources is
> deprecated as an API. See
> https://setuptools.pypa.io/en/latest/pkg_resources.html
> import pkg_resources
>
> ../../../usr/lib/python3/dist-packages/pkg_resources/__init__.py:2871
> /usr/lib/python3/dist-packages/pkg_resources/__init__.py:2871:
> DeprecationWarning: Deprecated call to
> `pkg_resources.declare_namespace('zc')`.
> Implementing implicit namespace packages (as specified in PEP 420) is
> preferred to `pkg_resources.declare_namespace`. See
> https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
> declare_namespace(pkg)
>
> ../../../usr/lib/python3/dist-packages/pkg_resources/__init__.py:2871
> /usr/lib/python3/dist-packages/pkg_resources/__init__.py:2871:
> DeprecationWarning: Deprecated call to
> `pkg_resources.declare_namespace('zope')`.
> Implementing implicit namespace packages (as specified in PEP 420) is
> preferred to `pkg_resources.declare_namespace`. See
> https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
> declare_namespace(pkg)
>
> wsmeext/__init__.py:2
> /<<PKGBUILDDIR>>/wsmeext/__init__.py:2: DeprecationWarning: Deprecated call
> to `pkg_resources.declare_namespace('wsmeext')`.
> Implementing implicit namespace packages (as specified in PEP 420) is
> preferred to `pkg_resources.declare_namespace`. See
> https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
> pkg_resources.declare_namespace(__name__)
>
> ../../../usr/lib/python3/dist-packages/flask/app.py:1481
> /usr/lib/python3/dist-packages/flask/app.py:1481: PytestCollectionWarning:
> cannot collect 'test_app' because it is not a function.
> def __call__(
>
> tests/pecantest/test/tests/test_ws.py: 22 warnings
> <frozen importlib._bootstrap>:530: DeprecationWarning: the load_module()
> method is deprecated and slated for removal in Python 3.12; use exec_module()
> instead
>
> tests/pecantest/test/tests/test_ws.py: 22 warnings
> /usr/lib/python3/dist-packages/pecan/__init__.py:120: RuntimeWarning:
> `static_root` is only used when `debug` is True, ignoring
> warnings.warn(
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info
> ============================
> FAILED tests/test_flask.py::FlaskrTestCase::test_post_model -
> wsme.exc.Unknow...
> FAILED tests/test_flask.py::FlaskrTestCase::test_restful_post -
> wsme.exc.Unkn...
> ================== 2 failed, 37 passed, 50 warnings in 3.40s
> ===================
> make[1]: *** [debian/rules:23: override_dh_auto_install] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/03/19/python-wsme_0.11.0-5_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240319;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240319&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---