Skip to content

Commit 3f45a0f

Browse files
authored
MAINT: Add support for Python 3.10 (#174)
1 parent 1fd5ca4 commit 3f45a0f

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

.github/workflows/integration.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v2
13-
- name: Set up Python 3.7
14-
uses: actions/setup-python@v2
12+
- uses: actions/checkout@v3
13+
- name: Set up Python
14+
uses: actions/setup-python@v4
1515
with:
16-
python-version: 3.7
16+
python-version: "3.x"
1717
- name: Install dependencies
1818
run: |
1919
python -m pip install --upgrade pip
@@ -33,9 +33,9 @@ jobs:
3333
node-version: [12.x]
3434

3535
steps:
36-
- uses: actions/checkout@v2
36+
- uses: actions/checkout@v3
3737
- name: Use Node.js ${{ matrix.node-version }}
38-
uses: actions/setup-node@v2
38+
uses: actions/setup-node@v3
3939
with:
4040
node-version: ${{ matrix.node-version }}
4141
- run: npm ci
@@ -48,12 +48,12 @@ jobs:
4848
runs-on: ubuntu-latest
4949
strategy:
5050
matrix:
51-
python-version: [3.7, 3.8, 3.9]
51+
python-version: ["3.7", "3.8", "3.9", "3.10"]
5252

5353
steps:
54-
- uses: actions/checkout@v2
54+
- uses: actions/checkout@v3
5555
- name: Set up Python ${{ matrix.python-version }}
56-
uses: actions/setup-python@v2
56+
uses: actions/setup-python@v4
5757
with:
5858
python-version: ${{ matrix.python-version }}
5959
- name: Install dependencies
@@ -69,24 +69,24 @@ jobs:
6969
7070
publish:
7171

72-
name: Publish to PyPi
72+
name: Publish to PyPI
7373
needs: [pre-commit, docs]
7474
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
7575
runs-on: ubuntu-latest
7676
steps:
7777
- name: Checkout source
78-
uses: actions/checkout@v2
79-
- name: Set up Python 3.8
80-
uses: actions/setup-python@v1
78+
uses: actions/checkout@v3
79+
- name: Set up Python
80+
uses: actions/setup-python@v4
8181
with:
82-
python-version: "3.8"
82+
python-version: "3.x"
8383
- name: Build package
8484
run: |
8585
pip install build
8686
git submodule update --init
8787
python -m build
8888
- name: Publish
89-
uses: pypa/gh-action-pypi-publish@v1.4.2
89+
uses: pypa/gh-action-pypi-publish@v1.5.1
9090
with:
9191
user: __token__
9292
password: ${{ secrets.PYPI_KEY }}

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"Programming Language :: Python :: 3.7",
5555
"Programming Language :: Python :: 3.8",
5656
"Programming Language :: Python :: 3.9",
57+
"Programming Language :: Python :: 3.10",
5758
"Programming Language :: Python :: 3 :: Only",
5859
],
5960
python_requires=">=3.7",

0 commit comments

Comments
 (0)