Your message dated Mon, 03 Dec 2018 01:19:47 +0000
with message-id <e1gtctn-0004mw...@fasolo.debian.org>
and subject line Bug#915200: fixed in pyjwt 1.7.0-1
has caused the Debian Bug report #915200,
regarding pyjwt FTBFS with pytest 3.10.1-1
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.)
--
915200: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915200
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: pyjwt
Version: 1.6.4-1
Severity: serious
Tags: ftbfs
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pyjwt.html
...
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:217: cd /build/1st/pyjwt-1.6.4/.pybuild/cpython2_2.7_jwt/build;
python2.7 -m pytest tests
============================= test session starts ==============================
platform linux2 -- Python 2.7.15+, pytest-3.10.1, py-1.7.0, pluggy-0.8.0
rootdir: /build/1st/pyjwt-1.6.4, inifile: setup.cfg
plugins: cov-2.6.0
collected 188 items
tests/test_algorithms.py ............................................. [ 23%]
tests/test_api_jws.py .........................F.....s.................. [ 50%]
...... [ 53%]
tests/test_api_jwt.py ..........................................F [ 76%]
tests/test_cli.py ............. [ 83%]
tests/test_compat.py ... [ 85%]
tests/test_exceptions.py . [ 85%]
tests/test_jwt.py . [ 86%]
tests/test_utils.py .....x....... [ 93%]
tests/contrib/test_algorithms.py sssssssssssss [100%]
=================================== FAILURES ===================================
___________ TestJWS.test_decode_no_algorithms_verify_signature_false ___________
self = <tests.test_api_jws.TestJWS instance at 0x7fdb4cedc368>
jws = <jwt.api_jws.PyJWS object at 0x7fdb4ceda150>
def test_decode_no_algorithms_verify_signature_false(self, jws):
example_secret = 'secret'
example_jws = (
b'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.'
b'aGVsbG8gd29ybGQ.'
b'SIr03zM64awWRdPrAM_61QWsZchAtgDV3pphfHPPWkI'
)
try:
pytest.deprecated_call(
jws.decode, example_jws, key=example_secret,
> options={'verify_signature': False},
)
E Failed: DID NOT WARN. No warnings of type (<type
'exceptions.DeprecationWarning'>, <type
'exceptions.PendingDeprecationWarning'>) was emitted. The list of emitted
warnings is: [].
tests/test_api_jws.py:295: Failed
________________ TestJWT.test_decode_no_algorithms_verify_false ________________
self = <tests.test_api_jwt.TestJWT instance at 0x7fdb4bd8eef0>
jwt = <jwt.api_jwt.PyJWT object at 0x7fdb4bda77d0>
payload = {'claim': 'insanity', 'exp': 1543624411, 'iss': 'jeff'}
def test_decode_no_algorithms_verify_false(self, jwt, payload):
secret = 'secret'
jwt_message = jwt.encode(payload, secret)
try:
pytest.deprecated_call(
> jwt.decode, jwt_message, secret, verify=False,
)
E Failed: DID NOT WARN. No warnings of type (<type
'exceptions.DeprecationWarning'>, <type
'exceptions.PendingDeprecationWarning'>) was emitted. The list of emitted
warnings is: [].
tests/test_api_jwt.py:517: Failed
---------- coverage: platform linux2, python 2.7.15-final-0 ----------
Name Stmts Miss Cover Missing
------------------------------------------------------------------
jwt/__init__.py 9 0 100%
jwt/__main__.py 63 0 100%
jwt/algorithms.py 173 2 99% 31-32
jwt/api_jws.py 130 1 99% 119
jwt/api_jwt.py 121 0 100%
jwt/compat.py 35 17 51% 15-16, 26-42, 46-54
jwt/contrib/__init__.py 0 0 100%
jwt/contrib/algorithms/__init__.py 0 0 100%
jwt/contrib/algorithms/py_ecdsa.py 29 27 7% 8-60
jwt/contrib/algorithms/pycrypto.py 26 25 4% 2-46
jwt/exceptions.py 30 0 100%
jwt/help.py 31 31 0% 1-61
jwt/utils.py 70 3 96% 11-12, 19
tests/__init__.py 0 0 100%
tests/compat.py 7 2 71% 8-9
tests/contrib/__init__.py 0 0 100%
tests/contrib/test_algorithms.py 104 77 26% 11, 17, 25-28,
31-34, 37-40, 43-63, 66-84, 87-103, 106-112, 118-121, 124-127, 130-147,
150-165, 168-181, 184-190
tests/keys/__init__.py 34 7 79% 28-29, 33-34, 41-44
tests/test_algorithms.py 280 2 99% 17-18
tests/test_api_jws.py 392 18 95% 24-25, 298-300,
342-344, 528-533, 610-612, 636, 659
tests/test_api_jwt.py 264 3 99% 467, 520-522
tests/test_cli.py 89 2 98% 45, 88
tests/test_compat.py 9 0 100%
tests/test_exceptions.py 4 0 100%
tests/test_jwt.py 8 0 100%
tests/test_utils.py 14 0 100%
tests/utils.py 21 1 95% 18
------------------------------------------------------------------
TOTAL 1943 218 89%
=============================== warnings summary ===============================
.pybuild/cpython2_2.7_jwt/build/tests/test_utils.py:8
.pybuild/cpython2_2.7_jwt/build/tests/test_utils.py:8:
RemovedInPytest4Warning: Applying marks directly to parameters is deprecated,
please use pytest.param(..., marks=...) instead.
For more details, see: https://docs.pytest.org/en/latest/parametrize.html
.pybuild/cpython2_2.7_jwt/build/tests/test_api_jws.py::TestJWS::()::test_encode_decode
/build/1st/pyjwt-1.6.4/.pybuild/cpython2_2.7_jwt/build/jwt/api_jws.py:146:
DeprecationWarning: It is strongly recommended that you pass in a value for the
"algorithms" argument when calling decode(). This argument will be mandatory in
a future version.
DeprecationWarning
.pybuild/cpython2_2.7_jwt/build/tests/test_api_jws.py::TestJWS::()::test_allow_skip_verification
/build/1st/pyjwt-1.6.4/.pybuild/cpython2_2.7_jwt/build/tests/test_api_jws.py:262:
DeprecationWarning: The verify parameter is deprecated. Please use
verify_signature in options instead.
decoded_payload = jws.decode(jws_message, verify=False)
.pybuild/cpython2_2.7_jwt/build/tests/test_api_jws.py::TestJWS::()::test_load_no_verification
/build/1st/pyjwt-1.6.4/.pybuild/cpython2_2.7_jwt/build/tests/test_api_jws.py:306:
DeprecationWarning: The verify parameter is deprecated. Please use
verify_signature in options instead.
decoded_payload = jws.decode(jws_message, key=None, verify=False)
.pybuild/cpython2_2.7_jwt/build/tests/test_api_jws.py::TestJWS::()::test_decode_with_algo_none_and_verify_false_should_pass
/build/1st/pyjwt-1.6.4/.pybuild/cpython2_2.7_jwt/build/tests/test_api_jws.py:425:
DeprecationWarning: The verify parameter is deprecated. Please use
verify_signature in options instead.
jws.decode(jws_message, verify=False)
.pybuild/cpython2_2.7_jwt/build/tests/test_api_jwt.py::TestJWT::()::test_decodes_valid_jwt
/build/1st/pyjwt-1.6.4/.pybuild/cpython2_2.7_jwt/build/jwt/api_jwt.py:82:
DeprecationWarning: It is strongly recommended that you pass in a value for the
"algorithms" argument when calling decode(). This argument will be mandatory in
a future version.
DeprecationWarning
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=== 2 failed, 171 passed, 14 skipped, 1 xfailed, 6 warnings in 21.77 seconds ===
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd
/build/1st/pyjwt-1.6.4/.pybuild/cpython2_2.7_jwt/build; python2.7 -m pytest
tests
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7 returned
exit code 13
make: *** [debian/rules:8: build] Error 25
--- End Message ---
--- Begin Message ---
Source: pyjwt
Source-Version: 1.7.0-1
We believe that the bug you reported is fixed in the latest version of
pyjwt, 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 915...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Daniele Tricoli <er...@mornie.org> (supplier of updated pyjwt 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: Mon, 03 Dec 2018 01:52:54 +0100
Source: pyjwt
Binary: python-jwt python3-jwt
Architecture: source all
Version: 1.7.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Daniele Tricoli <er...@mornie.org>
Description:
python-jwt - Python implementation of JSON Web Token
python3-jwt - Python 3 implementation of JSON Web Token
Closes: 915200
Changes:
pyjwt (1.7.0-1) unstable; urgency=medium
.
[ Ondřej Nový ]
* Convert git repository from git-dpm to gbp layout
.
[ Daniele Tricoli ]
* New upstream release.
* debian/control
- Bump python{,3}-pytest version to >= 3.9.0 in Build-Depends.
- Bump Standards-Version to 4.2.1 (no changes needed).
* debian/patches
- Add 0001-Fix-tests-to-work-with-pytest-3.9.0.patch. (Closes: #915200)
* debian/pyjwt.1
- Update release date.
Checksums-Sha1:
2f352222c58cf81ee33c4780b7d4d397128389af 2499 pyjwt_1.7.0-1.dsc
9187dbcfdcb48421622377dc177c3d15d95a29b8 41883 pyjwt_1.7.0.orig.tar.gz
30519981efed1e93a5b693a45cdb6b1defd0becd 4936 pyjwt_1.7.0-1.debian.tar.xz
b6ffc15ea2e3aaec9806addcd6740a8c24dc4cc2 8368 pyjwt_1.7.0-1_amd64.buildinfo
41a2f5952603ad3fea9f0f5aaecdd1a95bd65766 20632 python-jwt_1.7.0-1_all.deb
22c42840665e593b1eb444263c23ce890297cef5 20508 python3-jwt_1.7.0-1_all.deb
Checksums-Sha256:
6a6fa2ddbd4ed790b8984ffd111f32685b2d57d681448dfe38aa18545d2eca07 2499
pyjwt_1.7.0-1.dsc
ddec8409c57e9d371c6006e388f91daf3b0b43bdf9fcbf99451fb7cf5ce0a86d 41883
pyjwt_1.7.0.orig.tar.gz
7a231d54ba355b4c7af03d107bb5dffef8c8b57a9de5fe99189e2fa840b174b7 4936
pyjwt_1.7.0-1.debian.tar.xz
bb7282d53c48ffccc7c7cb41ab3b42cb79558e74c89d5a7a730593ca224da138 8368
pyjwt_1.7.0-1_amd64.buildinfo
d13e8ffc96be9dadb57395a5a03e7e62a820d7d4923e3df2a4e547ef9b3378c9 20632
python-jwt_1.7.0-1_all.deb
4c332fee01465dbbeff58f7530ef60ff50b8a1cad1f586a05e6695c2b1638de2 20508
python3-jwt_1.7.0-1_all.deb
Files:
3fa03b607150c28e7016d996cccb630f 2499 python optional pyjwt_1.7.0-1.dsc
05d9dde25fe90139f20a8d7c59897319 41883 python optional pyjwt_1.7.0.orig.tar.gz
ea85ae5c985c86f43ef4eda27ee6347d 4936 python optional
pyjwt_1.7.0-1.debian.tar.xz
64e072659c9f89afb291f643ae3d58e3 8368 python optional
pyjwt_1.7.0-1_amd64.buildinfo
7932e5d7b180dda97d53075cab056a94 20632 python optional
python-jwt_1.7.0-1_all.deb
7bc9a5e8847828e95a4eeaf213d223eb 20508 python optional
python3-jwt_1.7.0-1_all.deb
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEExlrvn+W/jMvW7bAZi69SLA1szt0FAlwEf6wRHGVyaW9sQG1v
cm5pZS5vcmcACgkQi69SLA1szt314g//VaKsvj3YbNc+MQ+Wi3KEYLIaV8fS7LAI
zIBLRZd2LDsw2BB3UKNCtdxOGjNKmmOdiWfh1whZtXUpfRckLCTni1OuYMWIodVC
OwuIkDJNAcLhOxligXBsX5b/ZauiSgg1nwcS2/QcOFWKQSZVxYNt82f33mWUfqTN
NS/joCNeL3+X3HHW4ea4WWwzDCEM+6y4HTuYCdickupV1tuKxaA9ygDs3U3lnxM9
h3eaffUzA/OSFD9SV9lSTvODAa/9jbFzPWrJsT3wMOYNw7tFad71hfkR5lqRhV3p
de/GkgBby3WtztTcs0Hi+XfA1II5QUiCJtU2AJlVY6MMlTEhTvozYCHLcL8ST//U
ljXhuN4C2sgWPXb+dsGQj97zKgBA5KmgvwLdv5UCjTvvCmJx6szLoo6F5tnOqtc6
X1QQ09ukEx6swFHQIcueQMuF9BUZyzrRjx6CVqMkRi37ZfV/Oc3OlQYOtc680s8H
WcBmmTACizGwMcDCtMIw1Kxw8qpFzE4T8k3Yi7osT/OzFafOc1ZWq3sDXKtWOsAL
OLoAtXdygVxyviJ9LEu0YUTPjWqXN6f4gC6o13ZS427fwViMH3GjwN2rVYVHAWr3
1Q9k4/a8niUlp6+HaOVQxzPegJfuE+OPk74q0y1QSwO4lfl4mxyz3Ua9qJhK8+E1
AWpVm2WrgL8=
=9V+x
-----END PGP SIGNATURE-----
--- End Message ---