Skip to content

Commit 4035cbe

Browse files
authored
Support Python 3.10 (#1591)
* Add Python 3.10 classifier to setup.py. Also changed PyGMT's development status from alpha to beta. * Use Python 3.10 for style_checks and publish-to-pypi CI workflows
1 parent 9e95a4e commit 4035cbe

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/publish-to-pypi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Set up Python
3232
uses: actions/[email protected]
3333
with:
34-
python-version: 3.9
34+
python-version: '3.10'
3535

3636
- name: Install dependencies
3737
run: python -m pip install setuptools wheel

.github/workflows/style_checks.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set up Python
2323
uses: actions/[email protected]
2424
with:
25-
python-version: 3.9
25+
python-version: '3.10'
2626

2727
- name: Install packages
2828
run: |

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
PACKAGE_DATA = {"pygmt.tests": ["data/*", "baseline/*"]}
2222

2323
CLASSIFIERS = [
24-
"Development Status :: 3 - Alpha",
24+
"Development Status :: 4 - Beta",
2525
"Intended Audience :: Science/Research",
2626
"Intended Audience :: Developers",
2727
"Intended Audience :: Education",
@@ -30,6 +30,7 @@
3030
"Programming Language :: Python :: 3.7",
3131
"Programming Language :: Python :: 3.8",
3232
"Programming Language :: Python :: 3.9",
33+
"Programming Language :: Python :: 3.10",
3334
f"License :: OSI Approved :: {LICENSE}",
3435
]
3536
PLATFORMS = "Any"

0 commit comments

Comments
 (0)