Skip to content

Commit

Permalink
Add support for python 3.10 (#888)
Browse files Browse the repository at this point in the history
* add support for python 3.10

* specify micro version

* specify latest micro

* some required modifications for 3.10

* upgrade gh set-up python action

* readd latest micro

* add changelog entry

* remove docs workflow, wrap 3.10 with single quotes

* update coveralls python version in workflow
  • Loading branch information
ancalita authored Nov 23, 2022
1 parent 1ba6832 commit 12976aa
Show file tree
Hide file tree
Showing 7 changed files with 784 additions and 441 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
- name: Checkout git repository 🕝
uses: actions/checkout@v2

- name: Set up Python 3.7 🐍
uses: actions/setup-python@v1
- name: Set up Python 3.10 🐍
uses: actions/setup-python@b55428b1882923874294fa556849718a1d7f2ca5
with:
python-version: 3.7
python-version: '3.10'

- name: Set up Node 12.x 🦙
uses: actions/setup-node@v2
Expand Down Expand Up @@ -88,14 +88,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9, '3.10']

steps:
- name: Checkout git repository 🕝
uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }} 🐍
uses: actions/setup-python@v1
uses: actions/setup-python@b55428b1882923874294fa556849718a1d7f2ca5
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
run: make test

- name: Send Coverage Report 📊
if: matrix.python-version == 3.7
if: matrix.python-version == '3.10'
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_SERVICE_NAME: github
Expand Down Expand Up @@ -285,10 +285,10 @@ jobs:
- name: Checkout git repository 🕝
uses: actions/checkout@v2

- name: Set up Python 3.7 🐍
uses: actions/setup-python@v1
- name: Set up Python 3.10 🐍
uses: actions/setup-python@b55428b1882923874294fa556849718a1d7f2ca5
with:
python-version: 3.7
python-version: '3.10'

- name: Read Poetry Version 🔢
run: |
Expand Down
323 changes: 0 additions & 323 deletions .github/workflows/documentation.yml

This file was deleted.

1 change: 1 addition & 0 deletions changelog/888.improvement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add support for Python 3.10 version.
Loading

0 comments on commit 12976aa

Please sign in to comment.