From a9a7065c47834d54e85b7468088a524e12c23b03 Mon Sep 17 00:00:00 2001 From: Bas Couwenberg Date: Thu, 19 Sep 2024 15:55:09 +0200 Subject: [PATCH] Don't fail with Python 3.13. --- .github/workflows/test.yml | 2 +- README.rst | 2 +- setup.py | 5 +++-- tox.ini | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e1601c0..05fe982 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['pypy3.9', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['pypy3.9', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v3 diff --git a/README.rst b/README.rst index 2e185f4..26dc790 100644 --- a/README.rst +++ b/README.rst @@ -29,7 +29,7 @@ This Python library contains: Installation ------------ -geojson is compatible with Python 3.7 - 3.12. The recommended way to install is via pip_: +geojson is compatible with Python 3.7 - 3.13. The recommended way to install is via pip_: .. code:: 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/tox.ini b/tox.ini index 3d0f235..900368e 100644 --- a/tox.ini +++ b/tox.ini @@ -2,7 +2,7 @@ requires = tox>=4.2 env_list = - py{py3, 312, 311, 310, 39, 38, 37} + py{py3, 313, 312, 311, 310, 39, 38, 37} [testenv] deps =