diff mbox series

[meta-python,1/3] python3-portion: Upgrade 2.6.0 -> 2.6.1

Message ID 20250530094142.2158572-1-leon.anavi@konsulko.com
State Under Review
Headers show
Series [meta-python,1/3] python3-portion: Upgrade 2.6.0 -> 2.6.1 | expand

Commit Message

Leon Anavi May 30, 2025, 9:41 a.m. UTC
Upgrade to release 2.6.1:

- A __version__ attribute relying on importlib.metadata.
- A uv.lock lock-file for reproducible builds.
- Drop official support for Python 3.8.
- Switch from black to ruff for code style.
- Fully migrate to a pyproject.toml-based project.
- Ensure code style consistency (see selected rules in pyproject.toml).
- Extra dependencies are part of the dev dependency group (PEP 735).
- Switch from setuptools to hatchling for building portion.
- Switch from coverage to pytest-cov for test coverage.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../{python3-portion_2.6.0.bb => python3-portion_2.6.1.bb}    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-portion_2.6.0.bb => python3-portion_2.6.1.bb} (75%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb b/meta-python/recipes-devtools/python/python3-portion_2.6.1.bb
similarity index 75%
rename from meta-python/recipes-devtools/python/python3-portion_2.6.0.bb
rename to meta-python/recipes-devtools/python/python3-portion_2.6.1.bb
index 2c2e67579e..942d7d5d4d 100644
--- a/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb
+++ b/meta-python/recipes-devtools/python/python3-portion_2.6.1.bb
@@ -5,9 +5,9 @@  SECTION = "devel/python"
 LICENSE = "LGPL-3.0-only"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3000208d539ec061b899bce1d9ce9404"
 
-inherit pypi python_setuptools_build_meta ptest-python-pytest
+inherit pypi python_hatchling ptest-python-pytest
 
-SRC_URI[sha256sum] = "6fb538b57a92058f0edd360667694448aa3fc028ab97e41e3091359d14ba4dd5"
+SRC_URI[sha256sum] = "44b1f7d57e052993c4157e519dc447e57b87a4e5e00a77c1c50e7044104e53c6"
 
 RDEPENDS:${PN} += "\
 	python3-sortedcontainers \