Your message dated Mon, 11 Dec 2023 13:07:24 +0000
with message-id <e1rcg0k-00gajx...@fasolo.debian.org>
and subject line Bug#1056501: fixed in python-qrcode 7.4.2-4
has caused the Debian Bug report #1056501,
regarding python-qrcode's autopkg tests fail with Python 3.12
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.)


-- 
1056501: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056501
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:python-qrcode
Version: 7.4.2-3
Severity: important
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.12

python-qrcode's autopkg tests fail with Python 3.12:

[...]
309s autopkgtest [18:50:26]: test qrcode: [-----------------------
309s ============================= test session starts ==============================
309s platform linux -- Python 3.12.0+, pytest-7.4.3, pluggy-1.3.0
309s rootdir: /tmp/autopkgtest.A3lFBV/autopkgtest_tmp
309s collected 79 items
309s
309s tests/test_example.py . [ 1%] 312s tests/test_qrcode.py ................................................... [ 65%] 312s ... [ 69%] 312s tests/test_qrcode_svg.py ...... [ 77%] 312s tests/test_release.py F... [ 82%] 312s tests/test_script.py ............. [ 98%] 312s tests/test_util.py . [100%]
312s
312s =================================== FAILURES =================================== 312s ________________________ UpdateManpageTests.test_change ________________________
312s
312s self = <tests.test_release.UpdateManpageTests testMethod=test_change>
312s mock_file = <MagicMock name='open' id='139709509974016'>
312s
312s     @mock.patch(OPEN, new_callable=mock.mock_open, read_data=DATA)
312s     def test_change(self, mock_file):
312s         update_manpage({"name": "qrcode", "new_version": "3.11"})
312s         expected = re.split(r"([^\n]*(?:\n|$))", DATA)[1::2]
312s         expected[1] = (
312s             expected[1]
312s             .replace("version", "3.11")
312s .replace("date", datetime.datetime.now().strftime("%-d %b %Y"))
312s         )
312s > mock_file().write.has_calls([mock.call(line) for line in expected])
312s
312s tests/test_release.py:40:
312s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
312s
312s self = <MagicMock name='open().write' id='139709510532992'>, name = 'has_calls'
312s
312s     def __getattr__(self, name):
312s         if name in {'_mock_methods', '_mock_unsafe'}:
312s             raise AttributeError(name)
312s         elif self._mock_methods is not None:
312s             if name not in self._mock_methods or name in _all_magics:
312s raise AttributeError("Mock object has no attribute %r" % name)
312s         elif _is_magic(name):
312s             raise AttributeError(name)
312s if not self._mock_unsafe and (not self._mock_methods or name not in self._mock_methods): 312s if name.startswith(('assert', 'assret', 'asert', 'aseert', 'assrt')) or name in _ATTRIB_DENY_LIST:
312s >               raise AttributeError(
312s                     f"{name!r} is not a valid assertion. Use a spec "
312s f"for the mock if {name!r} is meant to be an attribute.") 312s E AttributeError: 'has_calls' is not a valid assertion. Use a spec for the mock if 'has_calls' is meant to be an attribute.
312s
312s /usr/lib/python3.12/unittest/mock.py:663: AttributeError
312s =============================== warnings summary ===============================
312s tests/test_script.py::ScriptTest::test_bad_factory
312s /usr/lib/python3/dist-packages/qrcode/console_scripts.py:43: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
312s     from pkg_resources import get_distribution
312s
312s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
312s =========================== short test summary info ============================ 312s FAILED tests/test_release.py::UpdateManpageTests::test_change - AttributeErro... 312s =================== 1 failed, 78 passed, 1 warning in 3.34s ====================
--- End Message ---
--- Begin Message ---
Source: python-qrcode
Source-Version: 7.4.2-4
Done: Bastian Germann <b...@debian.org>

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

Debian distribution maintenance software
pp.
Bastian Germann <b...@debian.org> (supplier of updated python-qrcode 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: Mon, 11 Dec 2023 13:44:46 +0100
Source: python-qrcode
Architecture: source
Version: 7.4.2-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Bastian Germann <b...@debian.org>
Closes: 1050267 1056501
Changes:
 python-qrcode (7.4.2-4) unstable; urgency=medium
 .
   * Team upload
   * Remove retired Uploader (Closes: #1050267)
   * Patch: correct call on mock_file().write (Closes: #1056501)
Checksums-Sha1:
 01a00f1e4ee490fc2b0baea72a68ff5337562474 2130 python-qrcode_7.4.2-4.dsc
 ff83fcf2753d9c66f8587a3427d183eab61f6aaa 5296 
python-qrcode_7.4.2-4.debian.tar.xz
 f8b0a7382eda1a6b23b70a5e395a60bb7db24b6c 8072 
python-qrcode_7.4.2-4_source.buildinfo
Checksums-Sha256:
 19a3971bd3d8321d8f047be53c1f0585e6352158556b935420550aba02111799 2130 
python-qrcode_7.4.2-4.dsc
 caccb5409cc64c7ff26764bc4ecb9b06f2b1c6399634dd5028eed2c09075d9d9 5296 
python-qrcode_7.4.2-4.debian.tar.xz
 f770f6d9b06f50436340965fbcef9e02e7d2fafedf4cfd339009630c9d2e4186 8072 
python-qrcode_7.4.2-4_source.buildinfo
Files:
 a23fe066d2f4f59eca2a0fd1f383ffbb 2130 python optional python-qrcode_7.4.2-4.dsc
 224f27f1118a150abff4d795bca86ada 5296 python optional 
python-qrcode_7.4.2-4.debian.tar.xz
 8ed069ca2c23537d4a51169e90a76b5a 8072 python optional 
python-qrcode_7.4.2-4_source.buildinfo

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

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmV3BLEQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFETKDADP65Tld2t/WudFV5p9XkInL07D5EBcZZ5S
c2pAsydK2b2fvpMZCDlaL3H7uOzy4oh0Sc6B+0fBzvO6eTlONSNWqunM7LUbl/5p
qIsMgnVFGx1+2YvhcxS3boyDccNq8/FTU7vy6PI5JmWChJ8tZX+dnLApGW7buty3
icNybp+xUMIhxoS6hRZK9elUZhZC5NSMmvpbOj02b11p+3KyYt7MFftgSxk9k4kK
hDAOcNijzDdmeFAHrrFeC/XfvxvpLkPVdmTLKVhHNC/8FZKeQC/zcdx8dJOZ+5MT
Pigzxpgg45YFWTrrGxuOJqQjDgwvOMXdDSSkiHPLJpcn3rXMjIGt9BABzTocuFVy
UkHPL/794jxBmkgoe7YqsPdREYDvDVhffHhyL2C0V8WbdnC8RJlSBGzY+eIIXmDH
o9GLwphdKJ97iX0iz03BjtDnNOFUeTBwSgPxXsTLnWVsHQBMMiTnAQe2QZdK4/wU
drLDMFEqTETunT7Beqh0p5DbqNfn9K4=
=wyCP
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to