Your message dated Mon, 18 Sep 2017 18:11:12 +0000 with message-id <[email protected]> and subject line Bug#861245: fixed in pytest-mock 1.6.3-1 has caused the Debian Bug report #861245, regarding pytest-mock: needs a versioned b-d on python-mock 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 [email protected] immediately.) -- 861245: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861245 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Source: pytest-mock Version: 1.3.0-1 Severity: important Hello, when backporting pytest-mock to Jessie, it FTBFS with the jessie version of python-mock (1.0.1-3) with: ``` test_pytest_mock.py::test_assert_not_called_wrapper FAILED =================================== FAILURES =================================== ________________________ test_assert_not_called_wrapper ________________________ mocker = <pytest_mock.MockFixture object at 0x7ffff59c4c90> @pytest.mark.skipif(sys.version_info[:2] in [(3, 3), (3, 4)], reason="assert_not_called not available in python 3.3 and 3.4") def test_assert_not_called_wrapper(mocker): stub = mocker.stub() > stub.assert_not_called() test_pytest_mock.py:364: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <MagicMock spec='function' id='140737314123216'> name = 'assert_not_called' def __getattr__(self, name): if name == '_mock_methods': raise AttributeError(name) elif self._mock_methods is not None: if name not in self._mock_methods or name in _all_magics: > raise AttributeError("Mock object has no attribute %r" % name) E AttributeError: Mock object has no attribute 'assert_not_called' /usr/lib/python2.7/dist-packages/mock.py:667: AttributeError !!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!! ================ 1 failed, 28 passed, 2 xfailed in 0.31 seconds ================ ``` that went away when i used the bpo version of python-mock (2.0.0-3~bpo8+1) ; that implies the unversioned b-d on python-mock is not enough, and that b-d needs to have a proper version added thanks, sandro -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.0.0-2-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
--- End Message ---
--- Begin Message ---Source: pytest-mock Source-Version: 1.6.3-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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Vincent Bernat <[email protected]> (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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Mon, 18 Sep 2017 19:14:32 +0200 Source: pytest-mock Binary: python-pytest-mock python3-pytest-mock Architecture: source all Version: 1.6.3-1 Distribution: unstable Urgency: medium Maintainer: Debian Python Modules Team <[email protected]> Changed-By: Vincent Bernat <[email protected]> Description: python-pytest-mock - thin-wrapper around mock for easier use with py.test (Python 2 mo python3-pytest-mock - thin-wrapper around mock for easier use with py.test (Python 3 mo Closes: 861245 871127 872618 Changes: pytest-mock (1.6.3-1) unstable; urgency=medium . * New upstream release. Closes: #872618. + Fix FTBFS due to deprecated use of mock fixture. Closes: #871127. * d/control: Build-Conflicts on python3-mock as tests are expecting it to be absent. * d/control: Build-Depends on python-mock (>= 2). Closes: #861245. * d/control: bump Standards-Version. Checksums-Sha1: 2c6e269973fb8a53955d7826bf29114fc215e005 2303 pytest-mock_1.6.3-1.dsc 4d71bb3d158d250bb3120b67199347bf59b7fc7d 18482 pytest-mock_1.6.3.orig.tar.gz 2af7bf140b91fcc904f70dacf9231c34470c1402 2320 pytest-mock_1.6.3-1.debian.tar.xz f30dc1e3541e200a5399b267f3edeecd3117d98f 7105 pytest-mock_1.6.3-1_amd64.buildinfo 68689111a0bde011ac6e137bb583e78fa0fba5c6 16232 python-pytest-mock_1.6.3-1_all.deb b32fb1c9bfc169edef9af62ad31b76043e77a996 12724 python3-pytest-mock_1.6.3-1_all.deb Checksums-Sha256: 6213e7613d1bb70957e490ce32aaa6ac591ce2da441cd0a0a9d4152438c6027d 2303 pytest-mock_1.6.3-1.dsc 920d1167af5c2c2ad3fa0717d0c6c52e97e97810160c15721ac895cac53abb1c 18482 pytest-mock_1.6.3.orig.tar.gz 41e4a0ef6732d366d9ce94d3444b02c4c1309c2bb188053bae6cddeab1ce1f0c 2320 pytest-mock_1.6.3-1.debian.tar.xz d64c9aa86598bdd0bf7668da9e5bba079b02dabcc654d704d07921b7a4a8ba21 7105 pytest-mock_1.6.3-1_amd64.buildinfo 42e83afecba63706ae9c20a866bda265f0b3c88ad81238c7247a90164db6a1e3 16232 python-pytest-mock_1.6.3-1_all.deb 1288e8e209c6e73ded4fcd8265180c5d84b1c0401a8958f150b7eecfdbaa304d 12724 python3-pytest-mock_1.6.3-1_all.deb Files: a36bececddb5328d49764e0e079baa38 2303 python optional pytest-mock_1.6.3-1.dsc cc73628b645d5287e7bfe574ec56639e 18482 python optional pytest-mock_1.6.3.orig.tar.gz f767fbffbcd792c9c0de26525cc1a2a7 2320 python optional pytest-mock_1.6.3-1.debian.tar.xz 0cdc2ff0c539b2374a2de82da0518c2b 7105 python optional pytest-mock_1.6.3-1_amd64.buildinfo eaaf3e03803a2d968172ba894dd3a1ff 16232 python optional python-pytest-mock_1.6.3-1_all.deb 24934ce2cda871009df6d9a5d1a551b3 12724 python optional python3-pytest-mock_1.6.3-1_all.deb -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEErvI0h2bzccaJpzYAlaQv6DU1JfkFAlnAAzEQHGJlcm5hdEBs dWZmeS5jeAAKCRCVpC/oNTUl+d2qEACPKcSlgIWihSK+s/X6joy2zHrlptvtrJkG 2m5/v3DJ3oCidrQS+YAKKNE6xOWn1wyHCbGGX2J9xuXAs8wIp0M5eFpqefpVcjeX 2civMuu3PPPwl3VB2FQYh8R7wimXSMPRUlrQKk4vu9LjaAR6kRzYHvCr6F0WuLek n+TilSmvN9de6xu8BEw8JT778d/DLCMX3o182XRCAMAzRrss0/pRGbz3Epz17zxQ ytje63aHrFOaAvpiLLxXu16ibP+99pYfY1gmyzV1ToYf767E7pcxinLN3OiASfTg ytX+kvsxz9btR0/gCQ622EwPVvcsyB0u0XBaKT5oRKcfgAlhmxVIF9Xr0kVFvB2S LAgiPNRZ49Hj4V+U3z6twSnzhg5ROL0Ceq7kxX3Aa3UicjMBVsCIMyQ3Q2FOgKCk LGzyXop8I57bg+BNInuvjM/I6cUhbE9/fDnv99WLfeQ270Tj1B36GIE3zVy76Xon Ho3XfMb+nJDX0cd5WbST8dc/tQX4Q8Bi2mj8QZoAW2+ZTEpp/1ar5kszuKKigVzp //BidmkNShYJDMW3sqKhufWxRBNGkqCOdptnmrzMHSgSkbWaR4buO5KoSYKfs//x aLMGIM+Ygd3ExgCPVurTCA93zqks7DSy/9xr2WDMt8LdnhC8dCrrGlQxMTYtAKl8 95601NUbHg== =1EGb -----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

