File: version-check.patch

package info (click to toggle)
python-geojson 3.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 288 kB
  • sloc: python: 1,081; makefile: 7
file content (18 lines) | stat: -rw-r--r-- 529 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Don't fail prematurely with newer Python versions.
Author: Bas Couwenberg <sebastic@debian.org>
Forwarded: not-needed

--- a/setup.py
+++ b/setup.py
@@ -18,9 +18,9 @@ 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 "
+    sys.stderr.write("Warning: only Python 3.7 - 3.13 are "
                      "supported at this time.\n")
-    exit(1)
+#    exit(1)
 
 setup(
     name="geojson",