diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2026-06-12 18:33:58 +0300 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-06-14 23:13:31 -0700 |
| commit | 6227b8a3e367fb86a214df7a409bb1fbef10c794 (patch) | |
| tree | 6b38e90e2c71a2611f1667e0e030dda66f6d3449 /meta-python/recipes-devtools/python | |
| parent | c8b82e6d3dd6f4aa2d57db559889b3023dbff881 (diff) | |
| download | meta-openembedded-6227b8a3e367fb86a214df7a409bb1fbef10c794.tar.gz | |
python3-geojson: Upgrade 3.2.0 -> 3.3.0
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>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-geojson/0001-Allow-install-over-python-3.14-329.patch | 56 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-geojson_3.3.0.bb (renamed from meta-python/recipes-devtools/python/python3-geojson_3.2.0.bb) | 8 |
2 files changed, 2 insertions, 62 deletions
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 @@ | |||
| 1 | From 2584c0de5651bd694499449f9da5321b15597270 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: adelplanque <alaindelplanque@mailoo.org> | ||
| 3 | Date: Wed, 17 Dec 2025 22:22:28 +0100 | ||
| 4 | Subject: [PATCH] Allow install over python 3.14 (#329) | ||
| 5 | |||
| 6 | All tests pass over python 3.14.2 | ||
| 7 | |||
| 8 | Upstream-Status: Submitted [https://github.com/jazzband/geojson/pull/240] | ||
| 9 | |||
| 10 | Backport the relevant parts of an upstream PR to allow build with Python 3.14. | ||
| 11 | |||
| 12 | Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> | ||
| 13 | --- | ||
| 14 | README.rst | 2 +- | ||
| 15 | setup.py | 5 +++-- | ||
| 16 | 2 files changed, 4 insertions(+), 3 deletions(-) | ||
| 17 | |||
| 18 | diff --git a/README.rst b/README.rst | ||
| 19 | index 26dc790..e3ac38a 100644 | ||
| 20 | --- a/README.rst | ||
| 21 | +++ b/README.rst | ||
| 22 | @@ -29,7 +29,7 @@ This Python library contains: | ||
| 23 | Installation | ||
| 24 | ------------ | ||
| 25 | |||
| 26 | -geojson is compatible with Python 3.7 - 3.13. The recommended way to install is via pip_: | ||
| 27 | +geojson is compatible with Python 3.7 - 3.14. The recommended way to install is via pip_: | ||
| 28 | |||
| 29 | .. code:: | ||
| 30 | |||
| 31 | diff --git a/setup.py b/setup.py | ||
| 32 | index 004d3eb..db277f1 100644 | ||
| 33 | --- a/setup.py | ||
| 34 | +++ b/setup.py | ||
| 35 | @@ -17,8 +17,8 @@ else: | ||
| 36 | |||
| 37 | |||
| 38 | major_version, minor_version = sys.version_info[:2] | ||
| 39 | -if not (major_version == 3 and 7 <= minor_version <= 13): | ||
| 40 | - sys.stderr.write("Sorry, only Python 3.7 - 3.13 are " | ||
| 41 | +if not (major_version == 3 and 7 <= minor_version <= 14): | ||
| 42 | + sys.stderr.write("Sorry, only Python 3.7 - 3.14 are " | ||
| 43 | "supported at this time.\n") | ||
| 44 | exit(1) | ||
| 45 | |||
| 46 | @@ -54,6 +54,7 @@ setup( | ||
| 47 | "Programming Language :: Python :: 3.11", | ||
| 48 | "Programming Language :: Python :: 3.12", | ||
| 49 | "Programming Language :: Python :: 3.13", | ||
| 50 | + "Programming Language :: Python :: 3.14", | ||
| 51 | "Topic :: Scientific/Engineering :: GIS", | ||
| 52 | ] | ||
| 53 | ) | ||
| 54 | -- | ||
| 55 | 2.52.0 | ||
| 56 | |||
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 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 @@ | |||
| 1 | SUMMARY = "Python bindings and utilities for GeoJSON" | 1 | SUMMARY = "Python bindings and utilities for GeoJSON" |
| 2 | HOMEPAGE = "https://pypi.org/project/geojson/" | 2 | HOMEPAGE = "https://pypi.org/project/geojson/" |
| 3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=f77f2ed49768c8d4c79ba874c0f94d8a" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=127b4a863485faf7c57d12dc2c1f60b3" |
| 5 | 5 | ||
| 6 | SRC_URI[sha256sum] = "b860baba1e8c6f71f8f5f6e3949a694daccf40820fa8f138b3f712bd85804903" | 6 | SRC_URI[sha256sum] = "92e83b9cb378a450b42f1207bb9b2a031f9fc89185f335153c44369b8b8b71fd" |
| 7 | |||
| 8 | SRC_URI += " \ | ||
| 9 | file://0001-Allow-install-over-python-3.14-329.patch \ | ||
| 10 | " | ||
| 11 | 7 | ||
| 12 | inherit pypi setuptools3 ptest-python-pytest | 8 | inherit pypi setuptools3 ptest-python-pytest |
| 13 | 9 | ||
