Skip to contentSkip to conversation

python3-pydbus: Add missing rdep on xml module for ptests

PATCH New Khem Raj 1 participant 9 messages Sep 25, 2024

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/9 python3-pydbus: Add missing rdep on xml module for ptests

---
 meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb +1 -1
index 5754fd2adf..cfdacf53bb 100644
@@ -20,7 +20,7 @@ RDEPENDS:${PN} = "python3-pygobject \
                   python3-io \
                   python3-logging"
 
-RDEPENDS:${PN}-ptest += "bash"
+RDEPENDS:${PN}-ptest += "bash python3-xml"
 
 do_install_ptest() {
         install -d ${D}${PTEST_PATH}/tests
author
#1 lore raw

PATCH 2/9 python3-pdm: Upgrade to 2.19.1

Add newlt added dependency on python3-pdm-build-locked-native

---
 .../python/{python3-pdm_2.16.1.bb => python3-pdm_2.19.1.bb}    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-pdm_2.16.1.bb => python3-pdm_2.19.1.bb} (75%)
meta-python/recipes-devtools/python/python3-pdm_2.19.1.bb renamed from meta-python/recipes-devtools/python/python3-pdm_2.16.1.bb +2 -1
similarity index 75%
rename from meta-python/recipes-devtools/python/python3-pdm_2.16.1.bb
rename to meta-python/recipes-devtools/python/python3-pdm_2.19.1.bb
index 91ec759386..245e76014e 100644
@@ -4,12 +4,13 @@ LICENSE = "MIT"
 SECTION = "devel/python"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=2eb31a2cc1a758c34b499f287dd04ef2"
 
-SRC_URI[sha256sum] = "b8680028b3aff3af8e15b483467da36bb9f02fcd402cf939da8ab6375d955131"
+SRC_URI[sha256sum] = "7fe235a9cb27b7ec17b762dc85bc9ae71e0776e4b7a8b6f64203f24bb915aa2c"
 
 inherit pypi python_setuptools_build_meta
 
 DEPENDS += " \
     python3-pdm-backend-native \
+    python3-pdm-build-locked-native \
 "
 
 BBCLASSEXTEND = "native nativesdk"
author
#2 lore raw

PATCH 3/9 python3-pdm-backend: Upgrade to 2.4.1 release

In reply to Khem Raj
---
 ...ython3-pdm-backend_2.3.3.bb => python3-pdm-backend_2.4.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-pdm-backend_2.3.3.bb => python3-pdm-backend_2.4.1.bb} (80%)
meta-python/recipes-devtools/python/python3-pdm-backend_2.4.1.bb renamed from meta-python/recipes-devtools/python/python3-pdm-backend_2.3.3.bb +1 -1
similarity index 80%
rename from meta-python/recipes-devtools/python/python3-pdm-backend_2.3.3.bb
rename to meta-python/recipes-devtools/python/python3-pdm-backend_2.4.1.bb
index e78f1957a7..f2175150e8 100644
@@ -4,7 +4,7 @@ LICENSE = "MIT"
 SECTION = "devel/python"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=4a564297b3c5b629a528b92fd8ff61ea"
 
-SRC_URI[sha256sum] = "a8616f628ec84353d7a0ba86b228dcf01bab5debc9e4d1a29e5311a52425d594"
+SRC_URI[sha256sum] = "d6404e94a612459c5213cc63df035711244173c57441b8312a2a6f4a8c110934"
 
 inherit pypi python_setuptools_build_meta
 
author
#3 lore raw

PATCH 4/9 python3-starlette: Add recipe

In reply to Khem Raj
---
 .../ptest-packagelists-meta-python.inc        |  1 +
 .../python/python3-starlette/run-ptest        |  3 ++
 .../python/python3-starlette_0.39.0.bb        | 41 +++++++++++++++++++
 3 files changed, 45 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-starlette/run-ptest
 create mode 100644 meta-python/recipes-devtools/python/python3-starlette_0.39.0.bb
meta-python/conf/include/ptest-packagelists-meta-python.inc +1 -0
index e500843e88..da6206c6ba 100644
@@ -72,6 +72,7 @@ PTESTS_FAST_META_PYTHON = "\
     python3-smpplib \
     python3-soupsieve \
     python3-sqlparse \
+    python3-starlette \
     python3-tomli-w \
     python3-tomlkit \
     python3-trustme \
meta-python/recipes-devtools/python/python3-starlette/run-ptest new file +3 -0
new file mode 100644
index 0000000000..09bdf7cedf
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest --automake --forked --deselect tests/test_staticfiles.py::test_staticfiles_with_invalid_dir_permissions_returns_401
meta-python/recipes-devtools/python/python3-starlette_0.39.0.bb new file +41 -0

41 lines not on this page · raw message

author
#4 lore raw

PATCH 5/9 python3-pdm-build-locked: Add recipe

In reply to Khem Raj
---
 .../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"
author
#5 lore raw

PATCH 6/9 python3-a2wsgi: Fix ptest run

In reply to Khem Raj

Add missing dependencies and ignore baize tests the module is not available in OE ecosystem

---
 meta-python/recipes-devtools/python/python3-a2wsgi/run-ptest | 2 +-
 meta-python/recipes-devtools/python/python3-a2wsgi_1.10.7.bb | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-a2wsgi/run-ptest +1 -1
index 8d2017d39c..951c73a6cf 100644
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-pytest --automake
+pytest --automake --deselect tests/test_asgi.py::test_baize_stream_response
meta-python/recipes-devtools/python/python3-a2wsgi_1.10.7.bb +1 -0
index e65519ec31..023f227909 100644
@@ -20,6 +20,7 @@ RDEPENDS:${PN}-ptest += " \
         python3-httpx \
         python3-pytest \
         python3-pytest-asyncio \
+        python3-starlette \
         python3-unittest-automake-output \
 "
 
author
#6 lore raw

PATCH 7/9 python3-outcome: Add recipe

In reply to Khem Raj
---
 .../python/python3-outcome_1.3.0.post0.bb        | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-outcome_1.3.0.post0.bb
meta-python/recipes-devtools/python/python3-outcome_1.3.0.post0.bb new file +16 -0
new file mode 100644
index 0000000000..89c0da470e
@@ -0,0 +1,16 @@
+SUMMARY = "Capture the outcome of Python function calls."
+HOMEPAGE = "https://github.com/python-trio/outcome"
+LICENSE = "Apache-2.0 & MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=fa7b86389e58dd4087a8d2b833e5fe96 \
+                    file://LICENSE.APACHE2;md5=3b83ef96387f14655fc854ddc3c6bd57 \
+                    file://LICENSE.MIT;md5=e62ba5042d5983462ad229f5aec1576c"
+
+SRC_URI[sha256sum] = "9dcf02e65f2971b80047b377468e72a268e15c0af3cf1238e6ff14f7f91143b8"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += "python3-attrs"
+
+RDEPENDS:${PN} += "python3-asyncio python3-core python3-pytest python3-typing-extensions"
+
+PYPI_PACKAGE = "outcome"
author
#7 lore raw

PATCH 8/9 python3-python-multipart: Add recipe

In reply to Khem Raj
---
 .../python/python3-python-multipart_0.0.10.bb            | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-python-multipart_0.0.10.bb
meta-python/recipes-devtools/python/python3-python-multipart_0.0.10.bb new file +9 -0
new file mode 100644
index 0000000000..df52f7a35f
@@ -0,0 +1,9 @@
+SUMMARY = "A streaming multipart parser for Python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3d98f0d58b28321924a89ab60c82410e"
+
+SRC_URI[sha256sum] = "46eb3c6ce6fdda5fb1a03c7e11d490e407c6930a2703fe7aef4da71c374688fa"
+
+inherit pypi python_hatchling
+
+PYPI_PACKAGE = "python_multipart"
author
#8 lore raw

PATCH 9/9 python3-trio: Add recipe

In reply to Khem Raj
---
 .../recipes-devtools/python/python3-trio_0.26.2.bb  | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-trio_0.26.2.bb
meta-python/recipes-devtools/python/python3-trio_0.26.2.bb new file +13 -0
new file mode 100644
index 0000000000..1272606f6e
@@ -0,0 +1,13 @@
+SUMMARY = "A friendly Python library for async concurrency and I/O"
+HOMEPAGE = "https://github.com/python-trio/trio"
+LICENSE = "Apache-2.0 & MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=447ea202d14d2aee40d8a2c26c865da9 \
+                    file://LICENSE.APACHE2;md5=3b83ef96387f14655fc854ddc3c6bd57 \
+                    file://LICENSE.MIT;md5=5f229c828e5a6f0a2ce90c7d3c054721"
+
+SRC_URI[sha256sum] = "0346c3852c15e5c7d40ea15972c4805689ef2cb8b5206f794c9c19450119f3a4"
+
+inherit pypi python_setuptools_build_meta
+
+PYPI_PACKAGE = "trio"
+RDEPENDS:${PN} = "python3-idna python3-sniffio"