Your message dated Sat, 24 Aug 2019 17:23:17 +0000 with message-id <e1i1zkz-0007mu...@fasolo.debian.org> and subject line Bug#934960: fixed in pytest-mock 1.10.4-1 has caused the Debian Bug report #934960, regarding python-mock breaks pytest-mock autopkgtest 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.) -- 934960: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934960 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Source: python-mock, pytest-mock Control: found -1 python-mock/3.0.5-1 Control: found -1 pytest-mock/1.7.1-1 Severity: serious X-Debbugs-CC: debian...@lists.debian.org User: debian...@lists.debian.org Usertags: breaks needs-update Dear maintainers, With a recent upload of python-mock the autopkgtest of pytest-mock fails in testing when that autopkgtest is run with the binary packages of python-mock from unstable. It passes when run with only packages from testing. In tabular form: pass fail python-mock from testing 3.0.5-1 pytest-mock from testing 1.7.1-1 all others from testing from testing I copied some of the output at the bottom of this report. Currently this regression is blocking the migration of python-mock to testing [1]. Due to the nature of this issue, I filed this bug report against both packages. Can you please investigate the situation and reassign the bug to the right package? If needed, please change the bug's severity. More information about this bug and the reason for filing it can be found on https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation Paul [1] https://qa.debian.org/excuses.php?package=python-mock https://ci.debian.net/data/autopkgtest/testing/amd64/p/pytest-mock/2752732/log.gz =================================== FAILURES =================================== _______________ TestMockerStub.test_failure_message_with_no_name _______________ self = <test_pytest_mock.TestMockerStub instance at 0x7fb607a0ca50> mocker = <pytest_mock.MockFixture object at 0x7fb6079b5590> def test_failure_message_with_no_name(self, mocker): > self.__test_failure_message(mocker) test_pytest_mock.py:189: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <test_pytest_mock.TestMockerStub instance at 0x7fb607a0ca50> mocker = <pytest_mock.MockFixture object at 0x7fb6079b5590>, kwargs = {} expected_name = 'mock', expected_message = 'Expected call: mock()\nNot called' stub = <MagicMock spec='function' id='140419788396112'> exc_info = <ExceptionInfo AssertionError tblen=3> def __test_failure_message(self, mocker, **kwargs): expected_name = kwargs.get('name') or 'mock' expected_message = 'Expected call: {0}()\nNot called'.format(expected_name) stub = mocker.stub(**kwargs) with pytest.raises(AssertionError) as exc_info: stub.assert_called_with() > assert str(exc_info.value) == expected_message E AssertionError test_pytest_mock.py:186: AssertionError _____________ TestMockerStub.test_failure_message_with_name[None] ______________ self = <test_pytest_mock.TestMockerStub instance at 0x7fb607a20730> mocker = <pytest_mock.MockFixture object at 0x7fb607932510>, name = None @pytest.mark.parametrize('name', (None, '', 'f', 'The Castle of aaarrrrggh')) def test_failure_message_with_name(self, mocker, name): > self.__test_failure_message(mocker, name=name) test_pytest_mock.py:193: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <test_pytest_mock.TestMockerStub instance at 0x7fb607a20730> mocker = <pytest_mock.MockFixture object at 0x7fb607932510> kwargs = {'name': None}, expected_name = 'mock' expected_message = 'Expected call: mock()\nNot called' stub = <MagicMock spec='function' id='140419787858704'> exc_info = <ExceptionInfo AssertionError tblen=3> def __test_failure_message(self, mocker, **kwargs): expected_name = kwargs.get('name') or 'mock' expected_message = 'Expected call: {0}()\nNot called'.format(expected_name) stub = mocker.stub(**kwargs) with pytest.raises(AssertionError) as exc_info: stub.assert_called_with() > assert str(exc_info.value) == expected_message E AssertionError test_pytest_mock.py:186: AssertionError _______________ TestMockerStub.test_failure_message_with_name[] ________________ self = <test_pytest_mock.TestMockerStub instance at 0x7fb607a0f5f0> mocker = <pytest_mock.MockFixture object at 0x7fb607a11590>, name = '' @pytest.mark.parametrize('name', (None, '', 'f', 'The Castle of aaarrrrggh')) def test_failure_message_with_name(self, mocker, name): > self.__test_failure_message(mocker, name=name) test_pytest_mock.py:193: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <test_pytest_mock.TestMockerStub instance at 0x7fb607a0f5f0> mocker = <pytest_mock.MockFixture object at 0x7fb607a11590> kwargs = {'name': ''}, expected_name = 'mock' expected_message = 'Expected call: mock()\nNot called' stub = <MagicMock spec='function' id='140419788774864'> exc_info = <ExceptionInfo AssertionError tblen=3> def __test_failure_message(self, mocker, **kwargs): expected_name = kwargs.get('name') or 'mock' expected_message = 'Expected call: {0}()\nNot called'.format(expected_name) stub = mocker.stub(**kwargs) with pytest.raises(AssertionError) as exc_info: stub.assert_called_with() > assert str(exc_info.value) == expected_message E AssertionError test_pytest_mock.py:186: AssertionError _______________ TestMockerStub.test_failure_message_with_name[f] _______________ self = <test_pytest_mock.TestMockerStub instance at 0x7fb607850730> mocker = <pytest_mock.MockFixture object at 0x7fb6079b1350>, name = 'f' @pytest.mark.parametrize('name', (None, '', 'f', 'The Castle of aaarrrrggh')) def test_failure_message_with_name(self, mocker, name): > self.__test_failure_message(mocker, name=name) test_pytest_mock.py:193: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <test_pytest_mock.TestMockerStub instance at 0x7fb607850730> mocker = <pytest_mock.MockFixture object at 0x7fb6079b1350> kwargs = {'name': 'f'}, expected_name = 'f' expected_message = 'Expected call: f()\nNot called' stub = <MagicMock name='f' spec='function' id='140419788378384'> exc_info = <ExceptionInfo AssertionError tblen=3> def __test_failure_message(self, mocker, **kwargs): expected_name = kwargs.get('name') or 'mock' expected_message = 'Expected call: {0}()\nNot called'.format(expected_name) stub = mocker.stub(**kwargs) with pytest.raises(AssertionError) as exc_info: stub.assert_called_with() > assert str(exc_info.value) == expected_message E AssertionError test_pytest_mock.py:186: AssertionError ___ TestMockerStub.test_failure_message_with_name[The Castle of aaarrrrggh] ____ self = <test_pytest_mock.TestMockerStub instance at 0x7fb607998f00> mocker = <pytest_mock.MockFixture object at 0x7fb6079dec10> name = 'The Castle of aaarrrrggh' @pytest.mark.parametrize('name', (None, '', 'f', 'The Castle of aaarrrrggh')) def test_failure_message_with_name(self, mocker, name): > self.__test_failure_message(mocker, name=name) test_pytest_mock.py:193: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <test_pytest_mock.TestMockerStub instance at 0x7fb607998f00> mocker = <pytest_mock.MockFixture object at 0x7fb6079dec10> kwargs = {'name': 'The Castle of aaarrrrggh'} expected_name = 'The Castle of aaarrrrggh' expected_message = 'Expected call: The Castle of aaarrrrggh()\nNot called' stub = <MagicMock name='The Castle of aaarrrrggh' spec='function' id='140419788564688'> exc_info = <ExceptionInfo AssertionError tblen=3> def __test_failure_message(self, mocker, **kwargs): expected_name = kwargs.get('name') or 'mock' expected_message = 'Expected call: {0}()\nNot called'.format(expected_name) stub = mocker.stub(**kwargs) with pytest.raises(AssertionError) as exc_info: stub.assert_called_with() > assert str(exc_info.value) == expected_message E AssertionError test_pytest_mock.py:186: AssertionError
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---Source: pytest-mock Source-Version: 1.10.4-1 We believe that the bug you reported is fixed in the latest version of pytest-mock, 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 934...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Ondřej Nový <on...@debian.org> (supplier of updated pytest-mock 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, 24 Aug 2019 18:44:21 +0200 Source: pytest-mock Architecture: source Version: 1.10.4-1 Distribution: unstable Urgency: medium Maintainer: Debian Python Modules Team <python-modules-t...@lists.alioth.debian.org> Changed-By: Ondřej Nový <on...@debian.org> Closes: 904304 934960 Changes: pytest-mock (1.10.4-1) unstable; urgency=medium . * Team upload. * New upstream release (Closes: #904304). * d/control: Remove ancient X-Python3-Version field * Use debhelper-compat instead of debian/compat. * Fix compatibility with newer Python, python-mock and pytest (Closes: #934960). * Bump standards version to 4.4.0 (no changes). * Bump debhelper compat level to 12. Checksums-Sha1: 131083c6cdc7430703d5ce3b6824f748e8b9c44d 2365 pytest-mock_1.10.4-1.dsc cc1f0b772771aa6f43e7c9c6f3a44e5467887602 18790 pytest-mock_1.10.4.orig.tar.gz 15094af25e250f7045fca22ad42616035be689b5 4044 pytest-mock_1.10.4-1.debian.tar.xz 30b6ef3bcfbf7a0f1590eb73e549552df1765803 7896 pytest-mock_1.10.4-1_amd64.buildinfo Checksums-Sha256: df02551dc2fcc581b78db5faa52740838ac59a6844b314a71497fdf949962204 2365 pytest-mock_1.10.4-1.dsc 5bf5771b1db93beac965a7347dc81c675ec4090cb841e49d9d34637a25c30568 18790 pytest-mock_1.10.4.orig.tar.gz 9c42d9402822490dc1e345b53e0f771fc0e89d0d65c0056fd45d2a9bff4a0e92 4044 pytest-mock_1.10.4-1.debian.tar.xz 4a596abd19ce5e4816644890bc394be2d1023979bd4a790f23cc4f342fa99db7 7896 pytest-mock_1.10.4-1_amd64.buildinfo Files: 77b0ead9e04c4b23d7945a6fc7de5dea 2365 python optional pytest-mock_1.10.4-1.dsc 793ba64d0c8eb30db703910f65c08148 18790 python optional pytest-mock_1.10.4.orig.tar.gz 7725a42308d1e70799b0ca3d3a238eb8 4044 python optional pytest-mock_1.10.4-1.debian.tar.xz 49f2d42176920739b3013f1ab09f01cc 7896 python optional pytest-mock_1.10.4-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEPZg8UuuFmAxGpWCQNXMSVZ0eBksFAl1hagYACgkQNXMSVZ0e Bkt3fBAAhGNTta3HdlXWvAoQ8KAor5jvbXTjofQBONyH5Qtu9KqKiId5ZMHLtpDg AGtAYA3yFCuC0wPUrClp7K6qc57AUfayjdeu0VjvUUoxCXjLJJZV87UsLbpzpuEA YQj8d+DBVeTU5Aw67wEERQZdlmLiug1bGAfDl+T8s+yTfNAK8mYbINtTAvs1ibwp Gb0qHAgPaYSU1CL2zQYBTgEMQhDrJN8m0fBbaq/Ax81mlcfwNhZaAcQYo399mhRz /5oDIYuXqvyQKkBnLPhHbhGxPkc5PamnqcVLsXUC1HLq/3Ob2wuf7l/TNDSohmxF gtuIj+gTptBeaM3JcliM7fm5Z6jnp2NHUZhIq7NW4gZ1HoTBervvKYPJlkW/Qu0M zDDb0j/KSDvdb1/T4zpr7AgyWDytut15QjSBR7efKIowH2NFzVubv3LtzFrjB0RD gvBKdjSzR1/eHzzCrammS8GtlidR62E45VBCEfnTr8DtkigkUUpimXhoAjKMaTY9 IDdpaw9AlcACKqtccgbzsFtVZWqPaP4AwVQ+72XELiEK6zx5U1NgpPzpojg7TXKJ KVP3rISJn7SXKaAI0H4vsnhD58cC7WCj/SRi+QAgv/R4tKs0FGKMHnXtoel/N/bF QhnGOoMGg9CKteY9illcdd5sbkoSFRJpizxF9gtwBAFk+gh6bCk= =BglZ -----END PGP SIGNATURE-----
--- End Message ---