Skip to contentSkip to conversation

python3-poetry-core: upgrade 2.2.1 -> 2.3.0

PATCH In review Wang Mingyu 2 participants 2 messages Feb 1 – Feb 11

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 python3-poetry-core: upgrade 2.2.1 -> 2.3.0

From: Wang Mingyu <[email protected]>

License-Update: file format changed from "ASCII text" to
"ASCII text, with CRLF line terminators"

---
 .../python/python3-poetry-core_2.2.1.bb       | 41 -------------------
 .../python/python3-poetry-core_2.3.0.bb       | 40 ++++++++++++++++++
 2 files changed, 40 insertions(+), 41 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3-poetry-core_2.2.1.bb
 create mode 100644 meta/recipes-devtools/python/python3-poetry-core_2.3.0.bb
meta/recipes-devtools/python/python3-poetry-core_2.2.1.bb deleted +0 -41
deleted file mode 100644
index 45af8768e9..0000000000
@@ -1,41 +0,0 @@
-SUMMARY = "Poetry PEP 517 Build Backend"
-DESCRIPTION = "Poetry PEP 517 Build Backend"
-HOMEPAGE = "https://github.com/python-poetry/poetry-core"
-BUGTRACKER = "https://github.com/python-poetry/poetry-core"
-CHANGELOG = "https://github.com/python-poetry/poetry-core/blob/master/CHANGELOG.md"
-
-LICENSE = "Apache-2.0 & BSD-2-Clause & BSD-3-Clause & MIT"
-LIC_FILES_CHKSUM = "\
-    file://LICENSE;md5=78c39cfd009863ae44237a7ab1f9cedc \
-    file://src/poetry/core/_vendor/fastjsonschema/LICENSE;md5=18950e8362b69c0c617b42b8bd8e7532 \
-    file://src/poetry/core/_vendor/lark/LICENSE;md5=fcfbf1e2ecc0f37acbb5871aa0267500 \
-    file://src/poetry/core/_vendor/packaging/LICENSE;md5=faadaedca9251a90b205c9167578ce91 \
-    file://src/poetry/core/_vendor/packaging/LICENSE.APACHE;md5=2ee41112a44fe7014dce33e26468ba93 \
-    file://src/poetry/core/_vendor/packaging/LICENSE.BSD;md5=7bef9bf4a8e4263634d0597e7ba100b8 \
-    file://src/poetry/core/_vendor/tomli/LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5 \
-"
-
-SRC_URI[sha256sum] = "97e50d8593c8729d3f49364b428583e044087ee3def1e010c6496db76bd65ac5"
-
-inherit python_poetry_core pypi
-
-PYPI_PACKAGE = "poetry_core"
-UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
-
-RDEPENDS:${PN}:append:class-target = "\
-    python3-compression \
-    python3-core \
-    python3-crypt \
-    python3-io \
-    python3-json \
-    python3-logging \
-    python3-netclient \
-    python3-pprint \
-    python3-shell \
-"
-
-RDEPENDS:${PN} += "\
-    python3-pip \
-"
-
-BBCLASSEXTEND = "native nativesdk"
meta/recipes-devtools/python/python3-poetry-core_2.3.0.bb new file +40 -0
new file mode 100644
index 0000000000..ce783d49df
@@ -0,0 +1,40 @@
+SUMMARY = "Poetry PEP 517 Build Backend"
+DESCRIPTION = "Poetry PEP 517 Build Backend"
+HOMEPAGE = "https://github.com/python-poetry/poetry-core"
+BUGTRACKER = "https://github.com/python-poetry/poetry-core"
+CHANGELOG = "https://github.com/python-poetry/poetry-core/blob/master/CHANGELOG.md"
+
+LICENSE = "Apache-2.0 & BSD-2-Clause & BSD-3-Clause & MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=78c39cfd009863ae44237a7ab1f9cedc \
+                    file://src/poetry/core/_vendor/fastjsonschema/LICENSE;md5=18950e8362b69c0c617b42b8bd8e7532 \
+                    file://src/poetry/core/_vendor/lark/LICENSE;md5=ba5edf8d60cf416b5588b1e6f152fcef \
+                    file://src/poetry/core/_vendor/packaging/LICENSE;md5=faadaedca9251a90b205c9167578ce91 \
+                    file://src/poetry/core/_vendor/packaging/LICENSE.APACHE;md5=2ee41112a44fe7014dce33e26468ba93 \
+                    file://src/poetry/core/_vendor/packaging/LICENSE.BSD;md5=7bef9bf4a8e4263634d0597e7ba100b8 \
+                    file://src/poetry/core/_vendor/tomli/LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5 \
+                    "
+
+SRC_URI[sha256sum] = "f6da8f021fe380d8c9716085f4dcc5d26a5120a2452e077196333892af5de307"
+
+inherit python_poetry_core pypi
+
+PYPI_PACKAGE = "poetry_core"
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
+
+RDEPENDS:${PN}:append:class-target = "\
+    python3-compression \
+    python3-core \
+    python3-crypt \
+    python3-io \
+    python3-json \
+    python3-logging \
+    python3-netclient \
+    python3-pprint \
+    python3-shell \
+"
+
+RDEPENDS:${PN} += "\
+    python3-pip \
+"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.43.0
#1 lore raw
Quoted 4 lines · wangmy via lists.openembedded.org

From: Wang Mingyu <[email protected]>

License-Update: file format changed from "ASCII text" to
"ASCII text, with CRLF line terminators"

Hi,

Thanks for respinning the patch.

The license file format change was actually the other way round, and we should say which license was changed. So, perhaps this should be:

License-Update: In vendored lark library, line endings in the
license file were changed from CRLF to LF.

Quoted 67 lines
---
 .../python/python3-poetry-core_2.2.1.bb       | 41 -------------------
 .../python/python3-poetry-core_2.3.0.bb       | 40 ++++++++++++++++++
 2 files changed, 40 insertions(+), 41 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3-poetry-core_2.2.1.bb
 create mode 100644 meta/recipes-devtools/python/python3-poetry-core_2.3.0.bb
meta/recipes-devtools/python/python3-poetry-core_2.2.1.bb deleted +0 -41
deleted file mode 100644
index 45af8768e9..0000000000
@@ -1,41 +0,0 @@
-SUMMARY = "Poetry PEP 517 Build Backend"
-DESCRIPTION = "Poetry PEP 517 Build Backend"
-HOMEPAGE = "https://github.com/python-poetry/poetry-core"
-BUGTRACKER = "https://github.com/python-poetry/poetry-core"
-CHANGELOG = "https://github.com/python-poetry/poetry-core/blob/master/CHANGELOG.md"
-
-LICENSE = "Apache-2.0 & BSD-2-Clause & BSD-3-Clause & MIT"
-LIC_FILES_CHKSUM = "\
-    file://LICENSE;md5=78c39cfd009863ae44237a7ab1f9cedc \
-    file://src/poetry/core/_vendor/fastjsonschema/LICENSE;md5=18950e8362b69c0c617b42b8bd8e7532 \
-    file://src/poetry/core/_vendor/lark/LICENSE;md5=fcfbf1e2ecc0f37acbb5871aa0267500 \
-    file://src/poetry/core/_vendor/packaging/LICENSE;md5=faadaedca9251a90b205c9167578ce91 \
-    file://src/poetry/core/_vendor/packaging/LICENSE.APACHE;md5=2ee41112a44fe7014dce33e26468ba93 \
-    file://src/poetry/core/_vendor/packaging/LICENSE.BSD;md5=7bef9bf4a8e4263634d0597e7ba100b8 \
-    file://src/poetry/core/_vendor/tomli/LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5 \
-"
-
-SRC_URI[sha256sum] = "97e50d8593c8729d3f49364b428583e044087ee3def1e010c6496db76bd65ac5"
-
-inherit python_poetry_core pypi
-
-PYPI_PACKAGE = "poetry_core"
-UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
-
-RDEPENDS:${PN}:append:class-target = "\
-    python3-compression \
-    python3-core \
-    python3-crypt \
-    python3-io \
-    python3-json \
-    python3-logging \
-    python3-netclient \
-    python3-pprint \
-    python3-shell \
-"
-
-RDEPENDS:${PN} += "\
-    python3-pip \
-"
-
-BBCLASSEXTEND = "native nativesdk"
meta/recipes-devtools/python/python3-poetry-core_2.3.0.bb new file +5 -0
new file mode 100644
index 0000000000..ce783d49df
@@ -0,0 +1,40 @@
+SUMMARY = "Poetry PEP 517 Build Backend"
+DESCRIPTION = "Poetry PEP 517 Build Backend"
+HOMEPAGE = "https://github.com/python-poetry/poetry-core"
+BUGTRACKER = "https://github.com/python-poetry/poetry-core"
+CHANGELOG = "https://github.com/python-poetry/poetry-core/blob/master/CHANGELOG.md"

meta/recipes-devtools/python/python3-poetry-core_2.3.0.bb line 15

Quoted 10 lines
meta/recipes-devtools/python/python3-poetry-core_2.3.0.bb new file +10 -0
+
+LICENSE = "Apache-2.0 & BSD-2-Clause & BSD-3-Clause & MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=78c39cfd009863ae44237a7ab1f9cedc \
+                    file://src/poetry/core/_vendor/fastjsonschema/LICENSE;md5=18950e8362b69c0c617b42b8bd8e7532 \
+                    file://src/poetry/core/_vendor/lark/LICENSE;md5=ba5edf8d60cf416b5588b1e6f152fcef \
+                    file://src/poetry/core/_vendor/packaging/LICENSE;md5=faadaedca9251a90b205c9167578ce91 \
+                    file://src/poetry/core/_vendor/packaging/LICENSE.APACHE;md5=2ee41112a44fe7014dce33e26468ba93 \
+                    file://src/poetry/core/_vendor/packaging/LICENSE.BSD;md5=7bef9bf4a8e4263634d0597e7ba100b8 \
+                    file://src/poetry/core/_vendor/tomli/LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5 \
+                    "

Please undo the formatting change here to reduce the size of the diff. The only line that should change in LIC_FILES_CHKSUM is the lark license checksum.

Quoted 15 lines
meta/recipes-devtools/python/python3-poetry-core_2.3.0.bb new file +15 -0
+
+SRC_URI[sha256sum] = "f6da8f021fe380d8c9716085f4dcc5d26a5120a2452e077196333892af5de307"
+
+inherit python_poetry_core pypi
+
+PYPI_PACKAGE = "poetry_core"
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
+
+RDEPENDS:${PN}:append:class-target = "\
+    python3-compression \
+    python3-core \
+    python3-crypt \
+    python3-io \
+    python3-json \
+    python3-logging \

meta/recipes-devtools/python/python3-poetry-core_2.3.0.bb line 40

Quoted 10 lines
meta/recipes-devtools/python/python3-poetry-core_2.3.0.bb new file +10 -0
+    python3-netclient \
+    python3-pprint \
+    python3-shell \
+"
+
+RDEPENDS:${PN} += "\
+    python3-pip \
+"
+
+BBCLASSEXTEND = "native nativesdk"

I see that you've also sent a follow-up patch to update to poetry-core v2.3.1, feel free to merge that in to this patch when you send v3.

Best regards,

Signature · 1 line
Paul Barker