From: Oleg Broytman Date: Wed, 6 Jan 2021 17:25:22 +0000 (+0300) Subject: Test,CI: Run tests with Python 3.9 X-Git-Tag: 0.8.0~7 X-Git-Url: https://git.phdru.name/?p=ppu.git;a=commitdiff_plain;h=383588e41c4606eeae10c54a5ff6edd4fd4d7915 Test,CI: Run tests with Python 3.9 --- diff --git a/.travis.yml b/.travis.yml index 649e518..08c12fa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,10 +23,12 @@ matrix: env: TOXENV=py37 - python: "3.8" env: TOXENV=py38 + - python: "3.9" + env: TOXENV=py39 - python: "2.7" env: TOXENV=py27-flake8 - - python: "3.8" - env: TOXENV=py38-flake8 + - python: "3.9" + env: TOXENV=py39-flake8 install: - travis_retry pip install --upgrade "pip<21" "setuptools<44" tox diff --git a/appveyor.yml b/appveyor.yml index 8dd50c3..6cc5ecf 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -38,14 +38,25 @@ environment: PYTHON_VERSION: "3.8" PYTHON_ARCH: "64" PYTHON_HOME: "C:\\Python38-x64" + - TOXENV: "py39" + PYTHON_VERSION: "3.9" + PYTHON_ARCH: "32" + PYTHON_HOME: "C:\\Python39" + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 + - TOXENV: "py39" + PYTHON_VERSION: "3.9" + PYTHON_ARCH: "64" + PYTHON_HOME: "C:\\Python39-x64" + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 - TOXENV: "py27-flake8" PYTHON_VERSION: "2.7" PYTHON_ARCH: "32" PYTHON_HOME: "C:\\Python27" - - TOXENV: "py38-flake8" - PYTHON_VERSION: "3.8" + - TOXENV: "py39-flake8" + PYTHON_VERSION: "3.9" PYTHON_ARCH: "64" - PYTHON_HOME: "C:\\Python38-x64" + PYTHON_HOME: "C:\\Python39-x64" + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 install: # Ensure we use the right python version diff --git a/docs/news.rst b/docs/news.rst index 35a5d58..b1090f0 100644 --- a/docs/news.rst +++ b/docs/news.rst @@ -1,6 +1,11 @@ News ==== +Version 0.8.0 (2021-??-??) +-------------------------- + +* Python 3.8, Python 3.9. + Version 0.7.0 (2019-02-01) -------------------------- diff --git a/setup.py b/setup.py index 050cb6e..64887ff 100755 --- a/setup.py +++ b/setup.py @@ -52,6 +52,7 @@ setup( 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', ], packages=['ppu'], scripts=[ diff --git a/tox.ini b/tox.ini index a0455a9..3f722f7 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 1.8 -envlist = py27,py3{4,5,6,7,8},pypy,py{27,38}-flake8 +envlist = py27,py3{4,5,6,7,8,9},pypy,py{27,39}-flake8 # Base test environment settings [testenv] @@ -11,6 +11,7 @@ basepython = py36: {env:TOXPYTHON:python3.6} py37: {env:TOXPYTHON:python3.7} py38: {env:TOXPYTHON:python3.8} + py39: {env:TOXPYTHON:python3.9} pypy: {env:TOXPYTHON:pypy} commands = {envpython} --version @@ -52,6 +53,11 @@ commands = {[testenv]commands} {[general]commands} +[testenv:py39] +commands = + {[testenv]commands} + {[general]commands} + [testenv:pypy] commands = {[testenv]commands} @@ -64,7 +70,7 @@ commands = {[testenv]commands} flake8 -[testenv:py38-flake8] +[testenv:py39-flake8] deps = flake8 commands =