Skip to content

Commit 3ed3096

Browse files
authored
Update to p3.11 (#111)
* Update to p3.11 * Remove p3.7 from CI * Changes for p3.11 compat * Update pylintrc * Unbind pylint version * Fix lint * Make style * Update test * Add comment * Update actions
1 parent 9879d3d commit 3ed3096

20 files changed

+524
-476
lines changed

.github/workflows/pypi-release.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
fi
2222
- uses: actions/setup-python@v2
2323
with:
24-
python-version: 3.8
24+
python-version: 3.9
2525
- run: |
2626
python -m pip install -U pip setuptools wheel build
2727
- run: |
@@ -36,10 +36,10 @@ jobs:
3636
runs-on: ubuntu-20.04
3737
strategy:
3838
matrix:
39-
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
39+
python-version: ["3.8", "3.9", "3.10", "3.11"]
4040
steps:
41-
- uses: actions/checkout@v2
42-
- uses: actions/setup-python@v2
41+
- uses: actions/checkout@v3
42+
- uses: actions/setup-python@v4
4343
with:
4444
python-version: ${{ matrix.python-version }}
4545
- run: |
@@ -62,14 +62,6 @@ jobs:
6262
with:
6363
name: "sdist"
6464
path: "dist/"
65-
- uses: actions/download-artifact@v2
66-
with:
67-
name: "wheel-3.6"
68-
path: "dist/"
69-
- uses: actions/download-artifact@v2
70-
with:
71-
name: "wheel-3.7"
72-
path: "dist/"
7365
- uses: actions/download-artifact@v2
7466
with:
7567
name: "wheel-3.8"
@@ -82,6 +74,10 @@ jobs:
8274
with:
8375
name: "wheel-3.10"
8476
path: "dist/"
77+
- uses: actions/download-artifact@v2
78+
with:
79+
name: "wheel-3.11"
80+
path: "dist/"
8581
- run: |
8682
ls -lh dist/
8783
- name: Setup PyPI config
@@ -93,7 +89,7 @@ jobs:
9389
EOF
9490
- uses: actions/setup-python@v2
9591
with:
96-
python-version: 3.8
92+
python-version: 3.9
9793
- run: |
9894
python -m pip install twine
9995
- run: |

.github/workflows/style_check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
python-version: [3.9]
2222
experimental: [false]
2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v3
2525
- name: Set up Python ${{ matrix.python-version }}
26-
uses: coqui-ai/setup-python@pip-cache-key-py-ver
26+
uses: actions/setup-python@v4
2727
with:
2828
python-version: ${{ matrix.python-version }}
2929
architecture: x64

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
python-version: [3.7, 3.8, 3.9, "3.10"]
21+
python-version: [3.8, 3.9, "3.10", "3.11"]
2222
experimental: [false]
2323
steps:
2424
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)