Skip to content

Commit eefa94d

Browse files
committed
maintenance: update CI and setup
1 parent 08ae413 commit eefa94d

File tree

2 files changed

+14
-18
lines changed

2 files changed

+14
-18
lines changed

.github/workflows/tests.yml

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,48 +17,43 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
os: [ubuntu-latest]
20-
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
20+
# https://github.com/actions/python-versions/blob/main/versions-manifest.json
21+
python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13-dev"]
2122
include:
22-
# custom tests
23-
- python-version: "3.11-dev"
24-
os: ubuntu-latest
25-
experimental: true
26-
allowed_failure: true
27-
- python-version: pypy3
28-
os: ubuntu-latest
29-
experimental: true
30-
allowed_failure: true
31-
- os: macos-latest
23+
# other OS version necessary
24+
- os: ubuntu-20.04
25+
python-version: 3.6
26+
- os: ubuntu-20.04
3227
python-version: 3.7
28+
- os: macos-latest
29+
python-version: "3.10"
3330
- os: windows-latest
34-
python-version: 3.7
35-
experimental: true
36-
allowed_failure: true
31+
python-version: "3.10"
3732
steps:
3833
# Python and pip setup
3934
- name: Set up Python ${{ matrix.python-version }}
40-
uses: actions/setup-python@v2
35+
uses: actions/setup-python@v5
4136
with:
4237
python-version: ${{ matrix.python-version }}
4338

4439
- name: Upgrade pip
45-
run: python -m pip install --upgrade pip setuptools wheel
40+
run: python -m pip install --upgrade pip
4641

4742
- name: Get pip cache dir
4843
id: pip-cache
4944
run: |
5045
echo "::set-output name=dir::$(pip cache dir)"
5146
5247
- name: pip cache
53-
uses: actions/cache@v2
48+
uses: actions/cache@v4
5449
with:
5550
path: ${{ steps.pip-cache.outputs.dir }}
5651
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
5752
restore-keys: |
5853
${{ runner.os }}-pip-
5954
6055
# package setup
61-
- uses: actions/checkout@v3
56+
- uses: actions/checkout@v4
6257

6358
- name: Install dependencies
6459
run: python -m pip install -e "."

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ def get_long_description():
3838
"Programming Language :: Python :: 3.9",
3939
"Programming Language :: Python :: 3.10",
4040
"Programming Language :: Python :: 3.11",
41+
"Programming Language :: Python :: 3.12",
4142
"Topic :: Scientific/Engineering :: Artificial Intelligence",
4243
"Topic :: Text Processing :: Linguistic",
4344
],

0 commit comments

Comments
 (0)