diff mbox series

[meta-python,1/6] python3-itsdangerous: Upgrade 2.1.2 -> 2.2.0

Message ID 20240809085236.1828180-1-leon.anavi@konsulko.com
State Accepted
Headers show
Series [meta-python,1/6] python3-itsdangerous: Upgrade 2.1.2 -> 2.2.0 | expand

Commit Message

Leon Anavi Aug. 9, 2024, 8:52 a.m. UTC
Upgrade to release 2.2.0:

- Drop support for Python 3.7
- Use modern packaging metadata with pyproject.toml instead of
  setup.cfg
- Use flit_core instead of setuptools as build backend
- Deprecate the __version__ attribute. Use feature detection, or
  importlib.metadata.version("itsdangerous"), instead.
- Serializer and the return type of dumps is generic for type
  checking. By default it is Serializer[str] and dumps returns a
  str. If a different serializer argument is given, it will try to
  infer the return type of its dumps method.
- The default hashlib.sha1 may not be available in FIPS builds.
  Don't access it at import time so the developer has time to
  change the default.

License-Update: Renamed from LICENSE.rst to LICENSE.txt

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 ...-itsdangerous_2.1.2.bb => python3-itsdangerous_2.2.0.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-itsdangerous_2.1.2.bb => python3-itsdangerous_2.2.0.bb} (62%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-itsdangerous_2.1.2.bb b/meta-python/recipes-devtools/python/python3-itsdangerous_2.2.0.bb
similarity index 62%
rename from meta-python/recipes-devtools/python/python3-itsdangerous_2.1.2.bb
rename to meta-python/recipes-devtools/python/python3-itsdangerous_2.2.0.bb
index 5af1d594b..f4d8d5296 100644
--- a/meta-python/recipes-devtools/python/python3-itsdangerous_2.1.2.bb
+++ b/meta-python/recipes-devtools/python/python3-itsdangerous_2.2.0.bb
@@ -1,11 +1,11 @@ 
 SUMMARY = "Various helpers to pass trusted data to untrusted environments and back."
 HOMEPAGE = "http://github.com/mitsuhiko/itsdangerous"
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=4cda9a0ebd516714f360b0e9418cfb37"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4cda9a0ebd516714f360b0e9418cfb37"
 
-SRC_URI[sha256sum] = "5dbbc68b317e5e42f327f9021763545dc3fc3bfe22e6deb96aaf1fc38874156a"
+SRC_URI[sha256sum] = "e0050c0b7da1eea53ffaf149c0cfbb5c6e2e2b69c4bef22c81fa6eb73e5f6173"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 CLEANBROKEN = "1"