changeset a8b6af6f5797 in cookiecutter:default
details: https://hg.tryton.org/cookiecutter?cmd=changeset;node=a8b6af6f5797
description:
Add support for python3.8
issue8866
diffstat:
{{ cookiecutter.module_name }}/.drone.yml | 6 ++++++
{{ cookiecutter.module_name }}/setup.py | 1 +
{{ cookiecutter.module_name }}/tox.ini | 4 ++--
3 files changed, 9 insertions(+), 2 deletions(-)
diffs (40 lines):
diff -r 2f2e674afcea -r a8b6af6f5797 {{ cookiecutter.module_name }}/.drone.yml
--- a/{{ cookiecutter.module_name }}/.drone.yml Sun Mar 01 21:04:51 2020 +0100
+++ b/{{ cookiecutter.module_name }}/.drone.yml Fri Mar 20 18:19:35 2020 +0100
@@ -53,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 2f2e674afcea -r a8b6af6f5797 {{ cookiecutter.module_name }}/setup.py
--- a/{{ cookiecutter.module_name }}/setup.py Sun Mar 01 21:04:51 2020 +0100
+++ b/{{ cookiecutter.module_name }}/setup.py Fri Mar 20 18:19:35 2020 +0100
@@ -138,6 +138,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 2f2e674afcea -r a8b6af6f5797 {{ cookiecutter.module_name }}/tox.ini
--- a/{{ cookiecutter.module_name }}/tox.ini Sun Mar 01 21:04:51 2020 +0100
+++ b/{{ cookiecutter.module_name }}/tox.ini Fri Mar 20 18:19:35 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 =