Merge pull request #1961 from huge-success/py39
Update testing for Python 3.9
This commit is contained in:
commit
fc4b7df088
|
@ -17,6 +17,12 @@ environment:
|
||||||
PYTHON_VERSION: "3.8.x"
|
PYTHON_VERSION: "3.8.x"
|
||||||
PYTHON_ARCH: "64"
|
PYTHON_ARCH: "64"
|
||||||
|
|
||||||
|
- TOXENV: py39-no-ext
|
||||||
|
PYTHON: "C:\\Python39-x64\\python"
|
||||||
|
PYTHONPATH: "C:\\Python39-x64"
|
||||||
|
PYTHON_VERSION: "3.9.x"
|
||||||
|
PYTHON_ARCH: "64"
|
||||||
|
|
||||||
init: SET "PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
|
init: SET "PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
|
27
.travis.yml
27
.travis.yml
|
@ -31,6 +31,16 @@ matrix:
|
||||||
dist: xenial
|
dist: xenial
|
||||||
sudo: true
|
sudo: true
|
||||||
name: "Python 3.8 without Extensions"
|
name: "Python 3.8 without Extensions"
|
||||||
|
- env: TOX_ENV=py39
|
||||||
|
python: 3.9
|
||||||
|
dist: bionic
|
||||||
|
sudo: true
|
||||||
|
name: "Python 3.9 with Extensions"
|
||||||
|
- env: TOX_ENV=py39-no-ext
|
||||||
|
python: 3.9
|
||||||
|
dist: bionic
|
||||||
|
sudo: true
|
||||||
|
name: "Python 3.9 without Extensions"
|
||||||
- env: TOX_ENV=type-checking
|
- env: TOX_ENV=type-checking
|
||||||
python: 3.6
|
python: 3.6
|
||||||
name: "Python 3.6 Type checks"
|
name: "Python 3.6 Type checks"
|
||||||
|
@ -40,6 +50,10 @@ matrix:
|
||||||
- env: TOX_ENV=type-checking
|
- env: TOX_ENV=type-checking
|
||||||
python: 3.8
|
python: 3.8
|
||||||
name: "Python 3.8 Type checks"
|
name: "Python 3.8 Type checks"
|
||||||
|
- env: TOX_ENV=type-checking
|
||||||
|
python: 3.9
|
||||||
|
dist: bionic
|
||||||
|
name: "Python 3.9 Type checks"
|
||||||
- env: TOX_ENV=lint
|
- env: TOX_ENV=lint
|
||||||
python: 3.6
|
python: 3.6
|
||||||
name: "Python 3.6 Linter checks"
|
name: "Python 3.6 Linter checks"
|
||||||
|
@ -61,23 +75,28 @@ matrix:
|
||||||
dist: xenial
|
dist: xenial
|
||||||
sudo: true
|
sudo: true
|
||||||
name: "Python 3.8 Bandit security scan"
|
name: "Python 3.8 Bandit security scan"
|
||||||
|
- env: TOX_ENV=security
|
||||||
|
python: 3.9
|
||||||
|
dist: bionic
|
||||||
|
sudo: true
|
||||||
|
name: "Python 3.9 Bandit security scan"
|
||||||
- env: TOX_ENV=docs
|
- env: TOX_ENV=docs
|
||||||
python: 3.7
|
python: 3.7
|
||||||
dist: xenial
|
dist: xenial
|
||||||
sudo: true
|
sudo: true
|
||||||
name: "Python 3.7 Documentation tests"
|
name: "Python 3.7 Documentation tests"
|
||||||
- env: TOX_ENV=pyNightly
|
- env: TOX_ENV=pyNightly
|
||||||
python: 'nightly'
|
python: "nightly"
|
||||||
name: "Python nightly with Extensions"
|
name: "Python nightly with Extensions"
|
||||||
- env: TOX_ENV=pyNightly-no-ext
|
- env: TOX_ENV=pyNightly-no-ext
|
||||||
python: 'nightly'
|
python: "nightly"
|
||||||
name: "Python nightly without Extensions"
|
name: "Python nightly without Extensions"
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- env: TOX_ENV=pyNightly
|
- env: TOX_ENV=pyNightly
|
||||||
python: 'nightly'
|
python: "nightly"
|
||||||
name: "Python nightly with Extensions"
|
name: "Python nightly with Extensions"
|
||||||
- env: TOX_ENV=pyNightly-no-ext
|
- env: TOX_ENV=pyNightly-no-ext
|
||||||
python: 'nightly'
|
python: "nightly"
|
||||||
name: "Python nightly without Extensions"
|
name: "Python nightly without Extensions"
|
||||||
install:
|
install:
|
||||||
- pip install -U tox
|
- pip install -U tox
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -67,6 +67,7 @@ setup_kwargs = {
|
||||||
"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",
|
||||||
],
|
],
|
||||||
"entry_points": {"console_scripts": ["sanic = sanic.__main__:main"]},
|
"entry_points": {"console_scripts": ["sanic = sanic.__main__:main"]},
|
||||||
}
|
}
|
||||||
|
|
6
tox.ini
6
tox.ini
|
@ -1,11 +1,11 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py36, py37, py38, pyNightly, {py36,py37,py38,pyNightly}-no-ext, lint, check, security, docs
|
envlist = py36, py37, py38, py39, pyNightly, {py36,py37,py38,py39,pyNightly}-no-ext, lint, check, security, docs
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
setenv =
|
setenv =
|
||||||
{py36,py37,py38,pyNightly}-no-ext: SANIC_NO_UJSON=1
|
{py36,py37,py38,py39,pyNightly}-no-ext: SANIC_NO_UJSON=1
|
||||||
{py36,py37,py38,pyNightly}-no-ext: SANIC_NO_UVLOOP=1
|
{py36,py37,py38,py39,pyNightly}-no-ext: SANIC_NO_UVLOOP=1
|
||||||
deps =
|
deps =
|
||||||
coverage
|
coverage
|
||||||
pytest==5.2.1
|
pytest==5.2.1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user