Your message dated Wed, 17 Jun 2020 01:19:33 +0000 with message-id <[email protected]> and subject line Bug#962937: fixed in python-oauthlib 3.1.0-2 has caused the Debian Bug report #962937, regarding python-oauthlib: FTBFS with newer 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.) -- 962937: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962937 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Source: python-oauthlib Version: 3.1.0-1 Severity: serious Tags: ftbfs python-oauthlib 3.1.0-1 FTBFS and autopkgtest fails with newer python-mock 4.0.2-1. Thanks for fixing. __________ AuthorizationCodeGrantTest.test_invalid_request_duplicates __________ self = <tests.oauth2.rfc6749.grant_types.test_authorization_code.AuthorizationCodeGrantTest testMethod=test_invalid_request_duplicates> def test_invalid_request_duplicates(self): request = mock.MagicMock(wraps=self.request) request.grant_type = 'authorization_code' request.duplicate_params = ['client_id'] > self.assertRaises(errors.InvalidRequestError, > self.auth.validate_token_request, request) tests/oauth2/rfc6749/grant_types/test_authorization_code.py:159: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py:453: in validate_token_request raise errors.InvalidRequestError(description='Duplicate %s parameter.' % param, /usr/lib/python3/dist-packages/oauthlib/oauth2/rfc6749/errors.py:49: in __init__ if request: /usr/lib/python3/dist-packages/mock/mock.py:2160: in __get__ return self.create_mock() /usr/lib/python3/dist-packages/mock/mock.py:2156: in create_mock _set_return_value(parent, m, entry) /usr/lib/python3/dist-packages/mock/mock.py:2053: in _set_return_value method._mock_wraps = getattr(mock._mock_wraps, name) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in self._params: return self._params[name] else: > raise AttributeError(name) E AttributeError: __bool__ /usr/lib/python3/dist-packages/oauthlib/common.py:436: AttributeError -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.6.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8), LANGUAGE=cs_CZ.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
--- End Message ---
--- Begin Message ---Source: python-oauthlib Source-Version: 3.1.0-2 Done: Daniele Tricoli <[email protected]> We believe that the bug you reported is fixed in the latest version of python-oauthlib, 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. Daniele Tricoli <[email protected]> (supplier of updated python-oauthlib 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: SHA512 Format: 1.8 Date: Wed, 17 Jun 2020 02:52:07 +0200 Source: python-oauthlib Architecture: source Version: 3.1.0-2 Distribution: unstable Urgency: medium Maintainer: Debian Python Modules Team <[email protected]> Changed-By: Daniele Tricoli <[email protected]> Closes: 962937 Changes: python-oauthlib (3.1.0-2) unstable; urgency=medium . [ Debian Janitor ] * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository, Repository-Browse. * Update standards version to 4.5.0, no changes needed. . [ Daniele Tricoli ] * Add upstream patch to use unittest.mock instead of external mock. Thanks to Ondřej Nový for the report. (Closes: #962937) * Remove python3-mock dependency. * Fix lintian runtime-test-file-uses-installed-python-versions. Checksums-Sha1: 04389314dc6ff11f876c05dc3366b465181cfff3 2239 python-oauthlib_3.1.0-2.dsc 448959d6b8144d692a35799e43250d783e00b8af 6572 python-oauthlib_3.1.0-2.debian.tar.xz 34d5bb42a0104987745a20fcc5e6cc544988990a 6525 python-oauthlib_3.1.0-2_amd64.buildinfo Checksums-Sha256: afb980138fc67eb77a45fe02c18d823538b429fa1c6528bf071f88c9054ff5f8 2239 python-oauthlib_3.1.0-2.dsc d7372da85a891fdb90df43c266042fc2153eba1cc7f3d20df014f11121e7af66 6572 python-oauthlib_3.1.0-2.debian.tar.xz 377781baa88c0f81712fd51be8b1de744c275adcde465b17482e152e24a6687c 6525 python-oauthlib_3.1.0-2_amd64.buildinfo Files: c17dc395045e7fb34ee83dc16bf957f7 2239 python optional python-oauthlib_3.1.0-2.dsc 0b7e72c731f65329ae09aac58433fa33 6572 python optional python-oauthlib_3.1.0-2.debian.tar.xz 1997068207fd62b2f39f1b5a8984b08a 6525 python optional python-oauthlib_3.1.0-2_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEExlrvn+W/jMvW7bAZi69SLA1szt0FAl7pavoRHGVyaW9sQGRl Ymlhbi5vcmcACgkQi69SLA1szt2P3RAAyBDOG0EB+vSDQhGbM7rKZR3XkKTvt782 Yo+rpDdTR6QAk+9J3pY7F2Tiszi0XHqWMB9etEJBoWmqI5geT+JyK12cb0F1smVS rLPLJNzH738sbqCG+GtByUHPRXQfXQB0bn31XRvVqAfwQumHwMXat5YdDDVA1XYh RumM//U5oZdyMy9IIHMSG5twY3r7TvSc/fj7bHZazvWZM6fFY3u8Sczz+7Xxr5GA QisT2lvMULHs81zqfWgR/3OWtjWOlRB6KkrqYpwqqaKiSoAS87rLna5XVJCPtgXb OGeiS9DSptOWV6OL7aSgnzCZVsCkL4TJIj4cnILux/4JcAmvL/gsxOG8/htqunZk KBG1WOSFV1eL0HHa+Du2oMduvlJbPIhJzT+Xcge3bwx6rQGrXawueax7ovvtTPbz F1oTZ1amaOuI2c/zpay/Au56fqK0REydMYH6//o8AtDgc1yP5yiGBhvwQosz9GSr fDgWeGi/szMVnH0UaCFcD0rLcRDHlnLt9ksDbe416LBkJSKhU/YWs5V5up9eZh5b PkD3Lkm6w0MyrIWkJ/h4SLp37pZGUVglVS7pcTC6vnMMqWYcvCjIt+tdC/A5s1Ib LWfl++j+JXXjlNBPF9UDIhfNS74tN+7m9M83u+fwY5GFfH8ekS4SeB0NvbS/X5S8 gVmuJOlVabs= =d0Jr -----END PGP SIGNATURE-----
--- End Message ---

