Skip to content

Commit

Permalink
Enable Python 3.10.
Browse files Browse the repository at this point in the history
  • Loading branch information
rchen152 committed Apr 6, 2022
1 parent 6afed8e commit 0f71fc3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
platform:
- manylinux2014_x86_64
- manylinux2014_aarch64
pyver: [cp37-cp37m, cp38-cp38, cp39-cp39]
pyver: [cp37-cp37m, cp38-cp38, cp39-cp39, cp310-cp310]
steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
python_version: [3.7, 3.8, 3.9]
python_version: [3.7, 3.8, 3.9, 3.10]
steps:
- uses: actions/checkout@v2
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04]
python-version: ['3.7','3.8', '3.9']
python-version: ['3.7','3.8', '3.9', '3.10']
experimental: [false]
include:
- os: ubuntu-20.04
python-version: '3.10-dev'
python-version: '3.11-dev'
experimental: true
steps:
- name: Cancel previous
Expand Down Expand Up @@ -47,9 +47,9 @@ jobs:
run: pip install -r requirements.txt

- name: Run Tests
if: matrix.python-version != '3.10-dev'
if: matrix.python-version != '3.11-dev'
run: python build_scripts/ci_script.py

- name: Run Tests for python 3.10
if: matrix.python-version == '3.10-dev'
- name: Run Tests for python 3.11
if: matrix.python-version == '3.11-dev'
run: python build_scripts/ci_script.py || exit 0
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@ classifiers =
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: Implementation :: CPython
Topic :: Software Development


[options]
zip_safe = False
python_requires = >=3.7, <3.10
python_requires = >=3.7, <3.11
packages =
find:
install_requires =
Expand Down

0 comments on commit 0f71fc3

Please sign in to comment.