Skip to content

Commit

Permalink
Don't fail with Python 3.13. (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastic authored Oct 4, 2024
1 parent 552d85f commit c13afff
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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",
]
)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit c13afff

Please sign in to comment.