diff mbox series

[meta-python,2/8] python3-geojson: Upgrade 3.2.0 -> 3.3.0

Message ID 20260612153404.3213552-2-leon.anavi@konsulko.com
State Under Review
Headers show
Series [meta-python,1/8] python3-tornado: Upgrade 6.5.6 -> 6.5.7 | expand

Commit Message

Leon Anavi June 12, 2026, 3:33 p.m. UTC
Upgrade to release 3.3.0:

- __all__ must be a sequence of strings: fix __init__.py and factory.py
- remove simplejson
- Add support for Python 3.14
- Remove EOL Python version support
- Update GH action versions for Node 24
- fix: convert dict features to Feature objects in FeatureCollection

Drop 0001-Allow-install-over-python-3.14-329.patch because it
has been applied in the upstream of the project.

License-Update: Update years

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 ...1-Allow-install-over-python-3.14-329.patch | 56 -------------------
 ...json_3.2.0.bb => python3-geojson_3.3.0.bb} |  8 +--
 2 files changed, 2 insertions(+), 62 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-geojson/0001-Allow-install-over-python-3.14-329.patch
 rename meta-python/recipes-devtools/python/{python3-geojson_3.2.0.bb => python3-geojson_3.3.0.bb} (51%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-geojson/0001-Allow-install-over-python-3.14-329.patch b/meta-python/recipes-devtools/python/python3-geojson/0001-Allow-install-over-python-3.14-329.patch
deleted file mode 100644
index c0022bcad7..0000000000
--- a/meta-python/recipes-devtools/python/python3-geojson/0001-Allow-install-over-python-3.14-329.patch
+++ /dev/null
@@ -1,56 +0,0 @@ 
-From 2584c0de5651bd694499449f9da5321b15597270 Mon Sep 17 00:00:00 2001
-From: adelplanque <alaindelplanque@mailoo.org>
-Date: Wed, 17 Dec 2025 22:22:28 +0100
-Subject: [PATCH] Allow install over python 3.14 (#329)
-
-All tests pass over python 3.14.2
-
-Upstream-Status: Submitted [https://github.com/jazzband/geojson/pull/240]
-
-Backport the relevant parts of an upstream PR to allow build with Python 3.14.
-
-Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
----
- README.rst                 | 2 +-
- setup.py                   | 5 +++--
- 2 files changed, 4 insertions(+), 3 deletions(-)
-
-diff --git a/README.rst b/README.rst
-index 26dc790..e3ac38a 100644
---- a/README.rst
-+++ b/README.rst
-@@ -29,7 +29,7 @@ This Python library contains:
- Installation
- ------------
- 
--geojson is compatible with Python 3.7 - 3.13. The recommended way to install is via pip_:
-+geojson is compatible with Python 3.7 - 3.14. The recommended way to install is via pip_:
- 
- .. code::
- 
-diff --git a/setup.py b/setup.py
-index 004d3eb..db277f1 100644
---- a/setup.py
-+++ b/setup.py
-@@ -17,8 +17,8 @@ else:
- 
- 
- major_version, minor_version = sys.version_info[:2]
--if not (major_version == 3 and 7 <= minor_version <= 13):
--    sys.stderr.write("Sorry, only Python 3.7 - 3.13 are "
-+if not (major_version == 3 and 7 <= minor_version <= 14):
-+    sys.stderr.write("Sorry, only Python 3.7 - 3.14 are "
-                      "supported at this time.\n")
-     exit(1)
- 
-@@ -54,6 +54,7 @@ setup(
-         "Programming Language :: Python :: 3.11",
-         "Programming Language :: Python :: 3.12",
-         "Programming Language :: Python :: 3.13",
-+        "Programming Language :: Python :: 3.14",
-         "Topic :: Scientific/Engineering :: GIS",
-     ]
- )
--- 
-2.52.0
-
diff --git a/meta-python/recipes-devtools/python/python3-geojson_3.2.0.bb b/meta-python/recipes-devtools/python/python3-geojson_3.3.0.bb
similarity index 51%
rename from meta-python/recipes-devtools/python/python3-geojson_3.2.0.bb
rename to meta-python/recipes-devtools/python/python3-geojson_3.3.0.bb
index cdb019ebd5..8b3d5cfd81 100644
--- a/meta-python/recipes-devtools/python/python3-geojson_3.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-geojson_3.3.0.bb
@@ -1,13 +1,9 @@ 
 SUMMARY = "Python bindings and utilities for GeoJSON"
 HOMEPAGE = "https://pypi.org/project/geojson/"
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=f77f2ed49768c8d4c79ba874c0f94d8a"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=127b4a863485faf7c57d12dc2c1f60b3"
 
-SRC_URI[sha256sum] = "b860baba1e8c6f71f8f5f6e3949a694daccf40820fa8f138b3f712bd85804903"
-
-SRC_URI += " \
-    file://0001-Allow-install-over-python-3.14-329.patch \
-"
+SRC_URI[sha256sum] = "92e83b9cb378a450b42f1207bb9b2a031f9fc89185f335153c44369b8b8b71fd"
 
 inherit pypi setuptools3 ptest-python-pytest