diff mbox series

[meta-python,064/105] python3-pycocotools: upgrade 2.0.8 -> 2.0.11

Message ID 20261116175359.342679-64-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-python,001/105] python3-absl: upgrade 2.1.0 -> 2.5.1 | expand

Commit Message

Khem Raj Nov. 16, 2026, 5:53 p.m. UTC
Drop the numpy 1.x patch; numpy in OE is 2.x and upstream requires
numpy>=2.0.0.

Changes:
- Support latest numpy (2.3+) and build abi3 wheels; Python 3.14
  support; free-threaded 3.13t support dropped (2.0.11).
- matplotlib is no longer a required dependency by default.
- COCO.loadRes also copies the info dict to results; default value
  added for info.
- Musl wheel builds removed.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 ...01-downgrade-numpy-version-to-1.26.4.patch | 26 -------------------
 ...2.0.8.bb => python3-pycocotools_2.0.11.bb} |  3 +--
 2 files changed, 1 insertion(+), 28 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-pycocotools/0001-downgrade-numpy-version-to-1.26.4.patch
 rename meta-python/recipes-devtools/python/{python3-pycocotools_2.0.8.bb => python3-pycocotools_2.0.11.bb} (76%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pycocotools/0001-downgrade-numpy-version-to-1.26.4.patch b/meta-python/recipes-devtools/python/python3-pycocotools/0001-downgrade-numpy-version-to-1.26.4.patch
deleted file mode 100644
index cd3e462ddf..0000000000
--- a/meta-python/recipes-devtools/python/python3-pycocotools/0001-downgrade-numpy-version-to-1.26.4.patch
+++ /dev/null
@@ -1,26 +0,0 @@ 
-From 7222a8b9b6e05b89116ca14644aa8db79eecd3c6 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Sat, 24 Aug 2024 00:19:23 -0700
-Subject: [PATCH] downgrade numpy version to 1.26.4+
-
-We can drop it when OE-core upgrades numpy to 2.x
-
-Upstream-Status: Inappropriate [OE workaround]
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- pyproject.toml | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/pyproject.toml b/pyproject.toml
-index 1bfbd91..cbee520 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -1,7 +1,7 @@
- [build-system]
- requires = [
-     "cython>=0.27.3",
--    "numpy>=2.0.0rc1",
-+    "numpy>=1.26.4",
-     "setuptools>=43.0.0",
-     "wheel",
- ]
diff --git a/meta-python/recipes-devtools/python/python3-pycocotools_2.0.8.bb b/meta-python/recipes-devtools/python/python3-pycocotools_2.0.11.bb
similarity index 76%
rename from meta-python/recipes-devtools/python/python3-pycocotools_2.0.8.bb
rename to meta-python/recipes-devtools/python/python3-pycocotools_2.0.11.bb
index c887514efc..814b66acf4 100644
--- a/meta-python/recipes-devtools/python/python3-pycocotools_2.0.8.bb
+++ b/meta-python/recipes-devtools/python/python3-pycocotools_2.0.11.bb
@@ -5,9 +5,8 @@  LIC_FILES_CHKSUM = "file://pycocotools/coco.py;beginline=45;endline=45;md5=12cb5
 
 inherit pypi python_setuptools_build_meta cython
 
-SRC_URI += "file://0001-downgrade-numpy-version-to-1.26.4.patch"
 
-SRC_URI[sha256sum] = "8f2bcedb786ba26c367a3680f9c4eb5b2ad9dccb2b34eaeb205e0a021e1dfb8d"
+SRC_URI[sha256sum] = "34254d76da85576fcaf5c1f3aa9aae16b8cb15418334ba4283b800796bd1993d"
 
 DEPENDS = "python3-numpy-native virtual/crypt python3-wheel-native"
 RDEPENDS:${PN} = "python3-matplotlib python3-pillow python3-profile"