python3-tomlkit: add new recipe (from meta-oe)
PATCH 1/2 python3-tomlkit: add new recipe (from meta-oe)
Add a recipe for tomlkit, which is a new dependency needed by hatchling.
--- meta/conf/distro/include/maintainers.inc | 1 + .../distro/include/ptest-packagelists.inc | 1 + .../python/python3-tomlkit_0.15.1.bb | 21 +++++++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-tomlkit_0.15.1.bb
meta/conf/distro/include/maintainers.inc +1 -0
@@ -744,6 +744,7 @@ RECIPE_MAINTAINER:pn-python3-sphinxcontrib-serializinghtml = "Tim Orling <tim.or RECIPE_MAINTAINER:pn-python3-sphinxcontrib-svg2pdfconverter = "Antonin Godard <[email protected]>" RECIPE_MAINTAINER:pn-python3-subunit = "Trevor Gamblin <[email protected]>" RECIPE_MAINTAINER:pn-python3-testtools = "Trevor Gamblin <[email protected]>" +RECIPE_MAINTAINER:pn-python3-tomlkit = "Ross Burton <[email protected]>" RECIPE_MAINTAINER:pn-python3-trove-classifiers = "Trevor Gamblin <[email protected]>" RECIPE_MAINTAINER:pn-python3-typing-extensions = "Tim Orling <[email protected]>" RECIPE_MAINTAINER:pn-python3-typogrify = "Trevor Gamblin <[email protected]>"
meta/conf/distro/include/ptest-packagelists.inc +1 -0
@@ -91,6 +91,7 @@ PTESTS_FAST = "\ python3-pyyaml \ python3-rpds-py \ python3-six \ + python3-tomlkit \ python3-trove-classifiers \ python3-vcs-versioning \ python3-uritools \
meta/recipes-devtools/python/python3-tomlkit_0.15.1.bb new file +21 -0
@@ -0,0 +1,21 @@ +SUMMARY = "Style preserving TOML library" +HOMEPAGE = "https://pypi.org/project/tomlkit/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=31aac0dbc1babd278d5386dadb7f8e82" + +SRC_URI[sha256sum] = "e25bbf38843005246210a12982776f27f99cb9be67160e14434d0c0d21ee1e97" + +inherit pypi python_poetry_core ptest-python-pytest + +RDEPENDS:${PN} += " \ + python3-datetime \ + python3-profile \ + python3-stringold \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-poetry-core \ + python3-pyyaml \ +" + +BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.43.0
PATCH 2/2 python3-hatchling: upgrade 1.31.0 -> 1.32.0
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)")
---
...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%)meta/recipes-devtools/python/python3-hatchling_1.32.0.bb renamed from meta/recipes-devtools/python/python3-hatchling_1.31.0.bb +2 -2
@@ -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"
Signature · 1 line
2.43.0