diff mbox series

[2/2] python3-hatchling: upgrade 1.31.0 -> 1.32.0

Message ID 20260915145228.775109-2-ross.burton@arm.com
State New
Headers show
Series [1/2] python3-tomlkit: add new recipe (from meta-oe) | expand

Commit Message

Ross Burton Sept. 15, 2026, 2:52 p.m. UTC
Upstream release notes:

Changed:

- Bump default core metadata version to 2.5
- Add tomlkit as a runtime dependency, which is required to rewrite
  pyproject.toml when setting a static version

Added:

- The version command can now set a version that is statically defined
  by the project.version field, updating pyproject.toml in place. Pass
  --force to allow an explicit downgrade

Fixed:

- Allow the ; private annotation on project.import-names and
  project.import-namespaces entries rather than rejecting them as
  invalid import names.

- Reject project.readme paths that are absolute or resolve outside of
  the project directory.

Remove editables from DEPENDS, removed upstream in hatchling-1.22.0[1].
Add tomlkit, as above.

[1] hatch a5f62c2f ("remove hard dependency on editables (#1255)")

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 ...ython3-hatchling_1.31.0.bb => python3-hatchling_1.32.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/python/{python3-hatchling_1.31.0.bb => python3-hatchling_1.32.0.bb} (54%)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-hatchling_1.31.0.bb b/meta/recipes-devtools/python/python3-hatchling_1.32.0.bb
similarity index 54%
rename from meta/recipes-devtools/python/python3-hatchling_1.31.0.bb
rename to meta/recipes-devtools/python/python3-hatchling_1.32.0.bb
index 3acaa836382..e0c82ff3677 100644
--- a/meta/recipes-devtools/python/python3-hatchling_1.31.0.bb
+++ b/meta/recipes-devtools/python/python3-hatchling_1.32.0.bb
@@ -5,8 +5,8 @@  LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cbe2fd33fc9297692812fc94b7d27fd9"
 
 inherit pypi python_hatchling
 
-DEPENDS += "python3-pluggy-native python3-pathspec-native python3-packaging-native python3-editables-native python3-trove-classifiers-native"
+DEPENDS += "python3-packaging-native python3-pathspec-native python3-pluggy-native python3-tomlkit-native python3-trove-classifiers-native"
 
-SRC_URI[sha256sum] = "6b48ad4068a482ed7239b3a8215bc55b47aad3345d58dfc94e553c5d2d46211b"
+SRC_URI[sha256sum] = "0bdbde4a52b06c37e3eca395f85a762bf0ef06fe374fd8ae429dc6be10230f5f"
 
 BBCLASSEXTEND = "native nativesdk"