summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-geojson
diff options
context:
space:
mode:
authorTrevor Gamblin <tgamblin@baylibre.com>2026-01-23 13:04:08 -0500
committerKhem Raj <raj.khem@gmail.com>2026-01-27 11:58:28 -0800
commit6d9c1d30e7cce8c0bbdeccd2df3506d8798f4358 (patch)
treef22f5884915a4cf7ecdc95670cc41c4e24a88a54 /meta-python/recipes-devtools/python/python3-geojson
parente0719a3497b410c368c645b2ad907190c66cb6ef (diff)
downloadmeta-openembedded-6d9c1d30e7cce8c0bbdeccd2df3506d8798f4358.tar.gz
python3-geojson: fix build with python 3.14
Backport parts of an upstream PR that enables 3.14 in setup.py. ptests look OK: |============================================================================ |Testsuite summary |# TOTAL: 68 |# PASS: 68 |# SKIP: 0 |# XFAIL: 0 |# FAIL: 0 |# XPASS: 0 |# ERROR: 0 |DURATION: 0 |END: /usr/lib/python3-geojson/ptest |2026-01-23T18:03 |STOP: ptest-runner |TOTAL: 1 FAIL: 0 Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-geojson')
-rw-r--r--meta-python/recipes-devtools/python/python3-geojson/0001-Allow-install-over-python-3.14-329.patch56
1 files changed, 56 insertions, 0 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
new file mode 100644
index 0000000000..c0022bcad7
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-geojson/0001-Allow-install-over-python-3.14-329.patch
@@ -0,0 +1,56 @@
1From 2584c0de5651bd694499449f9da5321b15597270 Mon Sep 17 00:00:00 2001
2From: adelplanque <alaindelplanque@mailoo.org>
3Date: Wed, 17 Dec 2025 22:22:28 +0100
4Subject: [PATCH] Allow install over python 3.14 (#329)
5
6All tests pass over python 3.14.2
7
8Upstream-Status: Submitted [https://github.com/jazzband/geojson/pull/240]
9
10Backport the relevant parts of an upstream PR to allow build with Python 3.14.
11
12Signed-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
18diff --git a/README.rst b/README.rst
19index 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
31diff --git a/setup.py b/setup.py
32index 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--
552.52.0
56