Skip to content

Commit d88b797

Browse files
committed
remove support for python 3.6, add support for 3.10
1 parent 3632fea commit d88b797

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ jobs:
66

77
test:
88
name: Test with Python ${{ matrix.python-version }}
9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-22.04
1010
strategy:
1111
matrix:
12-
python-version: [ 3.6, 3.7, 3.8, 3.9 ]
12+
python-version: [ 3.7, 3.8, 3.9, 3.10 ]
1313
steps:
1414
- name: Set up Python ${{ matrix.python-version }}
1515
uses: actions/setup-python@v2
@@ -30,12 +30,12 @@ jobs:
3030
name: Publish the package
3131
needs: test
3232
if: ${{ github.ref == 'refs/heads/master' }}
33-
runs-on: ubuntu-20.04
33+
runs-on: ubuntu-22.04
3434
steps:
3535
- name: Set up Python ${{ matrix.python-version }}
3636
uses: actions/setup-python@v2
3737
with:
38-
python-version: 3.9
38+
python-version: 3.10
3939
- name: Checkout code
4040
uses: actions/checkout@v2
4141
- name: Install poetry

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ build-backend = "poetry.core.masonry.api"
2929

3030
[tool.black]
3131
line-length = 120
32-
target-version = ['py36', 'py37', 'py38', 'py39']
32+
target-version = ['py37', 'py38', 'py39', 'py310']

0 commit comments

Comments
 (0)