Skip to content

Commit

Permalink
Add Python 3.10 support, drop Python 3.6 support
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Finucane <[email protected]>
  • Loading branch information
stephenfin committed Apr 7, 2022
1 parent 340dadf commit c0242ee
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
steps:
- name: Checkout source code
uses: actions/checkout@v2
- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: "3.10"
- name: Install dependencies
run: python -m pip install tox
- name: Run tox
Expand All @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.6, 3.7, 3.8, 3.9]
python: ["3.7", "3.8", "3.9", "3.10"]
steps:
- name: Checkout source code
uses: actions/checkout@v2
Expand All @@ -44,10 +44,10 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: "3.10"
- name: Install dependencies
run: python -m pip install tox
- name: Build docs (via tox)
Expand All @@ -68,10 +68,10 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: "3.10"
- name: Install dependencies
run: python -m pip install build
- name: Build a binary wheel and a source tarball
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ classifiers =
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
python_requires = >=3.6
python_requires = >=3.7
keywords = sphinx

[files]
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
minversion = 2.0
envlist = py{36,37,38,39}-click{7,8},style,docs
envlist = py{37,38,39}-click{7,8},py{310}-click8,style,docs

[testenv]
deps =
Expand Down

0 comments on commit c0242ee

Please sign in to comment.