Added support for Python 3.9 (#144)

Signed-off-by: Graham Campbell <hello@gjcampbell.co.uk>
This commit is contained in:
Graham Campbell 2021-09-02 23:58:52 +01:00 committed by GitHub
parent a5fc827513
commit 705e8b4100
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 6 deletions

View File

@ -11,7 +11,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: '3.9'
- name: Install tox
run: python -m pip install tox
- name: Run linting
@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.6, 3.7, 3.8]
python: ['3.6', '3.7', '3.8', '3.9']
steps:
- uses: actions/checkout@v2
- name: Setup Python

View File

@ -7,4 +7,4 @@ repos:
rev: 19.10b0
hooks:
- id: black
language_version: python3.8
language_version: python3.9

View File

@ -38,6 +38,7 @@ setup(
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
packages=find_packages(exclude=["cloudevents.tests"]),
version=pypi_config["version_target"],

View File

@ -1,5 +1,5 @@
[tox]
envlist = py{36,37,38},lint
envlist = py{36,37,38,39},lint
skipsdist = True
[testenv]
@ -13,7 +13,7 @@ setenv =
commands = pytest {env:PYTESTARGS} {posargs}
[testenv:reformat]
basepython=python3.8
basepython=python3.9
deps =
black
isort
@ -22,7 +22,7 @@ commands =
isort cloudevents samples
[testenv:lint]
basepython = python3.8
basepython = python3.9
deps =
black
isort