Skip to contentSkip to conversation

python3-pycups: put PV into the filename

PATCH New Ross Burton 1 participant 24 messages Aug 10

lore
Share & tools
lore
#0 lore raw

PATCH 1/24 python3-pycups: put PV into the filename

Put the PV in the filename as this is the idiomatic style.

---
 .../cups/{python3-pycups.bb => python3-pycups_2.0.1.bb}         | 2 --
 1 file changed, 2 deletions(-)
 rename meta-oe/recipes-printing/cups/{python3-pycups.bb => python3-pycups_2.0.1.bb} (95%)
meta-oe/recipes-printing/cups/python3-pycups_2.0.1.bb renamed from meta-oe/recipes-printing/cups/python3-pycups.bb +0 -2
similarity index 95%
rename from meta-oe/recipes-printing/cups/python3-pycups.bb
rename to meta-oe/recipes-printing/cups/python3-pycups_2.0.1.bb
index 6968170d93..35b78890e6 100644
@@ -6,6 +6,4 @@ RDEPENDS:${PN} = "python3"
 
 inherit setuptools3 pypi
 
-PV = "2.0.1"
-
 SRC_URI[sha256sum] = "e880d7d7147959ead5cb34764f08b97b41385b36eb8256e8af1ce163dbcccce8"
Signature · 1 line
2.43.0
#1 lore raw

PATCH 2/24 python3-cachecontrol: switch dependency from lockfile to filelock

cachecontrol moved to filelock in 0.12.12[1].

[1] https://github.com/psf/cachecontrol/pull/284

---
 .../recipes-devtools/python/python3-cachecontrol_0.14.3.bb      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-cachecontrol_0.14.3.bb +1 -1
index 0ea263b8b5..d617de8ce3 100644
@@ -11,7 +11,7 @@ RDEPENDS:${PN} += "\
     python3-crypt \
     python3-datetime \
     python3-email \
-    python3-lockfile \
+    python3-filelock \
     python3-json \
     python3-logging \
     python3-msgpack \
Signature · 1 line
2.43.0
#2 lore raw

PATCH 3/24 python3-stevedore: remove obsolete RDEPENDS

In reply to Ross Burton

pbr was removed as an accidental runtime dependency in 5.5.0[1], and six was removed in 2.0[2].

[1] stevedore 7c2740e ("Remove explicit pbr dependency")
[2] stevedore 1aca4bc ("Drop Python 2.7 support")

---
 meta-python/recipes-devtools/python/python3-stevedore_5.9.0.bb | 2 --
 1 file changed, 2 deletions(-)
meta-python/recipes-devtools/python/python3-stevedore_5.9.0.bb +0 -2
index 6549551ae0..225e36dd9f 100644
@@ -9,6 +9,4 @@ DEPENDS += "python3-pbr-native"
 
 inherit pypi python_setuptools_build_meta
 
-RDEPENDS:${PN} += "python3-pbr python3-six"
-
 BBCLASSEXTEND = "native"
Signature · 1 line
2.43.0
#3 lore raw

PATCH 4/24 python3-bandit: clean up dependencies

In reply to Ross Burton

Python runtime dependencies do not need to be listed in DEPENDS.

pbr and six were removed as runtime dependencies in 1.7.6.

---
 meta-python/recipes-devtools/python/python3-bandit_1.9.4.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
meta-python/recipes-devtools/python/python3-bandit_1.9.4.bb +1 -3
index d8e6f9da87..2c815bd1e9 100644
@@ -4,16 +4,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
 
 SRC_URI[sha256sum] = "b589e5de2afe70bd4d53fa0c1da6199f4085af666fde00e8a034f152a52cd628"
 
-DEPENDS = "python3-pbr-native python3-git python3-pbr python3-pyyaml python3-six python3-stevedore"
+DEPENDS = "python3-pbr-native"
 
 inherit setuptools3 pypi
 
 RDEPENDS:${PN} += "\
         python3-git \
         python3-modules \
-        python3-pbr \
         python3-pyyaml \
         python3-rich \
-        python3-six \
         python3-stevedore \
         "
Signature · 1 line
2.43.0
#4 lore raw

PATCH 5/24 python3-requests-unixsocket: remove python3-pbr-native dependency

In reply to Ross Burton

This was removed in 0.3.1[1].

[1] https://github.com/msabramo/requests-unixsocket/commit/871807080250220c810dab0a3244b342a7a3c6d7

---
 .../python/python3-requests-unixsocket_0.4.1.bb                 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-requests-unixsocket_0.4.1.bb +1 -1
index 4485b89de7..bf199e75b7 100644
@@ -9,5 +9,5 @@ PYPI_PACKAGE = "requests_unixsocket"
 
 inherit pypi python_setuptools_build_meta
 
-DEPENDS += "python3-pbr-native python3-setuptools-scm-native"
+DEPENDS += "python3-setuptools-scm-native"
 RDEPENDS:${PN} = "python3-requests python3-urllib3"
Signature · 1 line
2.43.0
#5 lore raw

PATCH 6/24 python3-pint: fix build dependencies

In reply to Ross Burton

pint uses hatchling, so remove the python_setuptools_build_meta inherit and setuptools/setuptools-scm dependencies.

---
 meta-python/recipes-devtools/python/python3-pint_0.25.3.bb | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
meta-python/recipes-devtools/python/python3-pint_0.25.3.bb +2 -4
index fff2b08324..dd2a782b0e 100644
@@ -6,18 +6,17 @@ SECTION = "devel/python"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b"
 
-inherit pypi python_hatchling ptest-python-pytest python_setuptools_build_meta
+inherit pypi python_hatchling ptest-python-pytest
 
 SRC_URI[sha256sum] = "f8f5df6cf65314d74da1ade1bf96f8e3e4d0c41b51577ac53c49e7d44ca5acee"
 
-DEPENDS += "python3-setuptools-scm-native python3-hatch-vcs-native"
+DEPENDS += "python3-hatch-vcs-native"
 
 BBCLASSEXTEND = "native nativesdk"
 
 PTEST_PYTEST_DIR = "pint"
 
 RDEPENDS:${PN} += " \
-	python3-setuptools \
 	python3-packaging \
 	python3-platformdirs \
 "
@@ -32,4 +31,3 @@ RDEPENDS:${PN}-ptest += " \
 	python3-pytest-subtests \
 	python3-statistics \
 "
-
Signature · 1 line
2.43.0
#6 lore raw

PATCH 7/24 python3-odb: add missing newline

In reply to Ross Burton
---
 meta-python/recipes-devtools/python/python3-obd_0.7.3.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-obd_0.7.3.bb +2 -1
index 8deef31d56..e7eb3a784d 100644
@@ -1,4 +1,5 @@
-DESCRIPTION = "A python module for handling realtime sensor data from OBD-II vehicle ports"HOMEPAGE = "https://github.com/brendan-w/python-OBD"
+DESCRIPTION = "A python module for handling realtime sensor data from OBD-II vehicle ports"
+HOMEPAGE = "https://github.com/brendan-w/python-OBD"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://README.md;md5=176d0f9ad45c10895296260d426fa862"
 
Signature · 1 line
2.43.0
#7 lore raw

PATCH 8/24 python3-obd: remove build-dependencies from RDEPENDS

In reply to Ross Burton

These are not needed at runtime.

---
 meta-python/recipes-devtools/python/python3-obd_0.7.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-obd_0.7.3.bb +1 -1
index e7eb3a784d..2a3eb752eb 100644
@@ -7,4 +7,4 @@ SRC_URI[sha256sum] = "27b8f043376ca700edb98bf5216e2912295ecde0e735b260999f2d9ddf
 
 inherit python_setuptools_build_meta pypi
 
-RDEPENDS:${PN} += "python3-pyserial python3-pint python3-setuptools python3-packaging"
+RDEPENDS:${PN} += "python3-pyserial python3-pint"
Signature · 1 line
2.43.0
#8 lore raw

PATCH 9/24 python3-asyncinotify: use correct build backend

In reply to Ross Burton

This package uses flit now.

---
 .../recipes-devtools/python/python3-asyncinotify_4.4.4.bb       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-asyncinotify_4.4.4.bb +1 -1
index f2f868e972..5a51601f47 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f75d2927d3c1ed2414ef72048f5ad640"
 
 SRC_URI[sha256sum] = "a8afc92bec6666807ca50524156fca22655325cba6e2b51d842b8ec0d399c708"
 
-inherit pypi python_setuptools_build_meta
+inherit pypi python_flit_core
 
 RDEPENDS:${PN} += " \
     python3-asyncio \
Signature · 1 line
2.43.0
#9 lore raw

PATCH 10/24 python3-autobahn: use correct build backend

In reply to Ross Burton

This package uses hatchling now.

---
 meta-python/recipes-devtools/python/python3-autobahn_26.7.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-autobahn_26.7.1.bb +1 -1
index 7829a0e149..2274abcff2 100644
@@ -9,7 +9,7 @@ SRC_URI[sha256sum] = "c6949a2c6eb95fb1c218837dbda0a59abbbebafb8b11098551c01a7061
 
 CVE_PRODUCT = "autobahn"
 
-inherit pypi python_hatchling python_setuptools_build_meta
+inherit pypi python_hatchling
 
 DEPENDS += " \
     python3-cffi-native \
Signature · 1 line
2.43.0
#10 lore raw

PATCH 11/24 python3-automat: use correct build backend

In reply to Ross Burton

This package uses setuptools now.

---
 meta-python/recipes-devtools/python/python3-automat_25.4.16.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-automat_25.4.16.bb +1 -1
index c5ba16fc0d..e95138849d 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4ad213bcca81688e94593e5f60c87477"
 
 SRC_URI[sha256sum] = "0017591a5477066e90d26b0e696ddc143baafd87b588cfac8100bc6be9634de0"
 
-inherit pypi python_hatchling
+inherit pypi python_setuptools_build_meta
 
 DEPENDS += "\
     python3-hatch-vcs-native \
Signature · 1 line
2.43.0
#11 lore raw

PATCH 12/24 python3-awesomeversion: use correct build backend

In reply to Ross Burton

This package uses hatching.

---
 .../recipes-devtools/python/python3-awesomeversion_25.8.0.bb    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-awesomeversion_25.8.0.bb +1 -1
index 338ba7e97a..4fc385128e 100644
@@ -8,4 +8,4 @@ SRC_URI[sha256sum] = "e6cd08c90292a11f30b8de401863dcde7bc66a671d8173f9066ebd15d9
 
 RDEPENDS:${PN} += "python3-profile python3-logging"
 
-inherit pypi python_hatchling python_poetry_core
+inherit pypi python_hatchling
Signature · 1 line
2.43.0
#12 lore raw

PATCH 13/24 python3-bitstring: use correct build backend

In reply to Ross Burton

This package uses setuptools now.

---
 meta-python/recipes-devtools/python/python3-bitstring_4.4.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-bitstring_4.4.0.bb +1 -1
index cec183f302..ee2e8807c4 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=963a24c175e658fbf16a764135121ffa"
 
 SRC_URI[sha256sum] = "e682ac522bb63e041d16cbc9d0ca86a4f00194db16d0847c7efe066f836b2e37"
 
-inherit pypi python_poetry_core
+inherit pypi python_setuptools_build_meta
 
 RDEPENDS:${PN} = "\
     python3-core \
Signature · 1 line
2.43.0
#13 lore raw

PATCH 14/24 python3-cachecontrol: use correct build backend

In reply to Ross Burton

This package uses flit now.

---
 .../recipes-devtools/python/python3-cachecontrol_0.14.3.bb      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-cachecontrol_0.14.3.bb +1 -1
index d617de8ce3..b32b6fe34b 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=6572692148079ebbbd800be4b9f36c6d"
 
 SRC_URI[sha256sum] = "73e7efec4b06b20d9267b441c1f733664f989fb8688391b670ca812d70795d11"
 
-inherit pypi python_poetry_core
+inherit pypi python_flit_core
 
 RDEPENDS:${PN} += "\
     python3-crypt \
Signature · 1 line
2.43.0
#14 lore raw

PATCH 15/24 python3-cantools: use correct build backend

In reply to Ross Burton

This package uses setuptools now. Remove CLEANBROKEN as setuptools does out-of-tree builds now so this is redundant.

---
 .../recipes-devtools/python/python3-cantools_41.0.2.bb        | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
meta-python/recipes-devtools/python/python3-cantools_41.0.2.bb +1 -3
index a640df3f29..cfc26c3f14 100644
@@ -7,7 +7,7 @@ SRC_URI[sha256sum] = "5c91a66e5e03a4ac5727f20207df1da5681748a154c2bc85ef532fef9e
 
 PYPI_PACKAGE = "cantools"
 
-inherit pypi python_poetry_core
+inherit pypi python_setuptools_build_meta
 
 DEPENDS += "python3-setuptools-scm-native"
 
@@ -20,5 +20,3 @@ RDEPENDS:${PN} += "\
     python3-diskcache \
     python3-asyncio \
 "
-
-CLEANBROKEN = "1"
Signature · 1 line
2.43.0
#15 lore raw

PATCH 16/24 python3-constantly: use correct build backend

In reply to Ross Burton

This package uses setuptools now.

---
 .../recipes-devtools/python/python3-constantly_23.10.4.bb       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-constantly_23.10.4.bb +1 -1
index 2df501aaa6..7645cdc132 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e393e4ddd223e3a74982efa784f89fd7"
 
 SRC_URI[sha256sum] = "aa92b70a33e2ac0bb33cd745eb61776594dc48764b06c35e0efd050b7f1c7cbd"
 
-inherit pypi python_poetry_core 
+inherit pypi python_setuptools_build_meta 
 
 DEPENDS += "python3-versioneer-native"
 
Signature · 1 line
2.43.0
#16 lore raw

PATCH 17/24 python3-matplotlib-inline: use correct build backend

In reply to Ross Burton

This package uses flit now.

---
 .../recipes-devtools/python/python3-matplotlib-inline_0.2.2.bb  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-matplotlib-inline_0.2.2.bb +1 -1
index ee98ae4b40..b80fc10030 100644
@@ -8,6 +8,6 @@ SRC_URI[sha256sum] = "72f3fe8fce36b70d4a5b612f899090cd0401deddc4ea90e1572b9f4bfb
 PYPI_PACKAGE = "matplotlib_inline"
 UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
 
-inherit pypi python_setuptools_build_meta
+inherit pypi python_flit_core
 
 RDEPENDS:${PN} = "python3-traitlets"
Signature · 1 line
2.43.0
#17 lore raw

PATCH 18/24 python3-tinycss2: use correct build backend

In reply to Ross Burton

This package uses flit now.

---
 meta-python/recipes-devtools/python/python3-tinycss2_1.5.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-tinycss2_1.5.1.bb +1 -1
index c75c741368..dae22c359e 100644
@@ -8,6 +8,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1d072d7e30e34f33f8ae956ada04fa2c"
 
 SRC_URI[sha256sum] = "d339d2b616ba90ccce58da8495a78f46e55d4d25f9fd71dfd526f07e7d53f957"
 
-inherit pypi python_setuptools_build_meta
+inherit pypi python_flit_core
 
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.43.0
#18 lore raw

PATCH 19/24 python3-cerberus: use correct build backend

In reply to Ross Burton

This package uses setuptools now.

---
 meta-python/recipes-devtools/python/python3-cerberus_1.3.8.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-cerberus_1.3.8.bb +1 -1
index c075f4279c..7b868fad5e 100644
@@ -6,6 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=48f8e9432d0dac5e0e7a18211a0bacdb"
 
 UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
 
-inherit pypi python_poetry_core
+inherit pypi python_setuptools_build_meta
 
 SRC_URI[sha256sum] = "579554887ffd189226774b87570f4a76db75cf0efcbaffcacd5e98b8ee877f61"
Signature · 1 line
2.43.0
#19 lore raw

PATCH 20/24 python3-cssselect2: use correct build backend

In reply to Ross Burton

This package uses flit now.

---
 meta-python/recipes-devtools/python/python3-cssselect2_0.9.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-cssselect2_0.9.0.bb +1 -1
index 7353e498eb..4459e05da5 100644
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=aa7228954285c7398bb6711fee73b4ac"
 
 SRC_URI[sha256sum] = "759aa22c216326356f65e62e791d66160a0f9c91d1424e8d8adc5e74dddfc6fb"
 
-inherit pypi python_setuptools_build_meta
+inherit pypi python_flit_core
 
 BBCLASSEXTEND = "native nativesdk"
 
Signature · 1 line
2.43.0
#20 lore raw

PATCH 21/24 python3-flask-mail: use correct build backend

In reply to Ross Burton

This package uses flit now.

---
 .../recipes-devtools/python/python3-flask-mail_0.10.0.bb        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-flask-mail_0.10.0.bb +1 -1
index 5d3f60cff0..d825831b4a 100644
@@ -9,7 +9,7 @@ SRC_URI[sha256sum] = "44083e7b02bbcce792209c06252f8569dd5a325a7aaa76afe7330422bd
 PYPI_PACKAGE = "flask_mail"
 UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
 
-inherit pypi python_setuptools_build_meta
+inherit pypi python_flit_core
 
 RDEPENDS:${PN} = " \
     python3-blinker \
Signature · 1 line
2.43.0
#21 lore raw

PATCH 22/24 python3-pyrad: use correct build backend

In reply to Ross Burton

This package uses setuptools now.

---
 meta-python/recipes-devtools/python/python3-pyrad_2.5.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-pyrad_2.5.4.bb +1 -1
index 404e26381b..96cadcbf43 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=53dbfa56f61b90215a
 PYPI_PACKAGE = "pyrad"
 SRC_URI[sha256sum] = "e039c48a026c988d49276bd7c75795f55e0e4c2788f7ddf09419ce0e191a154d"
 
-inherit pypi python_poetry_core
+inherit pypi python_setuptools_build_meta
 
 RDEPENDS:${PN} += " \
     python3-crypt \
Signature · 1 line
2.43.0
#22 lore raw

PATCH 23/24 python3-pytest-codspeed: use correct build backend

In reply to Ross Burton

This package uses setuptools now.

---
 .../recipes-devtools/python/python3-pytest-codspeed_5.0.3.bb    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-pytest-codspeed_5.0.3.bb +1 -1
index c782414b03..a1691024ad 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2856cbe664e8843cd4fd4c1d1d85c2c3"
 DEPENDS = "python3-cffi-native"
 SRC_URI[sha256sum] = "91afef90e6a96b013495e4702ef5d6358614a449e71008cdc194ef668778b92f"
 
-inherit pypi python_hatchling
+inherit pypi python_setuptools_build_meta
 
 PYPI_PACKAGE = "pytest_codspeed"
 UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
Signature · 1 line
2.43.0
#23 lore raw

PATCH 24/24 python3-python-xmp-toolkit: use correct build backend

In reply to Ross Burton

This package uses flit now.

---
 .../recipes-devtools/python/python3-python-xmp-toolkit_2.1.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-python-xmp-toolkit_2.1.0.bb +1 -1
index 3c761ba1dc..3a269744d9 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=30fa74de63728af31f13dc3bb8cb1756"
 
 SRC_URI[sha256sum] = "ca0aa2c60d418dd2558767db59953ab5954fb5b87dc0b50cecd60566b0b4e2da"
 
-inherit pypi python_setuptools_build_meta ptest-python-pytest
+inherit pypi python_flit_core ptest-python-pytest
 
 PYPI_PACKAGE = "python_xmp_toolkit"
 
Signature · 1 line
2.43.0