Your message dated Sat, 11 May 2024 17:05:51 +0000
with message-id <e1s5qar-002ayx...@fasolo.debian.org>
and subject line Bug#1066773: fixed in in-n-out 0.2.1-1
has caused the Debian Bug report #1066773,
regarding in-n-out: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i
python{version} -p "3.12 3.11" returned exit code 13
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 ow...@bugs.debian.org
immediately.)
--
1066773: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066773
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: in-n-out
Version: 0.1.8-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 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 --with python3 --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:129: Building wheel for python3.12 with "build"
> module
> I: pybuild base:305: python3.12 -m build --skip-dependency-check
> --no-isolation --wheel --outdir
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_in-n-out
> * Building wheel...
> Successfully built in_n_out-0.1.8-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with
> "installer" module
> I: pybuild plugin_pyproject:129: Building wheel for python3.11 with "build"
> module
> I: pybuild base:305: python3.11 -m build --skip-dependency-check
> --no-isolation --wheel --outdir
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_in-n-out
> * Building wheel...
> Successfully built in_n_out-0.1.8-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.11 with
> "installer" module
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:305: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_in-n-out/build; python3.12 -m pytest
> tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.12.2, pytest-8.0.2, pluggy-1.4.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_in-n-out/build
> configfile: pyproject.toml
> collected 119 items / 2 skipped
>
> tests/test_injection.py ..............................................F. [
> 40%]
> ............... [
> 52%]
> tests/test_logging.py . [
> 53%]
> tests/test_processors.py ........... [
> 63%]
> tests/test_providers.py ........ [
> 69%]
> tests/test_store.py .... [
> 73%]
> tests/test_type_resolution.py ....s.. [
> 78%]
> tests/test_type_support.py .........................
> [100%]
>
> =================================== FAILURES
> ===================================
> ___________ test_injection_errors[unknown_and_unannotated-warn-warn]
> ___________
>
> in_func = <function unknown_and_unannotated at 0x7f088ff11800>
> on_unresolved = 'warn', on_unannotated = 'warn'
>
> @pytest.mark.parametrize("on_unresolved", modes)
> @pytest.mark.parametrize("on_unannotated", modes)
> @pytest.mark.parametrize("in_func", [unknown, unannotated,
> unknown_and_unannotated])
> def test_injection_errors(in_func, on_unresolved, on_unannotated):
> ctx: ContextManager = nullcontext()
> ctxb: ContextManager = nullcontext()
> expect_same_func_back = False
>
> UNANNOTATED_MSG = "Injecting dependencies .* with a required,
> unannotated param"
>
> if "unknown" in in_func.__name__ and on_unresolved != "ignore":
> # required params with unknown annotations
> UNRESOLVED_MSG = "Could not resolve type hint for required
> parameter"
>
> if on_unresolved == "raise":
> ctx = pytest.raises(NameError, match=UNRESOLVED_MSG)
> elif on_unresolved == "warn":
> ctx = pytest.warns(UserWarning, match=UNRESOLVED_MSG)
> if "unannotated" in in_func.__name__:
> if on_unannotated == "raise":
> ctxb = pytest.raises(TypeError, match=UNANNOTATED_MSG)
> elif on_unannotated == "return":
> expect_same_func_back = True
> else:
> expect_same_func_back = True
>
> elif "unannotated" in in_func.__name__: # required params without
> annotations
> if on_unannotated == "raise":
> ctx = pytest.raises(TypeError, match=UNANNOTATED_MSG)
> elif on_unannotated == "warn":
> ctx = pytest.warns(UserWarning, match=UNANNOTATED_MSG)
> elif on_unannotated == "return":
> expect_same_func_back = True
>
> > with ctx, ctxb:
> E UserWarning: ("Injecting dependencies on function
> ('unknown_and_unannotated',) with a required, unannotated parameter 'x'. This
> will fail later unless that parameter is provided at call-time.",) To allow
> this, pass `on_unannotated_required_args="ignore"`. To raise an exception,
> pass "raise".
>
> tests/test_injection.py:159: UserWarning
> =========================== short test summary info
> ============================
> FAILED
> tests/test_injection.py::test_injection_errors[unknown_and_unannotated-warn-warn]
> =================== 1 failed, 117 passed, 3 skipped in 0.38s
> ===================
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_in-n-out/build; python3.12 -m pytest
> tests
> I: pybuild base:305: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_in-n-out/build; python3.11 -m pytest
> tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.11.8, pytest-8.0.2, pluggy-1.4.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_in-n-out/build
> configfile: pyproject.toml
> collected 119 items / 2 skipped
>
> tests/test_injection.py ..............................................F. [
> 40%]
> ............... [
> 52%]
> tests/test_logging.py . [
> 53%]
> tests/test_processors.py ........... [
> 63%]
> tests/test_providers.py ........ [
> 69%]
> tests/test_store.py .... [
> 73%]
> tests/test_type_resolution.py ....s.. [
> 78%]
> tests/test_type_support.py .........................
> [100%]
>
> =================================== FAILURES
> ===================================
> ___________ test_injection_errors[unknown_and_unannotated-warn-warn]
> ___________
>
> in_func = <function unknown_and_unannotated at 0x7f781aa52c00>
> on_unresolved = 'warn', on_unannotated = 'warn'
>
> @pytest.mark.parametrize("on_unresolved", modes)
> @pytest.mark.parametrize("on_unannotated", modes)
> @pytest.mark.parametrize("in_func", [unknown, unannotated,
> unknown_and_unannotated])
> def test_injection_errors(in_func, on_unresolved, on_unannotated):
> ctx: ContextManager = nullcontext()
> ctxb: ContextManager = nullcontext()
> expect_same_func_back = False
>
> UNANNOTATED_MSG = "Injecting dependencies .* with a required,
> unannotated param"
>
> if "unknown" in in_func.__name__ and on_unresolved != "ignore":
> # required params with unknown annotations
> UNRESOLVED_MSG = "Could not resolve type hint for required
> parameter"
>
> if on_unresolved == "raise":
> ctx = pytest.raises(NameError, match=UNRESOLVED_MSG)
> elif on_unresolved == "warn":
> ctx = pytest.warns(UserWarning, match=UNRESOLVED_MSG)
> if "unannotated" in in_func.__name__:
> if on_unannotated == "raise":
> ctxb = pytest.raises(TypeError, match=UNANNOTATED_MSG)
> elif on_unannotated == "return":
> expect_same_func_back = True
> else:
> expect_same_func_back = True
>
> elif "unannotated" in in_func.__name__: # required params without
> annotations
> if on_unannotated == "raise":
> ctx = pytest.raises(TypeError, match=UNANNOTATED_MSG)
> elif on_unannotated == "warn":
> ctx = pytest.warns(UserWarning, match=UNANNOTATED_MSG)
> elif on_unannotated == "return":
> expect_same_func_back = True
>
> > with ctx, ctxb:
> E UserWarning: ("Injecting dependencies on function
> ('unknown_and_unannotated',) with a required, unannotated parameter 'x'. This
> will fail later unless that parameter is provided at call-time.",) To allow
> this, pass `on_unannotated_required_args="ignore"`. To raise an exception,
> pass "raise".
>
> tests/test_injection.py:159: UserWarning
> =========================== short test summary info
> ============================
> FAILED
> tests/test_injection.py::test_injection_errors[unknown_and_unannotated-warn-warn]
> =================== 1 failed, 117 passed, 3 skipped in 0.35s
> ===================
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_in-n-out/build; python3.11 -m pytest
> tests
> 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/2024/03/13/in-n-out_0.1.8-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&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 ---
--- Begin Message ---
Source: in-n-out
Source-Version: 0.2.1-1
Done: Roland Mas <lola...@debian.org>
We believe that the bug you reported is fixed in the latest version of
in-n-out, 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 1066...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Roland Mas <lola...@debian.org> (supplier of updated in-n-out 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 11 May 2024 18:46:27 +0200
Source: in-n-out
Architecture: source
Version: 0.2.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Roland Mas <lola...@debian.org>
Closes: 1066773
Changes:
in-n-out (0.2.1-1) unstable; urgency=medium
.
* New upstream release. This fixes: "FTBFS: dh_auto_test: error: pybuild
--test --test-pytest -i python{version} -p "3.12 3.11" returned exit
code 13", thanks to Lucas Nussbaum (Closes: #1066773).
Checksums-Sha1:
5400303823adc0969300d30206f81f51b7fad66a 2095 in-n-out_0.2.1-1.dsc
781fc413dc6bce1274c2b9e8e4ee7bed9be7438a 26026 in-n-out_0.2.1.orig.tar.gz
c70be4b5854d639e7f4c82f6917b6b3256dea4af 2308 in-n-out_0.2.1-1.debian.tar.xz
5e53b2bd04061a1c3dcd6d0ba58b8e6af5bf61b2 7129 in-n-out_0.2.1-1_amd64.buildinfo
Checksums-Sha256:
76f6426bdbff963cba7fe4c80813f07f0a3e72215885759a1321eeaa8115fc3f 2095
in-n-out_0.2.1-1.dsc
43cde2b7de981d41a6d70618a2b7bd989481095922a53ead4dc75f2bbd5dffea 26026
in-n-out_0.2.1.orig.tar.gz
3e5dd471da0274645b736d2503598204e8b0215ab7b5b020cdc080ed2d46d694 2308
in-n-out_0.2.1-1.debian.tar.xz
54d63c576b18bff61b02dd331c6e9c36f0468d83778280633ed17965aebf4c32 7129
in-n-out_0.2.1-1_amd64.buildinfo
Files:
e4f66d797b667a68835efdd99fa8cd9f 2095 python optional in-n-out_0.2.1-1.dsc
8eb50fb6ce2ddb069aad6c93fd582f94 26026 python optional
in-n-out_0.2.1.orig.tar.gz
d2c9e1f1219989c78b4b4d8932c8ebc4 2308 python optional
in-n-out_0.2.1-1.debian.tar.xz
a071f59a469d753fe6a0725908db0147 7129 python optional
in-n-out_0.2.1-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEtBU2D1kett1zr/uD0w3s0lmTIvwFAmY/oSYACgkQ0w3s0lmT
IvzYIBAAkHZSS3GEKkVlTPMIdwMsHjwfy2QdxEnkFvMkOUG+GzbpOBQTIMnFjN/Y
AgPHTdvX1jEG2YJWyH7fgSuEKPwQOLbVx3Ty6LGIeBfNo47FdTQZYJ4LNR4PbAih
4E609H3yrQW/n3w5YGNU401odeDFKcNYVb8Hz5WN2PXNuPERFU/7IIrht685pIlE
K3gaaoFr51/Z/F8CPopnGmE9OeYahtvzvuOnOlZpT4iHm9PSd0PIaJUzeXYN8m6L
Rkdu8SLxMniD0BamaRw5aP9FCVSM3w0V2iGo7JSv8TwGjnt4LVK0F2dHM+TloiMN
AFOY3tIaHU+gufwl51Bj6fXTLuWvVMV/qRxcYqxtm+ce/VG3MytkBb1o+qk/eUS2
8zJWtX2aaDdRm9J10g5+IxI7oJ2S/WWBMgnGTpQ2LPOmkLi2K2zYCTwEaM9QRQwX
BSbGyFKDdmj71TNGRBpBFqwVF0dhDBXFNiZn6/d4NG21GCGVUmcBnYbRRgBt2yN0
0x3KkuucTfoTEsTmTwRNgFuPR5390oKzwlPT6lRovckrkKUL4ZSpbhju3K7tZaBQ
oOLfFKxZZUSW/qyiNbxLlHlYN7UUmK1EeqtYnVm/UrITCU11HuAf767vWllHWXdt
4lVQmwSnCqe8DfpaJpwK/s6M7XWOZ0mqsXMoCOSRmeWT5fxgxxE=
=A+tW
-----END PGP SIGNATURE-----
pgp1JbQezIt0L.pgp
Description: PGP signature
--- End Message ---