From f61ca3267f4cbd5d87f4eb6e49da43ce6df43312 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 19 Dec 2020 17:08:44 +0100 Subject: [PATCH] Add support for Python 3.9 issue9685 --- .drone.yml | 6 ++++++ setup.py | 1 + tox.ini | 4 ++-- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index e5941117f0..2049d30a49 100644 --- a/.drone.yml +++ b/.drone.yml @@ -60,3 +60,9 @@ matrix: - IMAGE: python:3.8 TOXENV: py38 DATABASE: postgresql + - IMAGE: python:3.9 + TOXENV: py39 + DATABASE: sqlite + - IMAGE: python:3.9 + TOXENV: py39 + DATABASE: postgresql diff --git a/setup.py b/setup.py index 6c468f5757..21fd1d1a36 100755 --- a/setup.py +++ b/setup.py @@ -127,6 +127,7 @@ setup(name=name, 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Office/Business', diff --git a/tox.ini b/tox.ini index 9597acb907..197496c0cb 100644 --- a/tox.ini +++ b/tox.ini @@ -1,10 +1,10 @@ [tox] -envlist = {py36,py37,py38}-{sqlite,postgresql},pypy3-{sqlite,postgresql} +envlist = {py36,py37,py38,py39}-{sqlite,postgresql},pypy3-{sqlite,postgresql} [testenv] commands = {envpython} setup.py test deps = - {py36,py37,py38}-postgresql: psycopg2 >= 2.5 + {py36,py37,py38,py39}-postgresql: psycopg2 >= 2.5 pypy3-postgresql: psycopg2cffi >= 2.5 py36-sqlite: sqlitebck setenv =