From: Oleg Broytman Date: Fri, 8 Jan 2021 16:18:47 +0000 (+0300) Subject: Python 3.9 X-Git-Tag: 0.3.0~13 X-Git-Url: https://git.phdru.name/?p=sqlconvert.git;a=commitdiff_plain;h=e7c50c394ddd69ff1faa3c9502d10afaa0570ff7 Python 3.9 --- diff --git a/.travis.yml b/.travis.yml index 53ebf0a..65f5739 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,6 +30,8 @@ matrix: env: TOXENV=py37 - python: "3.8" env: TOXENV=py38 + - python: "3.9" + env: TOXENV=py39 - python: "2.7" env: TOXENV=py27-postgres - python: "3.4" @@ -42,6 +44,8 @@ matrix: env: TOXENV=py37-postgres - python: "3.8" env: TOXENV=py38-postgres + - python: "3.9" + env: TOXENV=py39-postgres - python: "2.7" env: TOXENV=py27-sqlite - python: "3.4" @@ -54,10 +58,12 @@ matrix: env: TOXENV=py37-sqlite - python: "3.8" env: TOXENV=py38-sqlite + - python: "3.9" + env: TOXENV=py39-sqlite - 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 ppu diff --git a/appveyor.yml b/appveyor.yml index 9aa0e1f..5c904d7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -28,6 +28,16 @@ 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-postgres-w32" PYTHON_VERSION: "2.7" PYTHON_ARCH: "32" @@ -43,6 +53,18 @@ environment: PYTHON_ARCH: "64" PYTHON_HOME: "C:\\Python38-x64" db: postgresql + - TOXENV: "py39-postgres-w32" + PYTHON_VERSION: "3.9" + PYTHON_ARCH: "32" + PYTHON_HOME: "C:\\Python39" + db: postgresql + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 + - TOXENV: "py39-postgres-w32" + PYTHON_VERSION: "3.9" + PYTHON_ARCH: "64" + PYTHON_HOME: "C:\\Python39-x64" + db: postgresql + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 - TOXENV: "py27-sqlite-w32" PYTHON_VERSION: "2.7" PYTHON_ARCH: "32" @@ -55,14 +77,24 @@ environment: PYTHON_VERSION: "3.8" PYTHON_ARCH: "64" PYTHON_HOME: "C:\\Python38-x64" + - TOXENV: "py39-sqlite-w32" + PYTHON_VERSION: "3.9" + PYTHON_ARCH: "32" + PYTHON_HOME: "C:\\Python39" + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 + - TOXENV: "py39-sqlite-w32" + 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" install: # Ensure we use the right python version diff --git a/docs/news.rst b/docs/news.rst index 6196fee..736d41a 100644 --- a/docs/news.rst +++ b/docs/news.rst @@ -1,6 +1,11 @@ News ==== +Version 0.3.0 (2021-??-??) +-------------------------- + +* Python 3.8, Python 3.9. + Version 0.2.3 (2019-02-01) -------------------------- diff --git a/tox.ini b/tox.ini index 6c70363..95fa7c7 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 2.0 -envlist = py27,py3{4,5,6,7,8}{,-sqlite},py{27,38}-flake8 +envlist = py27,py3{4,5,6,7,8,9}{,-sqlite},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} commands = {envpython} --version {envpython} -c "import struct; print(struct.calcsize('P') * 8)" @@ -57,6 +58,10 @@ commands = {[general]commands} platform = linux|win32 commands = {[general]commands} +[testenv:py39] +platform = linux|win32 +commands = {[general]commands} + # PostgreSQL test environments [postgresql] commands = @@ -84,6 +89,9 @@ commands = {[postgresql]commands} [testenv:py38-postgres] commands = {[postgresql]commands} +[testenv:py39-postgres] +commands = {[postgresql]commands} + [postgres-w32] platform = win32 commands = @@ -120,6 +128,11 @@ platform = win32 commands = {[postgres-w32]commands} +[testenv:py39-postgres-w32] +platform = win32 +commands = + {[postgres-w32]commands} + # SQLite test environments [sqlite] commands = @@ -146,6 +159,9 @@ commands = {[sqlite]commands} [testenv:py38-sqlite] commands = {[sqlite]commands} +[testenv:py39-sqlite] +commands = {[sqlite]commands} + [sqlite-w32] platform = win32 commands = @@ -181,6 +197,11 @@ platform = win32 commands = {[sqlite-w32]commands} +[testenv:py39-sqlite-w32] +platform = win32 +commands = + {[sqlite-w32]commands} + # flake8 [testenv:py27-flake8] platform = linux|win32 @@ -190,7 +211,7 @@ commands = {[testenv]commands} flake8 -[testenv:py38-flake8] +[testenv:py39-flake8] platform = linux|win32 deps = flake8