diff mbox series

[meta-python,26/67] python3-geojson: upgrade 3.1.0 -> 3.2.0

Message ID 1735032421-13513-26-git-send-email-wangmy@fujitsu.com
State Under Review
Headers show
Series [meta-oe,01/67] ctags: upgrade 6.1.20241215.0 -> 6.1.20241222.0 | expand

Commit Message

Mingyu Wang (Fujitsu) Dec. 24, 2024, 9:26 a.m. UTC
From: Wang Mingyu <wangmy@fujitsu.com>

py3.13.patch
removed since it's included in 3.2.0

Changelog:
==========
- Add support for Python 3.13
- Code modernization
- RtD bugfix

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 .../python/python3-geojson/py3.13.patch       | 38 -------------------
 ...json_3.1.0.bb => python3-geojson_3.2.0.bb} |  7 +---
 2 files changed, 2 insertions(+), 43 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-geojson/py3.13.patch
 rename meta-python/recipes-devtools/python/{python3-geojson_3.1.0.bb => python3-geojson_3.2.0.bb} (77%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-geojson/py3.13.patch b/meta-python/recipes-devtools/python/python3-geojson/py3.13.patch
deleted file mode 100644
index 45618fa6dd..0000000000
--- a/meta-python/recipes-devtools/python/python3-geojson/py3.13.patch
+++ /dev/null
@@ -1,38 +0,0 @@ 
-From c13afff339e6b78f442785cc95f0eb66ddab3e7b Mon Sep 17 00:00:00 2001
-From: Bas Couwenberg <sebastic@xs4all.nl>
-Date: Fri, 4 Oct 2024 16:18:34 +0200
-Subject: [PATCH] Don't fail with Python 3.13. (#228)
-
-Upstream-Status: Backport [https://github.com/jazzband/geojson/commit/c13afff339e6b78f442785cc95f0eb66ddab3e7b]
-Signed-off-by: Alexander Kanavin <alex@linutronix.de>
----
- .github/workflows/test.yml | 2 +-
- README.rst                 | 2 +-
- setup.py                   | 5 +++--
- tox.ini                    | 2 +-
- 4 files changed, 6 insertions(+), 5 deletions(-)
-
-diff --git a/setup.py b/setup.py
-index 95b2823..004d3eb 100644
---- a/setup.py
-+++ b/setup.py
-@@ -17,8 +17,8 @@
- 
- 
- major_version, minor_version = sys.version_info[:2]
--if not (major_version == 3 and 7 <= minor_version <= 12):
--    sys.stderr.write("Sorry, only Python 3.7 - 3.12 are "
-+if not (major_version == 3 and 7 <= minor_version <= 13):
-+    sys.stderr.write("Sorry, only Python 3.7 - 3.13 are "
-                      "supported at this time.\n")
-     exit(1)
- 
-@@ -53,6 +53,7 @@
-         "Programming Language :: Python :: 3.10",
-         "Programming Language :: Python :: 3.11",
-         "Programming Language :: Python :: 3.12",
-+        "Programming Language :: Python :: 3.13",
-         "Topic :: Scientific/Engineering :: GIS",
-     ]
- )
-
diff --git a/meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb b/meta-python/recipes-devtools/python/python3-geojson_3.2.0.bb
similarity index 77%
rename from meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb
rename to meta-python/recipes-devtools/python/python3-geojson_3.2.0.bb
index 36f5fa09ec..c7bf433d42 100644
--- a/meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-geojson_3.2.0.bb
@@ -3,14 +3,11 @@  HOMEPAGE = "https://pypi.org/project/geojson/"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=f77f2ed49768c8d4c79ba874c0f94d8a"
 
-SRC_URI[sha256sum] = "58a7fa40727ea058efc28b0e9ff0099eadf6d0965e04690830208d3ef571adac"
+SRC_URI[sha256sum] = "b860baba1e8c6f71f8f5f6e3949a694daccf40820fa8f138b3f712bd85804903"
 
 inherit pypi setuptools3 ptest
 
-SRC_URI += " \
-	file://run-ptest \
-        file://py3.13.patch \
-"
+SRC_URI += "file://run-ptest"
 
 RDEPENDS:${PN}-ptest += " \
     python3-pytest \