]> git.phdru.name Git - ppu.git/commitdiff
Test,CI: Run tests with Python 3.9
authorOleg Broytman <phd@phdru.name>
Wed, 6 Jan 2021 17:25:22 +0000 (20:25 +0300)
committerOleg Broytman <phd@phdru.name>
Fri, 8 Jan 2021 14:03:25 +0000 (17:03 +0300)
.travis.yml
appveyor.yml
docs/news.rst
setup.py
tox.ini

index 649e518a19cfe28d2b34610993e79e53ba8528f3..08c12fa7274aa0fc8465cbb66122e5db7ce5f898 100644 (file)
@@ -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
index 8dd50c3f8f5a2a8fcf656864583bfaaa3828d00b..6cc5ecf15de2c5a0f72c4284ac4e3496f11eca8e 100644 (file)
@@ -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
index 35a5d58dcf3b98b47050a74183f3bd875b416a8f..b1090f00c5279b76c5c04392764749a7c086dcad 100644 (file)
@@ -1,6 +1,11 @@
 News
 ====
 
+Version 0.8.0 (2021-??-??)
+--------------------------
+
+* Python 3.8, Python 3.9.
+
 Version 0.7.0 (2019-02-01)
 --------------------------
 
index 050cb6e58c07d8dd4e514d81cf2230bb7d0f25e9..64887ff422d235df68060f5daa61e6e1a85fd4a7 100755 (executable)
--- 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 a0455a903f0be91098766285f8e9abfb372e77b7..3f722f78e871f767e9fead5887b65d80dde5cb86 100644 (file)
--- 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 =