From c844df14b3113b1a237dc9da1595eb00f8583539 Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Thu, 19 Mar 2020 19:15:06 +0100 Subject: [PATCH] Add support for python3.8 issue8866 review274421004 --- .drone.yml | 9 +++++++-- setup.py | 1 + tox.ini | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index a56225e12a..5e28f0fc90 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,9 +12,8 @@ pipeline: environment: - CFLAGS=-O0 - DB_CACHE=/cache - - TOX_TESTENV_PASSENV=CFLAGS DB_CACHE DPD_USER_ID DPD_PASSWORD + - TOX_TESTENV_PASSENV=CFLAGS DB_CACHE - POSTGRESQL_URI=postgresql://postgres@postgresql:5432/ - secrets: [ dpd_user_id, dpd_password ] commands: - echo "[extensions]" >> /root/.hgrc - echo "hgext.share =" >> /root/.hgrc @@ -54,3 +53,9 @@ matrix: - IMAGE: python:3.7 TOXENV: py37 DATABASE: postgresql + - IMAGE: python:3.8 + TOXENV: py38 + DATABASE: sqlite + - IMAGE: python:3.8 + TOXENV: py38 + DATABASE: postgresql diff --git a/setup.py b/setup.py index 13584c3920..176296661f 100755 --- a/setup.py +++ b/setup.py @@ -121,6 +121,7 @@ setup(name=name, 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Office/Business', diff --git a/tox.ini b/tox.ini index 5bbf05ca69..4f5f71c996 100644 --- a/tox.ini +++ b/tox.ini @@ -1,10 +1,10 @@ [tox] -envlist = {py35,py36,py37}-{sqlite,postgresql},pypy3-{sqlite,postgresql} +envlist = {py35,py36,py37,py38}-{sqlite,postgresql},pypy3-{sqlite,postgresql} [testenv] commands = {envpython} setup.py test deps = - {py35,py36,py37}-postgresql: psycopg2 >= 2.5 + {py35,py36,py37,py38}-postgresql: psycopg2 >= 2.5 pypy3-postgresql: psycopg2cffi >= 2.5 {py35,py36}-sqlite: sqlitebck setenv =