diff mbox series

[meta-python,020/105] python3-deprecated: upgrade 1.3.1 -> 3.0.1

Message ID 20261116175359.342679-20-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-python,001/105] python3-absl: upgrade 2.1.0 -> 2.5.1 | expand

Commit Message

Khem Raj Nov. 16, 2026, 5:52 p.m. UTC
Upstream dropped setup.py and builds with hatchling; inherit
python_hatchling.

License-Update: LICENSE.rst renamed to LICENSE.md (MIT text unchanged).

Changes:
- 3.0.0 (major): requires Python 3.12+ (use 1.3.x on older Python) and
  wrapt >= 1.16; Python 2.7 support and the inspect2 dependency
  removed.
- Build backend moved from setuptools to Hatchling (pyproject.toml,
  src layout).
- Removed deprecated.__date__ and classic.string_types; "from
  deprecated import *" exports only deprecated and deprecated_params.
- Added deprecated.google and deprecated.numpy docstring decorators,
  type annotations with py.typed, and pickling support for deprecated
  functions.
- 3.0.1: preserve constructor signatures of deprecated classes.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 ...hon3-deprecated_1.3.1.bb => python3-deprecated_3.0.1.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-deprecated_1.3.1.bb => python3-deprecated_3.0.1.bb} (52%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-deprecated_1.3.1.bb b/meta-python/recipes-devtools/python/python3-deprecated_3.0.1.bb
similarity index 52%
rename from meta-python/recipes-devtools/python/python3-deprecated_1.3.1.bb
rename to meta-python/recipes-devtools/python/python3-deprecated_3.0.1.bb
index cc5c96a7a1..38fdd9c802 100644
--- a/meta-python/recipes-devtools/python/python3-deprecated_1.3.1.bb
+++ b/meta-python/recipes-devtools/python/python3-deprecated_3.0.1.bb
@@ -1,11 +1,11 @@ 
 SUMMARY = "Python @deprecated decorator to deprecate old python classes, functions or methods."
 HOMEPAGE = "https://deprecated.readthedocs.io/en/latest/"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=44288e26f4896bdab14072d4fa35ff01"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=656397bbedec0bd68b9163ff5e53032b"
 
-SRC_URI[sha256sum] = "b1b50e0ff0c1fddaa5708a2c6b0a6588bb09b892825ab2b214ac9ea9d92a5223"
+SRC_URI[sha256sum] = "2f5a9fecc9961e26462846cf1e57f73a612b1d0b79c27dceeed8de647beadcee"
 
-inherit pypi setuptools3
+inherit pypi python_hatchling
 
 RDEPENDS:${PN} += " \
 	python3-wrapt \