Skip to contentSkip to conversation

python3-pdm-build-locked: Add recipe

PATCH In review Martin Jansa 2 participants 3 messages Nov 20, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python3-pdm-build-locked: Add recipe

From: Khem Raj <[email protected]>

* backporting new recipes is against stable policy, but
https://git.openembedded.org/meta-openembedded/commit/?h=styhead&id=cb58461c8f9067247d630ec385851ed9c3889f79
was backported and added this dependency, so now styhead is failing with:

ERROR: Nothing PROVIDES 'python3-pdm-build-locked-native' (but meta-oe/meta-python/recipes-devtools/python/python3-pdm_2.19.1.bb DEPENDS on or otherwise requires it). Close matches:
python3-build-native
python3-filelock-native
python3-pdm-backend-native

---
 .../python/python3-pdm-build-locked_0.3.3.bb        | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pdm-build-locked_0.3.3.bb
meta-python/recipes-devtools/python/python3-pdm-build-locked_0.3.3.bb new file +13 -0
new file mode 100644
index 0000000000..f20f11ff44
@@ -0,0 +1,13 @@
+SUMMARY = "pdm plugin to publish locked dependencies as optional-dependencies"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=19382cdf9c143df4f00b9caa0b60c75a"
+
+SRC_URI[sha256sum] = "b784135abf62b93ce0a11332ee24723a2699b7f266fddb7950a5b70c93df6214"
+
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += " python3-pdm-backend-native"
+
+PYPI_PACKAGE = "pdm_build_locked"
+
+BBCLASSEXTEND += "native nativesdk"
Signature · 1 line
2.47.0
#1 lore raw

PATCH 2/2 python3-alembic: upgrade 1.13.2 -> 1.13.3

From: Wang Mingyu <[email protected]>

Changelog:
==========
- Render if_exists and if_not_exists parameters in CreateTableOp, CreateIndexOp, DropTableOp and DropIndexOp in an autogenerate context.
- Enhance version_locations parsing to handle paths containing newlines.
- Added support for Operations.create_table.if_not_exists and Operations.drop_table.if_exists, adding similar functionality to render IF [NOT] EXISTS for table operations in a similar way as with indexes.
- The pin for setuptools<69.3 in pyproject.toml has been removed.

MJ:
https://git.openembedded.org/meta-openembedded/commit/?h=styhead&id=4441545a5dc75120bb4e839d71c6f8fc500e917f
was backported into styhead causing:

| ERROR Missing dependencies:
|       setuptools<69.3,>=61.0
| WARNING: exit code 1 from a shell command.

this upgrade resolves this issue (see last item in changelog)

---
 .../{python3-alembic_1.13.2.bb => python3-alembic_1.13.3.bb}    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-alembic_1.13.2.bb => python3-alembic_1.13.3.bb} (80%)
meta-python/recipes-devtools/python/python3-alembic_1.13.3.bb renamed from meta-python/recipes-devtools/python/python3-alembic_1.13.2.bb +1 -1
similarity index 80%
rename from meta-python/recipes-devtools/python/python3-alembic_1.13.2.bb
rename to meta-python/recipes-devtools/python/python3-alembic_1.13.3.bb
index 5a276539d6..f046c3ebcd 100644
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=00f8f5c8aab58c3e1cd61525a6675174"
 
 inherit pypi python_setuptools_build_meta
 
-SRC_URI[sha256sum] = "1ff0ae32975f4fd96028c39ed9bb3c867fe3af956bd7bb37343b54c9fe7445ef"
+SRC_URI[sha256sum] = "203503117415561e203aa14541740643a611f641517f0209fcae63e9fa09f1a2"
 
 RDEPENDS:${PN} += "\
     python3-dateutil \
Signature · 1 line
2.47.0
#2 lore raw
In reply to Martin Jansa

lgtm

Quoted 43 lines · Martin Jansa

From: Khem Raj <[email protected]>

* backporting new recipes is against stable policy, but
https://git.openembedded.org/meta-openembedded/commit/?h=styhead&id=cb58461c8f9067247d630ec385851ed9c3889f79
was backported and added this dependency, so now styhead is failing with:

ERROR: Nothing PROVIDES 'python3-pdm-build-locked-native' (but meta-oe/meta-python/recipes-devtools/python/python3-pdm_2.19.1.bb DEPENDS on or otherwise requires it). Close matches:
python3-build-native
python3-filelock-native
python3-pdm-backend-native

---
 .../python/python3-pdm-build-locked_0.3.3.bb        | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pdm-build-locked_0.3.3.bb
meta-python/recipes-devtools/python/python3-pdm-build-locked_0.3.3.bb new file +13 -1
new file mode 100644
index 0000000000..f20f11ff44
@@ -0,0 +1,13 @@
+SUMMARY = "pdm plugin to publish locked dependencies as optional-dependencies"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=19382cdf9c143df4f00b9caa0b60c75a"
+
+SRC_URI[sha256sum] = "b784135abf62b93ce0a11332ee24723a2699b7f266fddb7950a5b70c93df6214"
+
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += " python3-pdm-backend-native"
+
+PYPI_PACKAGE = "pdm_build_locked"
+
+BBCLASSEXTEND += "native nativesdk"
--

2.47.0