Your message dated Mon, 04 Jan 2021 14:21:16 +0000
with message-id <[email protected]>
and subject line Bug#977087: fixed in python-google-auth 1.5.1-3
has caused the Debian Bug report #977087,
regarding python-google-auth FTBFS with pytest 6
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.)
--
977087: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977087
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-google-auth
Version: 1.5.1-2
Severity: important
User: [email protected]
Usertags: pytest-v6
Hi,
python-google-auth FTBFS with pytest 6 in experimental because
pytest.warns no longer accepts a second string argument, see
https://docs.pytest.org/en/latest/changelog.html#removals
The error log below has more details.
> I: pybuild base:232: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_google-auth/build; python3.9 -m pytest
> --ignore=tests/transport
> ============================= test session starts
> ==============================
> platform linux -- Python 3.9.1, pytest-6.0.2, py-1.9.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>
> plugins: localserver-0.5.0
> collected 252 items
>
> tests/test__cloud_sdk.py ............ [
> 4%]
> tests/test__default.py .....F..................... [
> 15%]
> tests/test__helpers.py .................. [
> 22%]
> tests/test__oauth2client.py ......... [
> 26%]
> tests/test__service_account_info.py .... [
> 27%]
> tests/test_app_engine.py ............. [
> 32%]
> tests/test_credentials.py ............ [
> 37%]
> tests/test_iam.py .... [
> 39%]
> tests/test_jwt.py ............................................ [
> 56%]
> tests/compute_engine/test__metadata.py ............ [
> 61%]
> tests/compute_engine/test_credentials.py ............. [
> 66%]
> tests/crypt/test__cryptography_rsa.py ................ [
> 73%]
> tests/crypt/test__python_rsa.py .................. [
> 80%]
> tests/crypt/test_crypt.py .. [
> 80%]
> tests/oauth2/test__client.py ............ [
> 85%]
> tests/oauth2/test_credentials.py ..... [
> 87%]
> tests/oauth2/test_id_token.py ...... [
> 90%]
> tests/oauth2/test_service_account.py .........................
> [100%]
>
> =================================== FAILURES
> ===================================
> __________ test__load_credentials_from_file_authorized_user_cloud_sdk
> __________
>
> def test__load_credentials_from_file_authorized_user_cloud_sdk():
>> with pytest.warns(UserWarning, matches='Cloud SDK'):
> E TypeError: Unexpected keyword arguments passed to pytest.warns:
> matches
> E Use context-manager form instead?
>
> tests/test__default.py:95: TypeError
> =============================== warnings summary
> ===============================
> .pybuild/cpython3_3.9_google-auth/build/tests/test_jwt.py::test_decode_valid
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_google-auth/build/google/auth/jwt.py:221:
> DeprecationWarning: Using or importing the ABCs from 'collections' instead
> of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will
> stop working
> if isinstance(certs, collections.Mapping):
>
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info
> ============================
> FAILED
> tests/test__default.py::test__load_credentials_from_file_authorized_user_cloud_sdk
> =================== 1 failed, 251 passed, 1 warning in 1.02s
> ===================
> E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_google-auth/build; python3.9 -m pytest
> --ignore=tests/transport
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9
> returned exit code 13
> make: *** [debian/rules:10: build] Error 25
> dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--- End Message ---
--- Begin Message ---
Source: python-google-auth
Source-Version: 1.5.1-3
Done: Thomas Goirand <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-google-auth, 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.
Thomas Goirand <[email protected]> (supplier of updated python-google-auth
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, 04 Jan 2021 14:51:12 +0100
Source: python-google-auth
Architecture: source
Version: 1.5.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Closes: 977087
Changes:
python-google-auth (1.5.1-3) unstable; urgency=medium
.
[ Ondřej Nový ]
* Bump Standards-Version to 4.4.1.
.
[ Thomas Goirand ]
* Add patches (Closes: #977087):
- fix-unit-test-using-collections.patch
- remove_test__load_credentials_from_file_authorized_user_cloud_sdk.patch
Checksums-Sha1:
c6babf1b3e55f9fcf51649331b16d0d1c67a1bbb 2398 python-google-auth_1.5.1-3.dsc
328d2d958fa3038e37f1c0f4222ab90bf9b141e0 3108
python-google-auth_1.5.1-3.debian.tar.xz
dd500a8a62487b358bc8ff4868c6cb862d2349e6 7900
python-google-auth_1.5.1-3_amd64.buildinfo
Checksums-Sha256:
3259bf3b202af1eb40d55a00be61d668334e8bd109d82aaf452c6d23875ddf8b 2398
python-google-auth_1.5.1-3.dsc
21629c715c770f96ab6438be51e21b6c00cadb7b28702fa2a2b81755d5218f98 3108
python-google-auth_1.5.1-3.debian.tar.xz
eb6392667cd108ba0f1f84006401a1621134cd1102bdb1f7347e464b46cd5708 7900
python-google-auth_1.5.1-3_amd64.buildinfo
Files:
8f8d18bdc2ba71ec8749c4746fde2177 2398 python optional
python-google-auth_1.5.1-3.dsc
489276920d2579741ef1e20d98900c65 3108 python optional
python-google-auth_1.5.1-3.debian.tar.xz
668007e0dca6aca4c2d1f02801f0cd2c 7900 python optional
python-google-auth_1.5.1-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAl/zHw4ACgkQ1BatFaxr
Q/6lzQ//WUlHBGw+wR43+xmZfEwr0nA3+7kzuy+LwHDTxjal2l7SrMuGUgk/XXYw
DelVrDRnnsJEazMn8hOc65yNbDO/hUgTbF+vDunyeU9TMOm9cQxHtzhaf1pB0joM
oOTyvP+bfQbX5PA7ZIQg32FSHxAI63yNryaUF65VatxKDU74QXYWpnqSxbQsVwJ5
YLss/5Yxs2F6xyI9HBoNR4xN+ywBBI9oOEcWcTCHnJhagVoSwKRqwonYpCGU37uf
7SyoPP67K84OEpB0jNRXbI7/cH67lyhaATOYhI4bgu1DpzdkPsjkdTy0aMr7tqmZ
N006ooZMF+0ffP7GQKrbdxFpC0052j87nOeqi8Xz6lblQD0mmvbzHa2Nf3Z0NEN/
hNGbqwEAKD68VTiPQqt8/sYSaQ3qAwHq4Ab6bGvw5NwNTBatzrtfnmfS0M7r6f9C
D1oUakuHN5MdUWhfvorDvSi9Fey0lWkLPsCPK0mNlZ9yYtJpd9sm7aj3ZFcUiSB+
PRuiQZkS01R1aqWMdvdHzbKn1827I6Off+f/7zs0zpjfz/8sw89R+jyik+A2v9GS
exNAd7dwjyO056rEVItlpwej83AFsExx4JdFR8Nv/rVH9nuY1LaJ6kuBkxC1XnEl
HSGqOxXJxJfjv47098kEniyGGvdmj6BlOVebwcqJ8EyZ67s2oxg=
=+anR
-----END PGP SIGNATURE-----
--- End Message ---