changeset f69657c42f98 in cookiecutter:default
details: https://hg.tryton.org/cookiecutter?cmd=changeset;node=f69657c42f98
description:
Drop support of python 3.4
issue8203
diffstat:
{{ cookiecutter.module_name }}/.drone.yml | 5 -----
{{ cookiecutter.module_name }}/setup.py | 4 ++--
{{ cookiecutter.module_name }}/tox.ini | 6 +++---
3 files changed, 5 insertions(+), 10 deletions(-)
diffs (55 lines):
diff -r b0547a81a2ea -r f69657c42f98 {{ cookiecutter.module_name }}/.drone.yml
--- a/{{ cookiecutter.module_name }}/.drone.yml Sat Apr 06 17:39:37 2019 +0200
+++ b/{{ cookiecutter.module_name }}/.drone.yml Sun Apr 07 19:50:23 2019 +0200
@@ -25,11 +25,6 @@
matrix:
include:
- - IMAGE: python:3.4
- TOXENV: py34
- DATABASE: sqlite
- - IMAGE: python:3.4
- TOXENV: py34
DATABASE: postgresql
- IMAGE: python:3.5
TOXENV: py35
diff -r b0547a81a2ea -r f69657c42f98 {{ cookiecutter.module_name }}/setup.py
--- a/{{ cookiecutter.module_name }}/setup.py Sat Apr 06 17:39:37 2019 +0200
+++ b/{{ cookiecutter.module_name }}/setup.py Sun Apr 07 19:50:23 2019 +0200
@@ -123,7 +123,7 @@
'Natural Language :: Slovenian',
'Natural Language :: Spanish',
'Operating System :: OS Independent',
- 'Programming Language :: Python :: 3.4',
+ 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
@@ -132,7 +132,7 @@
'Topic :: Office/Business',
],
license='GPL-3',
- python_requires='>=3.4',
+ python_requires='>=3.5',
install_requires=requires,
dependency_links=dependency_links,
zip_safe=False,
diff -r b0547a81a2ea -r f69657c42f98 {{ cookiecutter.module_name }}/tox.ini
--- a/{{ cookiecutter.module_name }}/tox.ini Sat Apr 06 17:39:37 2019 +0200
+++ b/{{ cookiecutter.module_name }}/tox.ini Sun Apr 07 19:50:23 2019 +0200
@@ -1,12 +1,12 @@
[tox]
-envlist = {py34,py35,py36,py37}-{sqlite,postgresql},pypy3-{sqlite,postgresql}
+envlist = {py35,py36,py37}-{sqlite,postgresql},pypy3-{sqlite,postgresql}
[testenv]
commands = {envpython} setup.py test
deps =
- {py34,py35,py36,py37}-postgresql: psycopg2 >= 2.5
+ {py35,py36,py37}-postgresql: psycopg2 >= 2.5
pypy3-postgresql: psycopg2cffi >= 2.5
- {py34,py35,py36}-sqlite: sqlitebck
+ {py35,py36}-sqlite: sqlitebck
setenv =
sqlite: TRYTOND_DATABASE_URI={env:SQLITE_URI:sqlite://}
postgresql: TRYTOND_DATABASE_URI={env:POSTGRESQL_URI:postgresql://}