changeset b6fdec188a9c in modules/stock_package_shipping_dpd:default
details:
https://hg.tryton.org/modules/stock_package_shipping_dpd?cmd=changeset;node=b6fdec188a9c
description:
Add support for python3.8
issue8866
review274421004
diffstat:
.drone.yml | 9 +++++++--
setup.py | 1 +
tox.ini | 4 ++--
3 files changed, 10 insertions(+), 4 deletions(-)
diffs (51 lines):
diff -r 72106dd841fc -r b6fdec188a9c .drone.yml
--- a/.drone.yml Sun Mar 01 16:12:40 2020 +0100
+++ b/.drone.yml Thu Mar 19 19:15:06 2020 +0100
@@ -12,9 +12,8 @@
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 @@
- 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 -r 72106dd841fc -r b6fdec188a9c setup.py
--- a/setup.py Sun Mar 01 16:12:40 2020 +0100
+++ b/setup.py Thu Mar 19 19:15:06 2020 +0100
@@ -121,6 +121,7 @@
'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 -r 72106dd841fc -r b6fdec188a9c tox.ini
--- a/tox.ini Sun Mar 01 16:12:40 2020 +0100
+++ b/tox.ini Thu Mar 19 19:15:06 2020 +0100
@@ -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 =