Add support for python3.8

issue8866
review274421004
This commit is contained in:
Sergi Almacellas Abellana committed 2020-03-19 19:15:06 +01:00
1 parent 6a11c2c50c
commit c844df14b3
3 files changed
+10 -4

No files matched your search

+7 -2
View File
@@ -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
+1
View File
@@ -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',
+2 -2
View File
@@ -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 =