Skip to content

Commit 705e8b4

Browse files
Added support for Python 3.9 (#144)
Signed-off-by: Graham Campbell <[email protected]>
1 parent a5fc827 commit 705e8b4

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- name: Setup Python
1212
uses: actions/setup-python@v1
1313
with:
14-
python-version: 3.8
14+
python-version: '3.9'
1515
- name: Install tox
1616
run: python -m pip install tox
1717
- name: Run linting
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
strategy:
2323
matrix:
24-
python: [3.6, 3.7, 3.8]
24+
python: ['3.6', '3.7', '3.8', '3.9']
2525
steps:
2626
- uses: actions/checkout@v2
2727
- name: Setup Python

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ repos:
77
rev: 19.10b0
88
hooks:
99
- id: black
10-
language_version: python3.8
10+
language_version: python3.9

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"Programming Language :: Python :: 3.6",
3939
"Programming Language :: Python :: 3.7",
4040
"Programming Language :: Python :: 3.8",
41+
"Programming Language :: Python :: 3.9",
4142
],
4243
packages=find_packages(exclude=["cloudevents.tests"]),
4344
version=pypi_config["version_target"],

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{36,37,38},lint
2+
envlist = py{36,37,38,39},lint
33
skipsdist = True
44

55
[testenv]
@@ -13,7 +13,7 @@ setenv =
1313
commands = pytest {env:PYTESTARGS} {posargs}
1414

1515
[testenv:reformat]
16-
basepython=python3.8
16+
basepython=python3.9
1717
deps =
1818
black
1919
isort
@@ -22,7 +22,7 @@ commands =
2222
isort cloudevents samples
2323

2424
[testenv:lint]
25-
basepython = python3.8
25+
basepython = python3.9
2626
deps =
2727
black
2828
isort

0 commit comments

Comments
 (0)