From f8f2076cd84bc17ddcfe3543aafd5edd2f477dfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 19 Dec 2020 17:08:47 +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 361a7d22a3..9a716a214b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -61,3 +61,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 a1bd140cf4..bd50f83c30 100755 --- a/setup.py +++ b/setup.py @@ -129,6 +129,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 d38c39ef76..b57995c8c1 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 =