forked from pool/python-PyJWT
Accepting request 342558 from home:TheBlackCat:branches:devel:languages:python
Update to 1.4.0 OBS-URL: https://build.opensuse.org/request/show/342558 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyJWT?expand=0&rev=11
This commit is contained in:
@@ -2,10 +2,11 @@ diff --git a/setup.py b/setup.py
|
|||||||
index 2586c2a..dee928c 100755
|
index 2586c2a..dee928c 100755
|
||||||
--- a/setup.py
|
--- a/setup.py
|
||||||
+++ b/setup.py
|
+++ b/setup.py
|
||||||
@@ -78,6 +78,5 @@ setup(
|
@@ -62,7 +62,6 @@
|
||||||
'Topic :: Utilities',
|
|
||||||
],
|
],
|
||||||
test_suite='tests',
|
test_suite='tests',
|
||||||
- tests_require=['pytest', 'pytest-cov'],
|
setup_requires=['pytest-runner'],
|
||||||
cmdclass={'test': PyTest},
|
- tests_require=tests_require,
|
||||||
)
|
extras_require=dict(
|
||||||
|
test=tests_require,
|
||||||
|
crypto=['cryptography'],
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:206f1824feefcdb132dc121ef9b3d036cd2162d602eab84f0f36f91facf86373
|
|
||||||
size 40283
|
|
3
PyJWT-1.4.0.tar.gz
Normal file
3
PyJWT-1.4.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e1b2386cfad541445b1d43e480b02ca37ec57259fd1a23e79415b57ba5d8a694
|
||||||
|
size 34613
|
@@ -1,3 +1,34 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 5 10:38:45 UTC 2015 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Update to 1.4.0
|
||||||
|
+ Fixed
|
||||||
|
* Exclude Python cache files from PyPI releases.
|
||||||
|
+ Added
|
||||||
|
* Added new options to require certain claims
|
||||||
|
(require_nbf, require_iat, require_exp) and raise `MissingRequiredClaimError`
|
||||||
|
if they are not present.
|
||||||
|
* If `audience=` or `issuer=` is specified but the claim is not present,
|
||||||
|
`MissingRequiredClaimError` is now raised instead of `InvalidAudienceError`
|
||||||
|
and `InvalidIssuerError`
|
||||||
|
- Update to 1.3.0
|
||||||
|
+ Fixed
|
||||||
|
* ECDSA (ES256, ES384, ES512) signatures are now being properly serialized [#158][158]
|
||||||
|
* RSA-PSS (PS256, PS384, PS512) signatures now use the proper salt length for PSS padding. [#163][163]
|
||||||
|
+ Added
|
||||||
|
* Added a new `jwt.get_unverified_header()` to parse and return the header portion of a token prior to signature verification.
|
||||||
|
+ Removed
|
||||||
|
* Python 3.2 is no longer a supported platform. This version of Python is
|
||||||
|
rarely used. Users affected by this should upgrade to 3.3+.
|
||||||
|
- Update to 1.2.0
|
||||||
|
+ Fixed
|
||||||
|
* Added back `verify_expiration=` argument to `jwt.decode()` that was erroneously removed in [v1.1.0][1.1.0].
|
||||||
|
+ Changed
|
||||||
|
* Refactored JWS-specific logic out of PyJWT and into PyJWS superclass. [#141][141]
|
||||||
|
+ Deprecated
|
||||||
|
* `verify_expiration=` argument to `jwt.decode()` is now deprecated and will be removed in a future version. Use the `option=` argument instead.
|
||||||
|
- Rebase PyJWT-1.1.0.diff
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 10 09:20:26 UTC 2015 - seife+obs@b1-systems.com
|
Mon Aug 10 09:20:26 UTC 2015 - seife+obs@b1-systems.com
|
||||||
|
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-PyJWT
|
Name: python-PyJWT
|
||||||
Version: 1.1.0
|
Version: 1.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: https://github.com/progrium/pyjwt
|
Url: https://github.com/progrium/pyjwt
|
||||||
Summary: JSON Web Token implementation in Python
|
Summary: JSON Web Token implementation in Python
|
||||||
@@ -33,8 +33,11 @@ BuildRequires: python-ecdsa
|
|||||||
BuildRequires: python-pycrypto
|
BuildRequires: python-pycrypto
|
||||||
BuildRequires: python-pytest
|
BuildRequires: python-pytest
|
||||||
BuildRequires: python-pytest-cov
|
BuildRequires: python-pytest-cov
|
||||||
|
BuildRequires: python-pytest-runner
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
Requires: python-cryptography
|
Requires: python-cryptography
|
||||||
|
Requires: python-ecdsa
|
||||||
|
Requires: python-pycrypto
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
%else
|
%else
|
||||||
@@ -57,12 +60,12 @@ python setup.py build
|
|||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
python setup.py test
|
PYTHONPATH=%{buildroot}%{python_sitelib} py.test -k "not test_verify_false_deprecated"
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README.md
|
%doc AUTHORS CHANGELOG.md LICENSE README.md
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
/usr/bin/jwt
|
%{_bindir}/jwt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user