--- Begin Message ---
Source: vcr.py
Version: 5.1.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:310: python3.12 setup.py config
> running config
> I: pybuild base:310: python3.11 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:310: /usr/bin/python3.12 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr
> copying vcr/serialize.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr
> copying vcr/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr
> copying vcr/_handle_coroutine.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr
> copying vcr/filters.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr
> copying vcr/matchers.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr
> copying vcr/errors.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr
> copying vcr/cassette.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr
> copying vcr/unittest.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr
> copying vcr/migration.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr
> copying vcr/config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr
> copying vcr/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr
> copying vcr/patch.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr
> copying vcr/request.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr
> copying vcr/record_mode.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr/stubs
> copying vcr/stubs/compat.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr/stubs
> copying vcr/stubs/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr/stubs
> copying vcr/stubs/aiohttp_stubs.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr/stubs
> copying vcr/stubs/httpx_stubs.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr/stubs
> copying vcr/stubs/boto_stubs.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr/stubs
> copying vcr/stubs/requests_stubs.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr/stubs
> copying vcr/stubs/urllib3_stubs.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr/stubs
> copying vcr/stubs/boto3_stubs.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr/stubs
> copying vcr/stubs/httplib2_stubs.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr/stubs
> copying vcr/stubs/tornado_stubs.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr/stubs
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr/persisters
> copying vcr/persisters/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr/persisters
> copying vcr/persisters/filesystem.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr/persisters
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr/serializers
> copying vcr/serializers/compat.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr/serializers
> copying vcr/serializers/jsonserializer.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr/serializers
> copying vcr/serializers/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr/serializers
> copying vcr/serializers/yamlserializer.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build/vcr/serializers
> I: pybuild base:310: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr
> copying vcr/serialize.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr
> copying vcr/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr
> copying vcr/_handle_coroutine.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr
> copying vcr/filters.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr
> copying vcr/matchers.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr
> copying vcr/errors.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr
> copying vcr/cassette.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr
> copying vcr/unittest.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr
> copying vcr/migration.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr
> copying vcr/config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr
> copying vcr/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr
> copying vcr/patch.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr
> copying vcr/request.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr
> copying vcr/record_mode.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr/stubs
> copying vcr/stubs/compat.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr/stubs
> copying vcr/stubs/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr/stubs
> copying vcr/stubs/aiohttp_stubs.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr/stubs
> copying vcr/stubs/httpx_stubs.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr/stubs
> copying vcr/stubs/boto_stubs.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr/stubs
> copying vcr/stubs/requests_stubs.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr/stubs
> copying vcr/stubs/urllib3_stubs.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr/stubs
> copying vcr/stubs/boto3_stubs.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr/stubs
> copying vcr/stubs/httplib2_stubs.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr/stubs
> copying vcr/stubs/tornado_stubs.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr/stubs
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr/persisters
> copying vcr/persisters/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr/persisters
> copying vcr/persisters/filesystem.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr/persisters
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr/serializers
> copying vcr/serializers/compat.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr/serializers
> copying vcr/serializers/jsonserializer.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr/serializers
> copying vcr/serializers/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr/serializers
> copying vcr/serializers/yamlserializer.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build/vcr/serializers
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build;
> python3.12 -m pytest --ignore tests/integration/test_aiohttp.py --ignore
> tests/integration/test_tornado.py --ignore tests/integration/test_requests.py
> -m "not online" -k "not test_basic_json_use and not
> test_load_cassette_with_custom_persister"
> 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 "<frozen importlib._bootstrap_external>", line 994, in exec_module
> File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
> File "/usr/lib/python3/dist-packages/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 distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_vcr/build; python3.12 -m pytest
> --ignore tests/integration/test_aiohttp.py --ignore
> tests/integration/test_tornado.py --ignore tests/integration/test_requests.py
> -m "not online" -k "not test_basic_json_use and not
> test_load_cassette_with_custom_persister"
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcr/build;
> python3.11 -m pytest --ignore tests/integration/test_aiohttp.py --ignore
> tests/integration/test_tornado.py --ignore tests/integration/test_requests.py
> -m "not online" -k "not test_basic_json_use and not
> test_load_cassette_with_custom_persister"
> ============================= test session starts
> ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: pyproject.toml
> plugins: httpbin-1.0.0, tornado-0.8.1
> collected 300 items / 28 deselected / 2 skipped / 272 selected
>
> tests/integration/test_basic.py .127.0.0.1 - - [11/Dec/2023 21:51:02] "GET /
> HTTP/1.1" 200 9358
> ... [ 1%]
> tests/integration/test_boto3.py ss [
> 2%]
> tests/integration/test_config.py . [
> 2%]
> tests/integration/test_filter.py .......... [
> 6%]
> tests/integration/test_httplib2.py ........ [
> 9%]
> tests/integration/test_urllib2.py ........ [
> 12%]
> tests/integration/test_urllib3.py ....... [
> 14%]
> tests/integration/test_httplib2.py ........ [
> 17%]
> tests/integration/test_urllib2.py ........ [
> 20%]
> tests/integration/test_urllib3.py ....... [
> 23%]
> tests/integration/test_httplib2.py . [
> 23%]
> tests/integration/test_ignore.py .... [
> 25%]
> tests/integration/test_matchers.py .............. [
> 30%]
> tests/integration/test_multiple.py . [
> 30%]
> tests/integration/test_proxy.py . [
> 30%]
> tests/integration/test_record_mode.py ........ [
> 33%]
> tests/integration/test_register_persister.py .. [
> 34%]
> tests/integration/test_register_serializer.py . [
> 34%]
> tests/integration/test_request.py .. [
> 35%]
> tests/integration/test_stubs.py .... [
> 37%]
> tests/integration/test_urllib2.py . [
> 37%]
> tests/integration/test_urllib3.py ... [
> 38%]
> tests/integration/test_wild.py .... [
> 40%]
> tests/unit/test_cassettes.py ............................... [
> 51%]
> tests/unit/test_errors.py .... [
> 52%]
> tests/unit/test_filters.py ........................ [
> 61%]
> tests/unit/test_json_serializer.py . [
> 62%]
> tests/unit/test_matchers.py ............................ [
> 72%]
> tests/unit/test_migration.py ... [
> 73%]
> tests/unit/test_persist.py .... [
> 75%]
> tests/unit/test_request.py ................. [
> 81%]
> tests/unit/test_response.py .... [
> 82%]
> tests/unit/test_serialize.py ............... [
> 88%]
> tests/unit/test_stubs.py . [
> 88%]
> tests/unit/test_unittest.py ....... [
> 91%]
> tests/unit/test_vcr.py ....................... [
> 99%]
> tests/unit/test_vcr_import.py .
> [100%]
>
> =============================== warnings summary
> ===============================
> .pybuild/cpython3_3.11_vcr/build/tests/integration/test_filter.py: 10 warnings
> .pybuild/cpython3_3.11_vcr/build/tests/integration/test_httplib2.py: 8
> warnings
> .pybuild/cpython3_3.11_vcr/build/tests/integration/test_urllib2.py: 8 warnings
> .pybuild/cpython3_3.11_vcr/build/tests/integration/test_urllib3.py: 8 warnings
> .pybuild/cpython3_3.11_vcr/build/tests/integration/test_matchers.py: 14
> warnings
> .pybuild/cpython3_3.11_vcr/build/tests/integration/test_record_mode.py: 2
> warnings
> .pybuild/cpython3_3.11_vcr/build/tests/integration/test_request.py: 7 warnings
> .pybuild/cpython3_3.11_vcr/build/tests/integration/test_stubs.py: 16 warnings
> .pybuild/cpython3_3.11_vcr/build/tests/integration/test_wild.py: 2 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(
>
> .pybuild/cpython3_3.11_vcr/build/tests/integration/test_httplib2.py: 19
> warnings
> /usr/lib/python3/dist-packages/httplib2/__init__.py:147:
> DeprecationWarning: ssl.PROTOCOL_TLS is deprecated
> context = ssl.SSLContext(DEFAULT_TLS_VERSION)
>
> .pybuild/cpython3_3.11_vcr/build/tests/integration/test_httplib2.py: 12
> warnings
> .pybuild/cpython3_3.11_vcr/build/tests/integration/test_urllib2.py: 12
> warnings
> .pybuild/cpython3_3.11_vcr/build/tests/integration/test_urllib3.py: 11
> warnings
> /usr/lib/python3/dist-packages/pytest_httpbin/serve.py:65:
> DeprecationWarning: ssl.wrap_socket() is deprecated, use
> SSLContext.wrap_socket()
> ssock = ssl.wrap_socket(
>
> .pybuild/cpython3_3.11_vcr/build/tests/integration/test_httplib2.py: 12
> warnings
> .pybuild/cpython3_3.11_vcr/build/tests/integration/test_urllib2.py: 12
> warnings
> .pybuild/cpython3_3.11_vcr/build/tests/integration/test_urllib3.py: 11
> 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
> ========= 270 passed, 4 skipped, 28 deselected, 164 warnings in 3.86s
> ==========
> 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/vcr.py_5.1.0-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&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 ---