diff mbox series

[meta-tensorflow,5/14] python3-mldtypes: 0.5.1 -> 0.5.4

Message ID 20260325021719.1526525-6-hongxu.jia@windriver.com
State New
Headers show
Series Upgrade tensorflow from 2.19.0 to 2.21.0 | expand

Commit Message

Hongxu Jia March 25, 2026, 2:17 a.m. UTC
Remove obsolete patch
- 0001-fix-setuptools-missing.patch

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 .../0001-fix-setuptools-missing.patch         | 30 -------------------
 ...pes_0.5.1.bb => python3-mldtypes_0.5.4.bb} |  9 ++----
 2 files changed, 3 insertions(+), 36 deletions(-)
 delete mode 100644 recipes-devtools/python/python3-mldtypes/0001-fix-setuptools-missing.patch
 rename recipes-devtools/python/{python3-mldtypes_0.5.1.bb => python3-mldtypes_0.5.4.bb} (60%)
diff mbox series

Patch

diff --git a/recipes-devtools/python/python3-mldtypes/0001-fix-setuptools-missing.patch b/recipes-devtools/python/python3-mldtypes/0001-fix-setuptools-missing.patch
deleted file mode 100644
index 612f6af..0000000
--- a/recipes-devtools/python/python3-mldtypes/0001-fix-setuptools-missing.patch
+++ /dev/null
@@ -1,30 +0,0 @@ 
-From 1d24be92b58f2a72fc8e53b5a7e09b4dbcca0795 Mon Sep 17 00:00:00 2001
-From: Hongxu Jia <hongxu.jia@windriver.com>
-Date: Fri, 21 Mar 2025 20:49:35 -0700
-Subject: [PATCH] fix setuptools missing
-
-|ERROR Missing dependencies:
-|    setuptools~=75.7.0
-
-Upstream-Status: Inappropriate [oe specific]
-
-Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
----
- pyproject.toml | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/pyproject.toml b/pyproject.toml
-index c040eb3..881a99b 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -52,7 +52,6 @@ requires = [
-     # We build against the most recent supported NumPy 2.0 release;
-     # see https://github.com/numpy/numpy/issues/27265
-     "numpy~=2.0",
--    "setuptools~=75.7.0",
- ]
- build-backend = "setuptools.build_meta"
- 
--- 
-2.25.1
-
diff --git a/recipes-devtools/python/python3-mldtypes_0.5.1.bb b/recipes-devtools/python/python3-mldtypes_0.5.4.bb
similarity index 60%
rename from recipes-devtools/python/python3-mldtypes_0.5.1.bb
rename to recipes-devtools/python/python3-mldtypes_0.5.4.bb
index 9a72066..f7d5777 100644
--- a/recipes-devtools/python/python3-mldtypes_0.5.1.bb
+++ b/recipes-devtools/python/python3-mldtypes_0.5.4.bb
@@ -4,16 +4,13 @@  SECTION = "devel/python"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
-SRC_URI[sha256sum] = "ac5b58559bb84a95848ed6984eb8013249f90b6bab62aa5acbad876e256002c9"
+SRC_URI[sha256sum] = "8ab06a50fb9bf9666dd0fe5dfb4676fa2b0ac0f31ecff72a6c3af8e22c063453"
 
 inherit pypi python_setuptools_build_meta
 
-SRCNAME ?= "ml_dtypes"
-PYPI_SRC_URI = "https://files.pythonhosted.org/packages/32/49/6e67c334872d2c114df3020e579f3718c333198f8312290e09ec0216703a/${SRCNAME}-${PV}.tar.gz"
-SRC_URI += "file://0001-fix-setuptools-missing.patch"
-S = "${UNPACKDIR}/${SRCNAME}-${PV}"
+PYPI_PACKAGE = "ml_dtypes"
 
-UPSTREAM_CHECK_PYPI_PACKAGE = "ml_dtypes"
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
 UPSTREAM_CHECK_URI = "https://pypi.org/simple/${UPSTREAM_CHECK_PYPI_PACKAGE}/"
 
 DEPENDS = " \