--- Begin Message ---
Source: pytest-httpbin
Version: 1.0.0-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20231212 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>>'
> dh_auto_install
> I: pybuild base:310: /usr/bin/python3.12 setup.py install --root
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin
> running install
> /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()
> running build
> running build_py
> running egg_info
> writing pytest_httpbin.egg-info/PKG-INFO
> writing dependency_links to pytest_httpbin.egg-info/dependency_links.txt
> writing entry points to pytest_httpbin.egg-info/entry_points.txt
> writing requirements to pytest_httpbin.egg-info/requires.txt
> writing top-level names to pytest_httpbin.egg-info/top_level.txt
> reading manifest file 'pytest_httpbin.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'pytest_httpbin.egg-info/SOURCES.txt'
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning:
> Package 'pytest_httpbin.certs' is absent from the `packages` configuration.
> !!
>
>
> ********************************************************************************
> ############################
> # Package would be ignored #
> ############################
> Python recognizes 'pytest_httpbin.certs' 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 'pytest_httpbin.certs' 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 'pytest_httpbin.certs' to be distributed and are
> already explicitly excluding 'pytest_httpbin.certs' 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)
> running install_lib
> creating /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr
> creating /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib
> creating /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.12
> creating
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.12/dist-packages
> creating
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.12/dist-packages/pytest_httpbin
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pytest-httpbin/build/pytest_httpbin/__init__.py
> ->
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.12/dist-packages/pytest_httpbin
> creating
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.12/dist-packages/pytest_httpbin/certs
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pytest-httpbin/build/pytest_httpbin/certs/cacert.pem
> ->
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.12/dist-packages/pytest_httpbin/certs
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pytest-httpbin/build/pytest_httpbin/certs/cert.pem
> ->
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.12/dist-packages/pytest_httpbin/certs
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pytest-httpbin/build/pytest_httpbin/certs/key.pem
> ->
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.12/dist-packages/pytest_httpbin/certs
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pytest-httpbin/build/pytest_httpbin/version.py
> ->
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.12/dist-packages/pytest_httpbin
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pytest-httpbin/build/pytest_httpbin/serve.py
> ->
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.12/dist-packages/pytest_httpbin
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pytest-httpbin/build/pytest_httpbin/plugin.py
> ->
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.12/dist-packages/pytest_httpbin
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pytest-httpbin/build/pytest_httpbin/certs.py
> ->
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.12/dist-packages/pytest_httpbin
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.12/dist-packages/pytest_httpbin/__init__.py
> to __init__.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.12/dist-packages/pytest_httpbin/version.py
> to version.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.12/dist-packages/pytest_httpbin/serve.py
> to serve.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.12/dist-packages/pytest_httpbin/plugin.py
> to plugin.cpython-312.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.12/dist-packages/pytest_httpbin/certs.py
> to certs.cpython-312.pyc
> running install_egg_info
> Copying pytest_httpbin.egg-info to
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.12/dist-packages/pytest_httpbin-1.0.0.egg-info
> Skipping SOURCES.txt
> running install_scripts
> I: pybuild base:310: /usr/bin/python3 setup.py install --root
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin
> running install
> /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()
> running build
> running build_py
> running egg_info
> writing pytest_httpbin.egg-info/PKG-INFO
> writing dependency_links to pytest_httpbin.egg-info/dependency_links.txt
> writing entry points to pytest_httpbin.egg-info/entry_points.txt
> writing requirements to pytest_httpbin.egg-info/requires.txt
> writing top-level names to pytest_httpbin.egg-info/top_level.txt
> reading manifest file 'pytest_httpbin.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'pytest_httpbin.egg-info/SOURCES.txt'
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning:
> Package 'pytest_httpbin.certs' is absent from the `packages` configuration.
> !!
>
>
> ********************************************************************************
> ############################
> # Package would be ignored #
> ############################
> Python recognizes 'pytest_httpbin.certs' 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 'pytest_httpbin.certs' 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 'pytest_httpbin.certs' to be distributed and are
> already explicitly excluding 'pytest_httpbin.certs' 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)
> running install_lib
> creating /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.11
> creating
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.11/dist-packages
> creating
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.11/dist-packages/pytest_httpbin
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-httpbin/build/pytest_httpbin/__init__.py
> ->
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.11/dist-packages/pytest_httpbin
> creating
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.11/dist-packages/pytest_httpbin/certs
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-httpbin/build/pytest_httpbin/certs/cacert.pem
> ->
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.11/dist-packages/pytest_httpbin/certs
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-httpbin/build/pytest_httpbin/certs/cert.pem
> ->
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.11/dist-packages/pytest_httpbin/certs
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-httpbin/build/pytest_httpbin/certs/key.pem
> ->
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.11/dist-packages/pytest_httpbin/certs
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-httpbin/build/pytest_httpbin/version.py
> ->
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.11/dist-packages/pytest_httpbin
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-httpbin/build/pytest_httpbin/serve.py
> ->
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.11/dist-packages/pytest_httpbin
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-httpbin/build/pytest_httpbin/plugin.py
> ->
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.11/dist-packages/pytest_httpbin
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-httpbin/build/pytest_httpbin/certs.py
> ->
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.11/dist-packages/pytest_httpbin
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.11/dist-packages/pytest_httpbin/__init__.py
> to __init__.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.11/dist-packages/pytest_httpbin/version.py
> to version.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.11/dist-packages/pytest_httpbin/serve.py
> to serve.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.11/dist-packages/pytest_httpbin/plugin.py
> to plugin.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.11/dist-packages/pytest_httpbin/certs.py
> to certs.cpython-311.pyc
> running install_egg_info
> Copying pytest_httpbin.egg-info to
> /<<PKGBUILDDIR>>/debian/python3-pytest-httpbin/usr/lib/python3.11/dist-packages/pytest_httpbin-1.0.0.egg-info
> Skipping SOURCES.txt
> running install_scripts
> http_proxy= https_proxy= PYBUILD_SYSTEM=custom \
> PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x -s"
> dh_auto_test
> I: pybuild base:310: python3.12 -m pytest -v -x -s
> Traceback (most recent call last):
> File "<frozen runpy>", line 198, in _run_module_as_main
> File "<frozen runpy>", line 88, in _run_code
> File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 5, in
> <module>
> raise SystemExit(pytest.console_main())
> ^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 192,
> in console_main
> code = main()
> ^^^^^^
> File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 150,
> in main
> config = _prepareconfig(args, plugins)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 331,
> in _prepareconfig
> config = pluginmanager.hook.pytest_cmdline_parse(
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 493, in
> __call__
> return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 115, in
> _hookexec
> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 130, in
> _multicall
> teardown[0].send(outcome)
> File "/usr/lib/python3/dist-packages/_pytest/helpconfig.py", line 104, in
> pytest_cmdline_parse
> config: Config = outcome.get_result()
> ^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 114, in
> get_result
> raise exc.with_traceback(exc.__traceback__)
> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 77, in
> _multicall
> res = hook_impl.function(*args)
> ^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line
> 1075, in pytest_cmdline_parse
> self.parse(args)
> File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line
> 1425, in parse
> self._preparse(args, addopts=addopts)
> File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line
> 1305, in _preparse
> self.pluginmanager.load_setuptools_entrypoints("pytest11")
> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 398, in
> load_setuptools_entrypoints
> plugin = ep.load()
> ^^^^^^^^^
> File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 205, in load
> module = import_module(match.group('module'))
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
> File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
> File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
> File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
> File "/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py", line
> 186, in exec_module
> exec(co, module.__dict__)
> File "/<<PKGBUILDDIR>>/pytest_httpbin/plugin.py", line 3, in <module>
> from httpbin import app as httpbin_app
> File "/usr/lib/python3/dist-packages/httpbin/__init__.py", line 3, in
> <module>
> from .core import *
> File "/usr/lib/python3/dist-packages/httpbin/core.py", line 36, in <module>
> from flasgger import Swagger, NO_SANITIZER
> File "/usr/lib/python3/dist-packages/flasgger/__init__.py", line 10, in
> <module>
> from .base import Swagger, Flasgger, NO_SANITIZER, BR_SANITIZER,
> MK_SANITIZER, LazyJSONEncoder # noqa
>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/flasgger/base.py", line 36, in <module>
> from .utils import extract_definitions
> File "/usr/lib/python3/dist-packages/flasgger/utils.py", line 5, in <module>
> import imp
> ModuleNotFoundError: No module named 'imp'
> E: pybuild pybuild:395: test: plugin custom failed with: exit code=1:
> python3.12 -m pytest -v -x -s
> I: pybuild base:310: python3.11 -m pytest -v -x -s
> ============================= test session starts
> ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0 --
> /usr/bin/python3.11
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>
> plugins: httpbin-1.0.0
> collecting ... collected 19 items
>
> tests/test_httpbin.py::test_httpbin_gets_injected PASSED
> tests/test_httpbin.py::test_httpbin_accepts_get_requests 127.0.0.1 - -
> [11/Dec/2023 21:22:12] "GET /get HTTP/1.1" 200 272
> PASSED
> tests/test_httpbin.py::test_httpbin_secure_accepts_get_requests 127.0.0.1 - -
> [11/Dec/2023 21:22:12] "GET /get HTTP/1.1" 200 272
> PASSED
> tests/test_httpbin.py::test_httpbin_secure_accepts_lots_of_get_requests
> 127.0.0.1 - - [11/Dec/2023 21:22:13] "GET /get HTTP/1.1" 200 272
> 127.0.0.1 - - [11/Dec/2023 21:22:13] "GET /get HTTP/1.1" 200 272
> 127.0.0.1 - - [11/Dec/2023 21:22:13] "GET /get HTTP/1.1" 200 272
> 127.0.0.1 - - [11/Dec/2023 21:22:13] "GET /get HTTP/1.1" 200 272
> 127.0.0.1 - - [11/Dec/2023 21:22:13] "GET /get HTTP/1.1" 200 272
> 127.0.0.1 - - [11/Dec/2023 21:22:13] "GET /get HTTP/1.1" 200 272
> 127.0.0.1 - - [11/Dec/2023 21:22:13] "GET /get HTTP/1.1" 200 272
> 127.0.0.1 - - [11/Dec/2023 21:22:13] "GET /get HTTP/1.1" 200 272
> 127.0.0.1 - - [11/Dec/2023 21:22:13] "GET /get HTTP/1.1" 200 272
> 127.0.0.1 - - [11/Dec/2023 21:22:13] "GET /get HTTP/1.1" 200 272
> PASSED
> tests/test_httpbin.py::test_httpbin_accepts_lots_of_get_requests_in_single_session
> 127.0.0.1 - - [11/Dec/2023 21:22:13] "GET /get HTTP/1.1" 200 272
> 127.0.0.1 - - [11/Dec/2023 21:22:13] "GET /get HTTP/1.1" 200 272
> 127.0.0.1 - - [11/Dec/2023 21:22:13] "GET /get HTTP/1.1" 200 272
> 127.0.0.1 - - [11/Dec/2023 21:22:13] "GET /get HTTP/1.1" 200 272
> 127.0.0.1 - - [11/Dec/2023 21:22:13] "GET /get HTTP/1.1" 200 272
> 127.0.0.1 - - [11/Dec/2023 21:22:13] "GET /get HTTP/1.1" 200 272
> 127.0.0.1 - - [11/Dec/2023 21:22:13] "GET /get HTTP/1.1" 200 272
> 127.0.0.1 - - [11/Dec/2023 21:22:13] "GET /get HTTP/1.1" 200 272
> 127.0.0.1 - - [11/Dec/2023 21:22:13] "GET /get HTTP/1.1" 200 272
> 127.0.0.1 - - [11/Dec/2023 21:22:13] "GET /get HTTP/1.1" 200 272
> PASSED
> tests/test_httpbin.py::test_httpbin_both[http] 127.0.0.1 - - [11/Dec/2023
> 21:22:13] "GET /get HTTP/1.1" 200 272
> PASSED
> tests/test_httpbin.py::test_chunked_encoding[http] 127.0.0.1 - - [11/Dec/2023
> 21:22:13] "GET /stream/20 HTTP/1.1" 200 5070
> PASSED
> tests/test_httpbin.py::test_httpbin_both[https] 127.0.0.1 - - [11/Dec/2023
> 21:22:13] "GET /get HTTP/1.1" 200 272
> PASSED
> tests/test_httpbin.py::test_chunked_encoding[https] 127.0.0.1 - -
> [11/Dec/2023 21:22:13] "GET /stream/20 HTTP/1.1" 200 5070
> PASSED
> tests/test_httpbin.py::test_httpbin_join PASSED
> tests/test_httpbin.py::test_httpbin_str PASSED
> tests/test_httpbin.py::TestClassBassedTests::test_http 127.0.0.1 - -
> [11/Dec/2023 21:22:13] "GET /get HTTP/1.1" 200 272
> PASSED
> tests/test_httpbin.py::TestClassBassedTests::test_http_secure 127.0.0.1 - -
> [11/Dec/2023 21:22:13] "GET /get HTTP/1.1" 200 272
> PASSED
> tests/test_server.py::test_content_type_header_not_automatically_added
> 127.0.0.1 - - [11/Dec/2023 21:22:13] "GET /headers HTTP/1.1" 200 194
> PASSED
> tests/test_server.py::test_unicode_data 127.0.0.1 - - [11/Dec/2023 21:22:13]
> "POST /post HTTP/1.1" 200 468
> PASSED
> tests/test_server.py::test_server_should_be_http_1_1 127.0.0.1 - -
> [11/Dec/2023 21:22:13] "GET /get HTTP/1.1" 200 146
> PASSED
> tests/test_server.py::test_dont_crash_on_certificate_problems 127.0.0.1 - -
> [11/Dec/2023 21:22:13] "GET /get HTTP/1.1" 200 272
> pytest-httpbin server hit an exception serving request: [SSL:
> UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol
> (_ssl.c:1006)
> attempting to ignore so the rest of the tests can run
> PASSED
> tests/test_server.py::test_fixed_port_environment_variables[http] PASSED
> tests/test_server.py::test_fixed_port_environment_variables[https] PASSED
>
> =============================== warnings summary
> ===============================
> tests/test_httpbin.py: 26 warnings
> tests/test_server.py: 4 warnings
> /usr/lib/python3/dist-packages/flask/json/provider.py:281:
> DeprecationWarning: The 'JSONIFY_PRETTYPRINT_REGULAR' config key is
> deprecated and will be removed in Flask 2.3. Set 'app.json.compact' instead.
> warnings.warn(
>
> tests/test_httpbin.py: 14 warnings
> tests/test_server.py: 2 warnings
> /<<PKGBUILDDIR>>/pytest_httpbin/serve.py:65: DeprecationWarning:
> ssl.wrap_socket() is deprecated, use SSLContext.wrap_socket()
> ssock = ssl.wrap_socket(
>
> tests/test_httpbin.py: 14 warnings
> tests/test_server.py: 2 warnings
> /usr/lib/python3.11/ssl.py:1475: DeprecationWarning: ssl.PROTOCOL_TLS is
> deprecated
> context = SSLContext(ssl_version)
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> ======================= 19 passed, 62 warnings in 2.32s
> ========================
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12
> 3.11" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2023/12/12/pytest-httpbin_1.0.0-3_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&[email protected]&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 ---