Your message dated Tue, 12 Dec 2023 12:06:29 +0000
with message-id <[email protected]>
and subject line Bug#1058121: fixed in python-flasgger 0.9.7.2~dev2+dfsg-1
has caused the Debian Bug report #1058121,
regarding pytest-recording: FTBFS: ModuleNotFoundError: No module named 'imp'
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 [email protected]
immediately.)
--
1058121: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058121
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pytest-recording
Version: 0.13.0-2
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):
> 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
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:110: Building wheel for python3.12 with "build"
> module
> I: pybuild base:310: python3.12 -m build --skip-dependency-check
> --no-isolation --wheel --outdir
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pytest-recording
> * Building wheel...
> Successfully built pytest_recording-0.13.0-py3-none-any.whl
> I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.12 with
> "installer" module
> I: pybuild plugin_pyproject:110: Building wheel for python3.11 with "build"
> module
> I: pybuild base:310: python3.11 -m build --skip-dependency-check
> --no-isolation --wheel --outdir
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-recording
> * Building wheel...
> Successfully built pytest_recording-0.13.0-py3-none-any.whl
> I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.11 with
> "installer" module
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pytest-recording/build; python3.12 -m
> pytest
> --ignore=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pytest-recording/build/tests/test_recording.py
> -k "not test_blocked_network_recording and not
> test_block_network_with_allowed_hosts and not
> test_block_network_via_cmd_with_recording and not test_pycurl and not
> test_combine_cassettes"
> 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 pyproject failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pytest-recording/build; python3.12 -m
> pytest --ignore={build_dir}/tests/test_recording.py -k "not
> test_blocked_network_recording and not test_block_network_with_allowed_hosts
> and not test_block_network_via_cmd_with_recording and not test_pycurl and not
> test_combine_cassettes"
> I: pybuild base:310: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-recording/build; python3.11 -m
> pytest
> --ignore=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-recording/build/tests/test_recording.py
> -k "not test_blocked_network_recording and not
> test_block_network_with_allowed_hosts and not
> test_block_network_via_cmd_with_recording and not test_pycurl and not
> test_combine_cassettes"
> ============================= test session starts
> ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-recording/build
> plugins: recording-0.13.0, httpbin-1.0.0, mock-3.12.0
> collected 51 items / 13 deselected / 38 selected
>
> tests/test_blocking_network.py ......... [
> 23%]
> tests/test_plugin.py .......... [
> 50%]
> tests/test_replaying.py .............s... [
> 94%]
> tests/test_utils.py ..
> [100%]
>
> ================= 37 passed, 1 skipped, 13 deselected in 3.52s
> =================
> 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-recording_0.13.0-2_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 ---
--- Begin Message ---
Source: python-flasgger
Source-Version: 0.9.7.2~dev2+dfsg-1
Done: Jeroen Ploemen <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-flasgger, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jeroen Ploemen <[email protected]> (supplier of updated python-flasgger package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 12 Dec 2023 11:43:09 +0000
Source: python-flasgger
Built-For-Profiles: noudeb
Architecture: source
Version: 0.9.7.2~dev2+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Jeroen Ploemen <[email protected]>
Closes: 1056409 1056448 1056450 1056520 1056536 1058121 1058156
Changes:
python-flasgger (0.9.7.2~dev2+dfsg-1) unstable; urgency=medium
.
* Team upload.
* New upstream version 0.9.7.2~dev2+dfsg. (Closes: #1056450, #1056520,
#1058121, #1058156, #1056409, #1056536, #1056448)
* Watch: unbreak.
* Add d/gbp.conf.
* Copyright:
+ correct upstream years to match the included LICENSE file.
+ add myself for the packaging.
* Control:
+ set Homepage to actual upstream project, not some fork.
+ order build-deps; add python3-pytest.
+ bump Standards-Version to 4.6.2 (from 4.6.1; no further changes).
+ enable autopkgtest via Testsuite: autopkgtest-pkg-pybuild.
+ remove unnecessary hardcoded python deps from the binary pkg.
* Rules:
+ switch overrides to execute_after.
+ ignore test_examples, needs unavailable flex module.
* Patches: refresh 02.
Checksums-Sha1:
7f164ef3716ee751c8968629acac06ac00ce7c7f 2281
python-flasgger_0.9.7.2~dev2+dfsg-1.dsc
04aff6be560f4c754a84b34ef0184272b9470292 1714976
python-flasgger_0.9.7.2~dev2+dfsg.orig.tar.xz
5a28b8dd1ac4f0ab63495559eda8246cdf34665c 3077532
python-flasgger_0.9.7.2~dev2+dfsg-1.debian.tar.xz
86a47fb1e4660cee5594e5a4ab0dca62506d9ed4 15359
python-flasgger_0.9.7.2~dev2+dfsg-1_source.buildinfo
Checksums-Sha256:
d04025cc15b454abb2f31475aba88b4ff3a265a33509bdef09938e29a91faea2 2281
python-flasgger_0.9.7.2~dev2+dfsg-1.dsc
8fecf63d5e5c34981f2a91f3c4666620ec642d4f5494cc89e348b1db7d0d7297 1714976
python-flasgger_0.9.7.2~dev2+dfsg.orig.tar.xz
b39f283adc2715a76146eb40df6424ad74122d7c3bd36fda34be1be12620ba66 3077532
python-flasgger_0.9.7.2~dev2+dfsg-1.debian.tar.xz
54dbd4f935065ca2795607de191c2601f8b2633b33bef5f022d7cd1d37ae76ff 15359
python-flasgger_0.9.7.2~dev2+dfsg-1_source.buildinfo
Files:
9495b2102b1c80f3ad86b845de2afd5c 2281 python optional
python-flasgger_0.9.7.2~dev2+dfsg-1.dsc
61d63c89f47f8269042724bdbd592061 1714976 python optional
python-flasgger_0.9.7.2~dev2+dfsg.orig.tar.xz
02b52afe9d2a86b571232c7d4038ea15 3077532 python optional
python-flasgger_0.9.7.2~dev2+dfsg-1.debian.tar.xz
b1d3b0b023d97c2febabd17eab2cee75 15359 python optional
python-flasgger_0.9.7.2~dev2+dfsg-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEd8lhnEnWos3N8v+qQoMEoXSNzHoFAmV4R3sACgkQQoMEoXSN
zHqYMw/8C8ow2A4i2pYUOaPoucMTjb0XK9n4XUn+TJtix+gChFwb8PTjIypMRdgA
quHakcUOOqF4hYV0vPtfyk9p/eqw85/48MT9aDw1DLskunEdUOofxA/5xbi6d4fA
Xqvr8fpK+6/q88zuK12m+kUWfuG8sjYJcHh2NWeOcrpuOt4MfTWl1VKinEB1BaFA
P+RR8UGyZ5DxF0cmJkpmWRt6lCOE67JowsVI+ZXWvcTRA12WAHpj7711nXCl9alB
AJpTep4w0r/bHE4Qr0zHO+k4t9YFUg8YGRNiu3OVVT9Bq40InftGzdJ6F2mKFpz4
WFYZFwQIndtxtknF62fELBSO6esBSOYdk5GErJPFZsnB+AntkpdqQgv+tZM09mWs
Hj27YJaSH13x4xQXrK9HiQGZ7lEI/MfzI4hSkRPTEEh0GpuqUYB9+sDjqEmmyo5E
stgtDBus/8wO/lHlNzqHVpQSQsDR8yurfilQHfxut0POx3f2iL5CpKjmjY4qpvLa
p4y3EGiFe/0mT1ObW4SryOfOj+aH9Gob9yHEcHt0bKviRbuYhQZ8Q4hyIuR6F0+S
qCPQoffnHojoof6VGVusl9K8ppoaEf8ro6O7xrA7mdQd4xFj8KB1gWva9Q8MAC0f
irnGzRbffV99m5ZWRLqbbHzZ0BHsEQdARkAVXvY5flpU7wlS8vo=
=tQuZ
-----END PGP SIGNATURE-----
--- End Message ---