Your message dated Sun, 24 Dec 2023 15:34:10 +0000
with message-id <e1rhquu-009dtz...@fasolo.debian.org>
and subject line Bug#1058209: fixed in advocate 1.0.0-5
has caused the Debian Bug report #1058209,
regarding advocate: FTBFS: dh_auto_test: error: pybuild --test -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.)


-- 
1058209: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058209
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: advocate
Version: 1.0.0-4
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_advocate/build/advocate
> copying advocate/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_advocate/build/advocate
> copying advocate/poolmanager.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_advocate/build/advocate
> copying advocate/exceptions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_advocate/build/advocate
> copying advocate/addrvalidator.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_advocate/build/advocate
> copying advocate/adapters.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_advocate/build/advocate
> copying advocate/api.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_advocate/build/advocate
> copying advocate/futures.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_advocate/build/advocate
> copying advocate/connectionpool.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_advocate/build/advocate
> copying advocate/connection.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_advocate/build/advocate
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_advocate/build/advocate/packages
> copying advocate/packages/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_advocate/build/advocate/packages
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_advocate/build/advocate/packages/ipaddress
> copying advocate/packages/ipaddress/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_advocate/build/advocate/packages/ipaddress
> copying advocate/packages/ipaddress/ipaddress.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_advocate/build/advocate/packages/ipaddress
> I: pybuild base:310: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_advocate/build/advocate
> copying advocate/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_advocate/build/advocate
> copying advocate/poolmanager.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_advocate/build/advocate
> copying advocate/exceptions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_advocate/build/advocate
> copying advocate/addrvalidator.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_advocate/build/advocate
> copying advocate/adapters.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_advocate/build/advocate
> copying advocate/api.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_advocate/build/advocate
> copying advocate/futures.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_advocate/build/advocate
> copying advocate/connectionpool.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_advocate/build/advocate
> copying advocate/connection.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_advocate/build/advocate
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_advocate/build/advocate/packages
> copying advocate/packages/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_advocate/build/advocate/packages
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_advocate/build/advocate/packages/ipaddress
> copying advocate/packages/ipaddress/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_advocate/build/advocate/packages/ipaddress
> copying advocate/packages/ipaddress/ipaddress.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_advocate/build/advocate/packages/ipaddress
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_advocate/build; python3.12 -m pytest 
> test
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_advocate/build
> configfile: pytest.ini
> plugins: requests-mock-1.10.0
> collected 48 items
> 
> test/test_advocate.py s............s......s...ssssssFs.sss..s..FFsssss   
> [100%]
> 
> =================================== FAILURES 
> ===================================
> ___________ AdvocateWrapperTests.test_advocate_requests_api_wrapper 
> ____________
> 
> self = <test.test_advocate.AdvocateWrapperTests 
> testMethod=test_advocate_requests_api_wrapper>
> 
>     def test_advocate_requests_api_wrapper(self):
>         wrapper = RequestsAPIWrapper(validator=AddrValidator())
>         local_validator = AddrValidator(ip_whitelist={
>             ipaddress.ip_network("127.0.0.1"),
>         })
>         local_wrapper = RequestsAPIWrapper(validator=local_validator)
>     
>         self.assertRaises(
>             UnacceptableAddressException,
>             wrapper.get, "http://127.0.0.1:1/";
>         )
>     
>         with self.assertRaises(Exception) as cm:
>             local_wrapper.get("http://127.0.0.1:1/";)
>         # Check that we got a connection exception instead of a validation one
>         # This might be either exception depending on the requests version
> >       self.assertRegexpMatches(
>             cm.exception.__class__.__name__,
>             r"\A(Connection|Protocol)Error",
>         )
> E       AttributeError: 'AdvocateWrapperTests' object has no attribute 
> 'assertRegexpMatches'
> 
> test/test_advocate.py:504: AttributeError
> _______________ AdvocateWrapperTests.test_wrapper_session_pickle 
> _______________
> 
> self = <test.test_advocate.AdvocateWrapperTests 
> testMethod=test_wrapper_session_pickle>
> 
>     def test_wrapper_session_pickle(self):
>         # Make sure the validator still works after a pickle round-trip
>         sess_instance = pickle.loads(pickle.dumps(global_wrapper.Session()))
>     
>         with self.assertRaises(Exception) as cm:
>             sess_instance.get("http://127.0.0.1:1/";)
> >       self.assertRegexpMatches(
>             cm.exception.__class__.__name__,
>             r"\A(Connection|Protocol)Error",
>         )
> E       AttributeError: 'AdvocateWrapperTests' object has no attribute 
> 'assertRegexpMatches'
> 
> test/test_advocate.py:523: AttributeError
> ______________ AdvocateWrapperTests.test_wrapper_session_subclass 
> ______________
> 
> self = <test.test_advocate.AdvocateWrapperTests 
> testMethod=test_wrapper_session_subclass>
> 
>     def test_wrapper_session_subclass(self):
>         # Make sure pickle doesn't explode if we try to pickle a subclass
>         # of `global_wrapper.Session`
>         def _check_instance(instance):
>             self.assertEqual(instance.good_method(), "foo")
>     
>             with self.assertRaises(Exception) as cm:
>                 instance.get("http://127.0.0.1:1/";)
>             self.assertRegexpMatches(
>                 cm.exception.__class__.__name__,
>                 r"\A(Connection|Protocol)Error",
>             )
>             self.assertRaises(
>                 UnacceptableAddressException,
>                 instance.get, "http://127.0.1.1:1/";
>             )
>         sess = _WrapperSubclass()
> >       _check_instance(sess)
> 
> test/test_advocate.py:549: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> instance = <test.test_advocate._WrapperSubclass object at 0x7f958476a420>
> 
>     def _check_instance(instance):
>         self.assertEqual(instance.good_method(), "foo")
>     
>         with self.assertRaises(Exception) as cm:
>             instance.get("http://127.0.0.1:1/";)
> >       self.assertRegexpMatches(
>             cm.exception.__class__.__name__,
>             r"\A(Connection|Protocol)Error",
>         )
> E       AttributeError: 'AdvocateWrapperTests' object has no attribute 
> 'assertRegexpMatches'
> 
> test/test_advocate.py:540: AttributeError
> =========================== short test summary info 
> ============================
> FAILED 
> test/test_advocate.py::AdvocateWrapperTests::test_advocate_requests_api_wrapper
> FAILED 
> test/test_advocate.py::AdvocateWrapperTests::test_wrapper_session_pickle
> FAILED 
> test/test_advocate.py::AdvocateWrapperTests::test_wrapper_session_subclass
> =================== 3 failed, 26 passed, 19 skipped in 0.22s 
> ===================
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_advocate/build; python3.12 -m pytest 
> test
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_advocate/build; python3.11 -m pytest 
> test
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_advocate/build
> configfile: pytest.ini
> plugins: requests-mock-1.10.0
> collected 48 items
> 
> test/test_advocate.py s............s......s...ssssss.s.sss..s....sssss   
> [100%]
> 
> ======================== 29 passed, 19 skipped in 0.13s 
> ========================
> dh_auto_test: error: pybuild --test -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/advocate_1.0.0-4_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 ---
--- Begin Message ---
Source: advocate
Source-Version: 1.0.0-5
Done: Edward Betts <edw...@4angle.com>

We believe that the bug you reported is fixed in the latest version of
advocate, 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 1058...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Edward Betts <edw...@4angle.com> (supplier of updated advocate 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: Sun, 24 Dec 2023 15:05:53 +0000
Source: advocate
Architecture: source
Version: 1.0.0-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Edward Betts <edw...@4angle.com>
Closes: 1056224 1058209
Changes:
 advocate (1.0.0-5) unstable; urgency=medium
 .
   * Fix tests to work with Python 3.12. (Closes: #1056224, #1058209)
   * Update copyright year.
   * Update Standards-Version.
Checksums-Sha1:
 e6fec4f91a6a2dde33456de51304b30252208016 2279 advocate_1.0.0-5.dsc
 ec6d8410fb28de647cdb3859d5f0473f7d9b58e9 5276 advocate_1.0.0-5.debian.tar.xz
 5ab75d58eee5434f0df30256272bb886fd12e3c2 8471 advocate_1.0.0-5_source.buildinfo
Checksums-Sha256:
 6eecc8316e461b04e13e5c12dee899a86387c512a29d3d05058201b66c2f2e21 2279 
advocate_1.0.0-5.dsc
 257ed9bf49f1b43af739dc02f6d7a011af13d107a70b26dc8fcc90695e9ebc07 5276 
advocate_1.0.0-5.debian.tar.xz
 e52eb3d11afa2a59e2e6eea59e8d6f5f6a48a992970673135d10ae5d3bcac06d 8471 
advocate_1.0.0-5_source.buildinfo
Files:
 9e9863f481882eef3cd244d4083e062c 2279 python optional advocate_1.0.0-5.dsc
 27df7ab74d48aba08f3be231b4669426 5276 python optional 
advocate_1.0.0-5.debian.tar.xz
 66893d0eaacd824211b705448791796b 8471 python optional 
advocate_1.0.0-5_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE+4rPp4xyYInDitAmlgWhCYxjuSoFAmWISqgACgkQlgWhCYxj
uSrtERAAgl2OKRf0A5Bk7/fJs3h4FiL9O9cEOCBTAySKCwY+Q9UYmUNr/EemB4uO
94Z8k13f1uQ8hqq631wgK1Yo1P/Khx+nyblIZKS3IiMW4d2L3vKxgdKTN6SQlfJ5
AXGBPrMijTx3EbcQV1TeiHJXy7WNb0Uuwceu6xxsUdhdt0fZeBoDseV4DhWKNaMf
DibRFmgv58m9+5/Jd5khNM9e/V2EO4bzWzuNf/aCoH+TYCv01HSVEP7FnanY2Uqj
V0vlcyKacNWtS8dVnDVxsSWXQZbGNUQNALoBlFhNgatwz/izoo2i1hGmWEQt0+gd
h2TMSpUviY9Y04Y5F0W2NTwn6AqT3ho5rbGC391bg2FomyAlRcdS+72ZRn0lDu53
1TyoBLQ4MHDxTzB1E1mzBHPmQVlRSVsjGhlraTzF/XhrFMdQuyLNXGgOss/fnrnT
Ixfs4tSldyJ0DPiVL3D/h03/hdq+Zl2e0y2ASoM+rXkqEiE7+1oEuOAfbL3qyvRW
3BrF4EIPHTDz3qk7pgL4RjxDt4fXGi+2gDgEjTsNGrrVft3RfNPUXlByPf3/0L3M
Km+IzXVZXzaQSu7FLm9ebal7XpiBUFtEVh6dU2F+wn8jwdgNLVoqYI/KLux4o+Zi
dRgBJ+okmei83/blAZkSqt1kHHS9ui2Zx9DoinnhGD2pJaZ5oA8=
=I3pr
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to