Added support for Python 3.9 (#144)
Signed-off-by: Graham Campbell <hello@gjcampbell.co.uk>
This commit is contained in:
parent
a5fc827513
commit
705e8b4100
|
@ -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
|
||||
|
|
|
@ -7,4 +7,4 @@ repos:
|
|||
rev: 19.10b0
|
||||
hooks:
|
||||
- id: black
|
||||
language_version: python3.8
|
||||
language_version: python3.9
|
||||
|
|
1
setup.py
1
setup.py
|
@ -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"],
|
||||
|
|
6
tox.ini
6
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue