forked from pool/python-itsdangerous
Accepting request 900892 from home:stroeder:python
update to version 2.0.1 (PY3-only) OBS-URL: https://build.opensuse.org/request/show/900892 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-itsdangerous?expand=0&rev=17
This commit is contained in:
parent
dd8f7891ef
commit
2dff9c0c8f
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:321b033d07f2a4136d3ec762eac9f16a10ccd60f53c0c91af90217ace7ba1f19
|
||||
size 53219
|
3
itsdangerous-2.0.1.tar.gz
Normal file
3
itsdangerous-2.0.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9e724d68fc22902a1435351f84c3fb8623f303fffcc566a4cb952df8c572cff0
|
||||
size 59336
|
@ -1,3 +1,33 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 19 07:34:21 UTC 2021 - Michael Ströder <michael@stroeder.com>
|
||||
|
||||
- update to version 2.0.1
|
||||
* Version 2.0.1
|
||||
- Mark top-level names as exported so type checking understands imports
|
||||
in user projects. #240
|
||||
- The salt argument to Serializer and Signer can be None again. #237
|
||||
* Version 2.0.0
|
||||
- Drop support for Python 2 and 3.5.
|
||||
- JWS support (JSONWebSignatureSerializer,
|
||||
TimedJSONWebSignatureSerializer) is deprecated. Use a dedicated JWS/JWT
|
||||
library such as authlib instead. #129
|
||||
- Importing itsdangerous.json is deprecated. Import Python’s json module instead. #152
|
||||
- Simplejson is no longer used if it is installed. To use a different
|
||||
library, pass it as Serializer(serializer=...). #146
|
||||
- datetime values are timezone-aware with timezone.utc. Code using
|
||||
TimestampSigner.unsign(return_timestamp=True) or
|
||||
BadTimeSignature.date_signed may need to change. #150
|
||||
- If a signature has an age less than 0, it will raise SignatureExpired
|
||||
rather than appearing valid. This can happen if the timestamp offset is
|
||||
changed. #126
|
||||
- BadTimeSignature.date_signed is always a datetime object rather than an
|
||||
int in some cases. #124
|
||||
- Added support for key rotation. A list of keys can be passed as
|
||||
secret_key, oldest to newest. The newest key is used for signing, all
|
||||
keys are tried for unsigning. #141
|
||||
- Removed the default SHA-512 fallback signer from default_fallback_signers. #155
|
||||
- Add type information for static typing tools. #186
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 11 07:52:22 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-itsdangerous
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,14 +16,16 @@
|
||||
#
|
||||
|
||||
|
||||
%define oldpython python
|
||||
%define skip_python2 1
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-itsdangerous
|
||||
Version: 1.1.0
|
||||
Version: 2.0.1
|
||||
Release: 0
|
||||
Summary: Various helpers to pass trusted data to untrusted environments and back
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: http://github.com/mitsuhiko/itsdangerous
|
||||
URL: https://itsdangerous.palletsprojects.com
|
||||
Source: https://files.pythonhosted.org/packages/source/i/itsdangerous/itsdangerous-%{version}.tar.gz
|
||||
BuildRequires: %{python_module freezegun}
|
||||
BuildRequires: %{python_module pytest}
|
||||
|
Loading…
x
Reference in New Issue
Block a user