changeset 16df1c155f77 in modules/account_payment_stripe:default
details:
https://hg.tryton.org/modules/account_payment_stripe?cmd=changeset;node=16df1c155f77
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 29eb5ed773e7 -r 16df1c155f77 .drone.yml
--- a/.drone.yml Tue Mar 17 23:19:20 2020 +0100
+++ b/.drone.yml Thu Mar 19 19:00:47 2020 +0100
@@ -12,9 +12,8 @@
environment:
- CFLAGS=-O0
- DB_CACHE=/cache
- - TOX_TESTENV_PASSENV=CFLAGS DB_CACHE STRIPE_SECRET_KEY
STRIPE_PUBLISHABLE_KEY
+ - TOX_TESTENV_PASSENV=CFLAGS DB_CACHE
- POSTGRESQL_URI=postgresql://postgres@postgresql:5432/
- secrets: [ stripe_secret_key, stripe_publishable_key ]
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 29eb5ed773e7 -r 16df1c155f77 setup.py
--- a/setup.py Tue Mar 17 23:19:20 2020 +0100
+++ b/setup.py Thu Mar 19 19:00:47 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 29eb5ed773e7 -r 16df1c155f77 tox.ini
--- a/tox.ini Tue Mar 17 23:19:20 2020 +0100
+++ b/tox.ini Thu Mar 19 19:00:47 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 =