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
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: '3.9'
|
||||||
- name: Install tox
|
- name: Install tox
|
||||||
run: python -m pip install tox
|
run: python -m pip install tox
|
||||||
- name: Run linting
|
- name: Run linting
|
||||||
|
@ -21,7 +21,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python: [3.6, 3.7, 3.8]
|
python: ['3.6', '3.7', '3.8', '3.9']
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
|
|
|
@ -7,4 +7,4 @@ repos:
|
||||||
rev: 19.10b0
|
rev: 19.10b0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- 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.6",
|
||||||
"Programming Language :: Python :: 3.7",
|
"Programming Language :: Python :: 3.7",
|
||||||
"Programming Language :: Python :: 3.8",
|
"Programming Language :: Python :: 3.8",
|
||||||
|
"Programming Language :: Python :: 3.9",
|
||||||
],
|
],
|
||||||
packages=find_packages(exclude=["cloudevents.tests"]),
|
packages=find_packages(exclude=["cloudevents.tests"]),
|
||||||
version=pypi_config["version_target"],
|
version=pypi_config["version_target"],
|
||||||
|
|
6
tox.ini
6
tox.ini
|
@ -1,5 +1,5 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py{36,37,38},lint
|
envlist = py{36,37,38,39},lint
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
@ -13,7 +13,7 @@ setenv =
|
||||||
commands = pytest {env:PYTESTARGS} {posargs}
|
commands = pytest {env:PYTESTARGS} {posargs}
|
||||||
|
|
||||||
[testenv:reformat]
|
[testenv:reformat]
|
||||||
basepython=python3.8
|
basepython=python3.9
|
||||||
deps =
|
deps =
|
||||||
black
|
black
|
||||||
isort
|
isort
|
||||||
|
@ -22,7 +22,7 @@ commands =
|
||||||
isort cloudevents samples
|
isort cloudevents samples
|
||||||
|
|
||||||
[testenv:lint]
|
[testenv:lint]
|
||||||
basepython = python3.8
|
basepython = python3.9
|
||||||
deps =
|
deps =
|
||||||
black
|
black
|
||||||
isort
|
isort
|
||||||
|
|
Loading…
Reference in New Issue