Your message dated Wed, 12 Jul 2023 19:43:57 +0000
with message-id <e1qjfkj-007ixm...@fasolo.debian.org>
and subject line Bug#1040574: fixed in python-qrcode 7.4.2-3
has caused the Debian Bug report #1040574,
regarding python-qrcode: implicitly depends on python3-pkg-resources
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.)


-- 
1040574: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040574
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-qrcode
Version: 7.4.2-2
Severity: serious

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


Dear maintainer,

your package implicitly depends on python3-pkg-resources for its autopkgtest,
which used to be provided through python3-pytest. However, pytest has dropped
that dependency, breaking your autopkgtest and possibly your package.

Note that pkg_resources is deprecated in favor of importlib.resources [1],
which is part of the Python Standard Library and has better performance.

Cheers
Timo

[1] https://docs.python.org/3/library/importlib.resources.html

- ---

Relevant excerpt from
https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-qrcode/35451521/log.gz


 26s =================================== FAILURES 
===================================
 26s _________________________ ScriptTest.test_bad_factory 
__________________________
 26s 
 26s self = <tests.test_script.ScriptTest testMethod=test_bad_factory>
 26s mock_stderr = <MagicMock name='stderr' id='140388587079440'>
 26s 
 26s     @mock.patch("sys.stderr")
 26s     def test_bad_factory(self, mock_stderr):
 26s >       self.assertRaises(SystemExit, main, "testtext --factory 
fish".split())
 26s 
 26s tests/test_script.py:68: 
 26s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ 
 26s 
 26s     def main(args=None):
 26s         if args is None:
 26s             args = sys.argv[1:]
 26s >       from pkg_resources import get_distribution
 26s E       ModuleNotFoundError: No module named 'pkg_resources'
 26s 
 26s /usr/lib/python3/dist-packages/qrcode/console_scripts.py:43: 
ModuleNotFoundError
 26s ___________________________ ScriptTest.test_factory 
____________________________
 26s 
 26s self = <tests.test_script.ScriptTest testMethod=test_factory>
 26s mock_stdout = <MagicMock name='stdout' id='140388582610896'>
 26s 
 26s     @mock.patch("sys.stdout")
 26s     def test_factory(self, mock_stdout):
 26s >       main("testtext --factory svg".split())
 26s 
 26s tests/test_script.py:64: 
 26s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ 
 26s 
 26s args = ['testtext', '--factory', 'svg']
 26s 
 26s     def main(args=None):
 26s         if args is None:
 26s             args = sys.argv[1:]
 26s >       from pkg_resources import get_distribution
 26s E       ModuleNotFoundError: No module named 'pkg_resources'
 26s 
 26s /usr/lib/python3/dist-packages/qrcode/console_scripts.py:43: 
ModuleNotFoundError
 26s ________________________ ScriptTest.test_factory_drawer 
________________________
 26s 
 26s self = <tests.test_script.ScriptTest testMethod=test_factory_drawer>
 26s mock_stderr = <_io.StringIO object at 0x7faec4596b90>
 26s 
 26s     @mock.patch("sys.stderr", new_callable=io.StringIO)
 26s     def test_factory_drawer(self, mock_stderr):
 26s >       main("testtext --factory svg --factory-drawer circle".split())
 26s 
 26s tests/test_script.py:98: 
 26s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ 
 26s 
 26s args = ['testtext', '--factory', 'svg', '--factory-drawer', 'circle']
 26s 
 26s     def main(args=None):
 26s         if args is None:
 26s             args = sys.argv[1:]
 26s >       from pkg_resources import get_distribution
 26s E       ModuleNotFoundError: No module named 'pkg_resources'
 26s 
 26s /usr/lib/python3/dist-packages/qrcode/console_scripts.py:43: 
ModuleNotFoundError
 26s ______________________ ScriptTest.test_factory_drawer_bad 
______________________
 26s 
 26s self = <tests.test_script.ScriptTest testMethod=test_factory_drawer_bad>
 26s mock_stderr = <_io.StringIO object at 0x7faec4b97e20>
 26s 
 26s     @mock.patch("sys.stderr", new_callable=io.StringIO)
 26s     def test_factory_drawer_bad(self, mock_stderr):
 26s         with self.assertRaises(SystemExit):
 26s >           main("testtext --factory svg --factory-drawer sobad".split())
 26s 
 26s tests/test_script.py:93: 
 26s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ 
 26s 
 26s     def main(args=None):
 26s         if args is None:
 26s             args = sys.argv[1:]
 26s >       from pkg_resources import get_distribution
 26s E       ModuleNotFoundError: No module named 'pkg_resources'
 26s 
 26s /usr/lib/python3/dist-packages/qrcode/console_scripts.py:43: 
ModuleNotFoundError
 26s _____________________ ScriptTest.test_factory_drawer_none 
______________________
 26s 
 26s self = <tests.test_script.ScriptTest testMethod=test_factory_drawer_none>
 26s mock_stderr = <_io.StringIO object at 0x7faec4595e10>
 26s 
 26s     @mock.patch("sys.stderr", new_callable=io.StringIO)
 26s     @unittest.skipIf(not Image, "Requires PIL")
 26s     def test_factory_drawer_none(self, mock_stderr):
 26s         with self.assertRaises(SystemExit):
 26s >           main("testtext --factory pil --factory-drawer nope".split())
 26s 
 26s tests/test_script.py:85: 
 26s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ 
 26s 
 26s     def main(args=None):
 26s         if args is None:
 26s             args = sys.argv[1:]
 26s >       from pkg_resources import get_distribution
 26s E       ModuleNotFoundError: No module named 'pkg_resources'
 26s 
 26s /usr/lib/python3/dist-packages/qrcode/console_scripts.py:43: 
ModuleNotFoundError
 26s ____________________________ ScriptTest.test_isatty 
____________________________
 26s 
 26s self = <tests.test_script.ScriptTest testMethod=test_isatty>
 26s mock_print_ascii = <MagicMock name='print_ascii' id='140388595588688'>
 26s 
 26s     @mock.patch("os.isatty", lambda *args: True)
 26s     @mock.patch("qrcode.main.QRCode.print_ascii")
 26s     def test_isatty(self, mock_print_ascii):
 26s >       main(["testtext"])
 26s 
 26s tests/test_script.py:26: 
 26s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ 
 26s 
 26s args = ['testtext']
 26s 
 26s     def main(args=None):
 26s         if args is None:
 26s             args = sys.argv[1:]
 26s >       from pkg_resources import get_distribution
 26s E       ModuleNotFoundError: No module named 'pkg_resources'
 26s 
 26s /usr/lib/python3/dist-packages/qrcode/console_scripts.py:43: 
ModuleNotFoundError
 26s ___________________________ ScriptTest.test_optimize 
___________________________
 26s 
 26s self = <tests.test_script.ScriptTest testMethod=test_optimize>
 26s mock_print_ascii = <MagicMock name='print_ascii' id='140388586972624'>
 26s 
 26s     @mock.patch("os.isatty", lambda *args: True)
 26s     @mock.patch("qrcode.main.QRCode.print_ascii")
 26s     def test_optimize(self, mock_print_ascii):
 26s >       main("testtext --optimize 0".split())
 26s 
 26s tests/test_script.py:60: 
 26s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ 
 26s 
 26s args = ['testtext', '--optimize', '0']
 26s 
 26s     def main(args=None):
 26s         if args is None:
 26s             args = sys.argv[1:]
 26s >       from pkg_resources import get_distribution
 26s E       ModuleNotFoundError: No module named 'pkg_resources'
 26s 
 26s /usr/lib/python3/dist-packages/qrcode/console_scripts.py:43: 
ModuleNotFoundError
 26s ____________________________ ScriptTest.test_output 
____________________________
 26s 
 26s self = <tests.test_script.ScriptTest testMethod=test_output>
 26s 
 26s     @unittest.skipIf(not Image, "Requires PIL")
 26s     def test_output(self):
 26s         tmpfile = os.path.join(self.tmpdir, "test.png")
 26s >       main(["testtext", "--output", tmpfile])
 26s 
 26s tests/test_script.py:78: 
 26s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ 
 26s 
 26s args = ['testtext', '--output', '/tmp/tmpboq4w331/test.png']
 26s 
 26s     def main(args=None):
 26s         if args is None:
 26s             args = sys.argv[1:]
 26s >       from pkg_resources import get_distribution
 26s E       ModuleNotFoundError: No module named 'pkg_resources'
 26s 
 26s /usr/lib/python3/dist-packages/qrcode/console_scripts.py:43: 
ModuleNotFoundError
 26s ____________________________ ScriptTest.test_piped 
_____________________________
 26s 
 26s self = <tests.test_script.ScriptTest testMethod=test_piped>
 26s mock_stdout = <MagicMock name='stdout' id='140388595296208'>
 26s 
 26s     @mock.patch("os.isatty", lambda *args: False)
 26s     @mock.patch("sys.stdout")
 26s     @unittest.skipIf(not Image, "Requires PIL")
 26s     def test_piped(self, mock_stdout):
 26s >       main(["testtext"])
 26s 
 26s tests/test_script.py:33: 
 26s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ 
 26s 
 26s args = ['testtext']
 26s 
 26s     def main(args=None):
 26s         if args is None:
 26s             args = sys.argv[1:]
 26s >       from pkg_resources import get_distribution
 26s E       ModuleNotFoundError: No module named 'pkg_resources'
 26s 
 26s /usr/lib/python3/dist-packages/qrcode/console_scripts.py:43: 
ModuleNotFoundError
 26s ____________________________ ScriptTest.test_stdin 
_____________________________
 26s 
 26s self = <tests.test_script.ScriptTest testMethod=test_stdin>
 26s mock_stdin = <MagicMock name='stdin' id='140388582197840'>
 26s mock_print_ascii = <MagicMock name='print_ascii' id='140388582198160'>
 26s 
 26s     @mock.patch("os.isatty", lambda *args: True)
 26s     @mock.patch("qrcode.main.QRCode.print_ascii")
 26s     @mock.patch("sys.stdin")
 26s     def test_stdin(self, mock_stdin, mock_print_ascii):
 26s         mock_stdin.buffer.read.return_value = "testtext"
 26s >       main([])
 26s 
 26s tests/test_script.py:40: 
 26s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ 
 26s 
 26s args = []
 26s 
 26s     def main(args=None):
 26s         if args is None:
 26s             args = sys.argv[1:]
 26s >       from pkg_resources import get_distribution
 26s E       ModuleNotFoundError: No module named 'pkg_resources'
 26s 
 26s /usr/lib/python3/dist-packages/qrcode/console_scripts.py:43: 
ModuleNotFoundError
 26s _________________ ScriptTest.test_stdin_py3_unicodedecodeerror 
_________________
 26s 
 26s self = <tests.test_script.ScriptTest 
testMethod=test_stdin_py3_unicodedecodeerror>
 26s mock_print_ascii = <MagicMock name='print_ascii' id='140388595637776'>
 26s 
 26s     @mock.patch("os.isatty", lambda *args: True)
 26s     @mock.patch("qrcode.main.QRCode.print_ascii")
 26s     def test_stdin_py3_unicodedecodeerror(self, mock_print_ascii):
 26s         mock_stdin = mock.Mock(sys.stdin)
 26s         mock_stdin.buffer.read.return_value = "testtext"
 26s         mock_stdin.read.side_effect = bad_read
 26s         with mock.patch("sys.stdin", mock_stdin):
 26s             # sys.stdin.read() will raise an error...
 26s             self.assertRaises(UnicodeDecodeError, sys.stdin.read)
 26s             # ... but it won't be used now.
 26s >           main([])
 26s 
 26s tests/test_script.py:54: 
 26s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ 
 26s 
 26s args = []
 26s 
 26s     def main(args=None):
 26s         if args is None:
 26s             args = sys.argv[1:]
 26s >       from pkg_resources import get_distribution
 26s E       ModuleNotFoundError: No module named 'pkg_resources'
 26s 
 26s /usr/lib/python3/dist-packages/qrcode/console_scripts.py:43: 
ModuleNotFoundError
 26s ___________________________ ScriptTest.test_sys_argv 
___________________________
 26s 
 26s self = <tests.test_script.ScriptTest testMethod=test_sys_argv>
 26s 
 26s     @mock.patch.object(sys, "argv", "qr testtext output".split())
 26s     @unittest.skipIf(not Image, "Requires PIL")
 26s     def test_sys_argv(self):
 26s >       main()
 26s 
 26s tests/test_script.py:73: 
 26s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ 
 26s 
 26s args = ['testtext', 'output']
 26s 
 26s     def main(args=None):
 26s         if args is None:
 26s             args = sys.argv[1:]
 26s >       from pkg_resources import get_distribution
 26s E       ModuleNotFoundError: No module named 'pkg_resources'


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

iQGzBAEBCgAdFiEEJvtDgpxjkjCIVtam+C8H+466LVkFAmSoT7UACgkQ+C8H+466
LVlixQwAgn8yRZzZjhkQDlNx87kVePfiK+M7w3fZKERWs1Ua2ge+D276drHB6Q+c
ZQ8Y6idHoM762wUQ6EaiDfPauUmz6bIbx0uOLASaSACKr4gNxndMq6nVHg2rJSp4
UIBNepaXvEu56MsshnhWW8DIw8ptKspb23Jqqb3r6jJqrdRfAxNuLuC+5jVuS786
w27Ncw7P3Tr3qxYDSLlDY/TIsHlLVsljRtKUEboyK3vW7gW/mFJ/YADIAPja6Nft
9Z3kKV9UVOUiUoElLO9O+9ehr55ItRqyFXdntJs2QCn41BqZT+4l/Oj5VaLqNrQQ
QuCAXfKOBqnnDjZoVobUPdo8YhPZBkw0qvp/dOCaY8F4AUK9XeneFCEUr12cVTC9
uMR5FB1BEjKtd7wxfp78NDhzEvd2x9KSAVuxkBo4kaZcYFsm13j6EN+iX9eo0di/
MU/TorLPRix1Z1sm/ac8z7PGL7QXK+/+rLFUUum3ME5hjFYyUu9UYO1MuswgRrnJ
Dnxnnr7h
=fVbd
-----END PGP SIGNATURE-----

--- End Message ---
--- Begin Message ---
Source: python-qrcode
Source-Version: 7.4.2-3
Done: Timo Röhling <roehl...@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 1040...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Timo Röhling <roehl...@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: Wed, 12 Jul 2023 20:22:17 +0200
Source: python-qrcode
Architecture: source
Version: 7.4.2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Timo Röhling <roehl...@debian.org>
Closes: 1040574
Changes:
 python-qrcode (7.4.2-3) unstable; urgency=medium
 .
   * Team upload.
   * Add missing depend on python3-pkg-resources (Closes: #1040574)
Checksums-Sha1:
 e70eb86855b503780470e27c6610c3bebb34971a 2165 python-qrcode_7.4.2-3.dsc
 a2d64c9d9cf6dd1a2423645ab875b1a99599599d 4760 
python-qrcode_7.4.2-3.debian.tar.xz
 08d94bebce98c592c258ba8dd4914a180184e329 7394 
python-qrcode_7.4.2-3_amd64.buildinfo
Checksums-Sha256:
 7317da0e88830b03b29ddf55e9b0efe9c5f60311a8f972df8b7f70b9a191a03a 2165 
python-qrcode_7.4.2-3.dsc
 127483ebee7c657484317cf1f7d7e94fb4723358ab849d756a875d4f49693691 4760 
python-qrcode_7.4.2-3.debian.tar.xz
 67c26fc9bda1257f8d3fd5cb11944b0d5c8ef01542f1d980046a9c8eb2737408 7394 
python-qrcode_7.4.2-3_amd64.buildinfo
Files:
 8b7c7374eaa1f906317af1fc9d49dc8a 2165 python optional python-qrcode_7.4.2-3.dsc
 61801ca38ce95a7a3626113e3e96eaf2 4760 python optional 
python-qrcode_7.4.2-3.debian.tar.xz
 3d2b71364fefab65a529135b7897f478 7394 python optional 
python-qrcode_7.4.2-3_amd64.buildinfo

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

iQHIBAEBCgAyFiEEJvtDgpxjkjCIVtam+C8H+466LVkFAmSu75oUHHJvZWhsaW5n
QGRlYmlhbi5vcmcACgkQ+C8H+466LVmQhAv8DK41X5J1N8xbtk1ZI4FD60CoRvtj
virRDg0OInvdna1qXPxyb7a0MwDnFnm4OUjElGRkp0dlDdn2Xpr9xcSyupeXGTK5
Fx/pQWhDT8urWN96QPuhVMlb9CSvIS9bwnZxSOJ767Apg+RBWz5myDuBlJ95BAhN
zdjHhBBwhCMHyZAjBiW6StVC+N75LX5PP4AHwSZNOL/FXCzde+3dZd0QS9QKql3d
jt+W4mvcSzujOq7W9adnQ0OfB2Y9gYdzEStuXm0szNQf1gPqJiAAMajbu6y7U+Me
ryp5981DtHVhAXlXkFrCm8+iVEBojqcJ66nNkXIkQZWlnRDYkCGjYx4G5dpjKgt3
L3wvEZpLqmUSRejVNDnY+9mhrvVu7gGD+NvaBuuSw68LXX04qUbd3UpPyP7OLCXm
une8+wl6lUYkYdn/zXQvybcWEaLukNt3tBQTFXOuFvlltY21HhHvcXUhbNhK61Wo
r0crRtDikXO4otgaXpfOfYsFGfv+KJ5uTpBJ
=Tohh
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to