Files
meta-openembedded/meta-python/recipes-devtools/python/python3-deprecated_3.0.1.bb
T
Khem Raj 1b4b33b686 python3-deprecated: upgrade 1.3.1 -> 3.0.1
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>
2026-11-17 12:58:53 -08:00

13 lines
408 B
BlitzBasic

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.md;md5=656397bbedec0bd68b9163ff5e53032b"
SRC_URI[sha256sum] = "2f5a9fecc9961e26462846cf1e57f73a612b1d0b79c27dceeed8de647beadcee"
inherit pypi python_hatchling
RDEPENDS:${PN} += " \
python3-wrapt \
"