Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Python 3.10 release candidate #166

Merged
merged 3 commits into from
Oct 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
max-parallel: 6
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', 'pypy3']
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', 'pypy3']

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This Python library contains:
Installation
------------

geojson is compatible with Python 3.6 - 3.9. The recommended way to install is via pip_:
geojson is compatible with Python 3.6 - 3.10. The recommended way to install is via pip_:

.. code::

Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ def test_suite():


major_version, minor_version = sys.version_info[:2]
if not (major_version == 3 and 6 <= minor_version <= 9):
sys.stderr.write("Sorry, only Python 3.6 - 3.9 are "
if not (major_version == 3 and 6 <= minor_version <= 10):
sys.stderr.write("Sorry, only Python 3.6 - 3.10 are "
"supported at this time.\n")
exit(1)

Expand All @@ -48,7 +48,7 @@ def test_suite():
package_data={"geojson": ["*.rst"]},
install_requires=[],
test_suite="setup.test_suite",
python_requires=">=3.6, <=3.9",
python_requires=">=3.6, <=3.10",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
Expand All @@ -61,6 +61,7 @@ def test_suite():
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering :: GIS",
]
)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py{36,37,38,39}, pypy3
envlist = py{36,37,38,39,310}, pypy3

[testenv]
commands = {envpython} setup.py test