Skip to content

Commit c2fbf61

Browse files
authored
Support Python 3.9 and 3.10 (stanford-crfm#1897)
1 parent 70edeb6 commit c2fbf61

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

.github/workflows/test.yml

+5-10
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
python-version: [3.8]
19+
python-version: ["3.8", "3.9", "3.10"]
2020
steps:
2121
- uses: actions/checkout@v2
2222
- name: Set up Python ${{ matrix.python-version }}
@@ -37,6 +37,9 @@ jobs:
3737
test:
3838
name: Tests
3939
runs-on: ubuntu-latest
40+
strategy:
41+
matrix:
42+
python-version: ["3.8", "3.9", "3.10"]
4043
steps:
4144
- name: Clear free space
4245
run: |
@@ -45,7 +48,7 @@ jobs:
4548
- uses: actions/checkout@v2
4649
- uses: actions/setup-python@v4
4750
with:
48-
python-version: 3.8
51+
python-version: ${{ matrix.python-version }}
4952
- uses: actions/cache@v2
5053
with:
5154
path: ~/.cache/pip
@@ -64,11 +67,3 @@ jobs:
6467
- name: Run entire pipeline quickly without any data
6568
# Checking RunSpecs with openai/davinci should be comprehensive enough
6669
run: source venv/bin/activate && helm-run --suite test -m 100 --skip-instances --models-to-run openai/davinci --exit-on-error
67-
68-
ci:
69-
name: All CI tasks complete
70-
runs-on: ubuntu-latest
71-
needs: [install, test]
72-
steps:
73-
- uses: actions/checkout@v2
74-
- run: echo Done

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ classifiers =
1414
url = https://github.com/stanford-crfm/helm
1515

1616
[options]
17-
python_requires = ~=3.8
17+
python_requires = >=3.8,<3.11
1818
package_dir =
1919
=src
2020
packages = find:

0 commit comments

Comments
 (0)