diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2021-05-13 16:23:25 +0300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-05-14 07:25:05 -0700 |
| commit | ad8a4ff11c1e830126524758cac74d00f10caf4a (patch) | |
| tree | 9c01c3671352bed01ababad61a1a804e3f147bb3 /meta-python/recipes-devtools/python/python3-itsdangerous_2.0.0.bb | |
| parent | a7ea64f010ed286e4693692a28e5b3344b43792d (diff) | |
| download | meta-openembedded-ad8a4ff11c1e830126524758cac74d00f10caf4a.tar.gz | |
python3-itsdangerous: Upgrade 1.1.0 -> 2.0.0
Upgrade to release 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.
- Importing itsdangerous.json is deprecated. Import Python’s json
module instead.
- Simplejson is no longer used if it is installed. To use a
different library, pass it as Serializer(serializer=...).
- datetime values are timezone-aware with timezone.utc. Code using
TimestampSigner.unsign(return_timestamp=True) or
BadTimeSignature.date_signed may need to change.
- 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.
- BadTimeSignature.date_signed is always a datetime object rather
than an int in some cases.
- 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.
- Removed the default SHA-512 fallback signer from
default_fallback_signers.
- Add type information for static typing tools.
License-Update: standardize license
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-itsdangerous_2.0.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-itsdangerous_2.0.0.bb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-itsdangerous_2.0.0.bb b/meta-python/recipes-devtools/python/python3-itsdangerous_2.0.0.bb new file mode 100644 index 0000000000..ddcc5d9dd4 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-itsdangerous_2.0.0.bb | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | SUMMARY = "Various helpers to pass trusted data to untrusted environments and back." | ||
| 2 | HOMEPAGE = "http://github.com/mitsuhiko/itsdangerous" | ||
| 3 | LICENSE = "BSD-3-Clause" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=4cda9a0ebd516714f360b0e9418cfb37" | ||
| 5 | |||
| 6 | SRC_URI[sha256sum] = "99b1053ccce68066dfc0b4465ef8779027e6d577377c8270e21a3d6289cac111" | ||
| 7 | |||
| 8 | inherit pypi setuptools3 | ||
| 9 | |||
| 10 | CLEANBROKEN = "1" | ||
| 11 | |||
| 12 | RDEPENDS_${PN} += " \ | ||
| 13 | ${PYTHON_PN}-simplejson \ | ||
| 14 | ${PYTHON_PN}-netclient \ | ||
| 15 | ${PYTHON_PN}-compression \ | ||
| 16 | " | ||
