changeset 2c96bb8c48e9 in cookiecutter:default
details: https://hg.tryton.org/cookiecutter?cmd=changeset;node=2c96bb8c48e9
description:
Remove support for Python 3.5
issue9733
diffstat:
{{ cookiecutter.module_name }}/.drone.yml | 6 ------
{{ cookiecutter.module_name }}/setup.py | 3 +--
{{ cookiecutter.module_name }}/tox.ini | 6 +++---
3 files changed, 4 insertions(+), 11 deletions(-)
diffs (55 lines):
diff -r e35fcab47ac0 -r 2c96bb8c48e9 {{ cookiecutter.module_name }}/.drone.yml
--- a/{{ cookiecutter.module_name }}/.drone.yml Fri Oct 16 19:19:23 2020 +0200
+++ b/{{ cookiecutter.module_name }}/.drone.yml Sat Oct 24 13:45:15 2020 +0200
@@ -36,12 +36,6 @@
matrix:
include:
- - IMAGE: python:3.5
- TOXENV: py35
- DATABASE: sqlite
- - IMAGE: python:3.5
- TOXENV: py35
- DATABASE: postgresql
- IMAGE: python:3.6
TOXENV: py36
DATABASE: sqlite
diff -r e35fcab47ac0 -r 2c96bb8c48e9 {{ cookiecutter.module_name }}/setup.py
--- a/{{ cookiecutter.module_name }}/setup.py Fri Oct 16 19:19:23 2020 +0200
+++ b/{{ cookiecutter.module_name }}/setup.py Sat Oct 24 13:45:15 2020 +0200
@@ -138,7 +138,6 @@
'Natural Language :: Turkish',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
@@ -147,7 +146,7 @@
'Topic :: Office/Business',
],
license='GPL-3',
- python_requires='>=3.5',
+ python_requires='>=3.6',
install_requires=requires,
dependency_links=dependency_links,
zip_safe=False,
diff -r e35fcab47ac0 -r 2c96bb8c48e9 {{ cookiecutter.module_name }}/tox.ini
--- a/{{ cookiecutter.module_name }}/tox.ini Fri Oct 16 19:19:23 2020 +0200
+++ b/{{ cookiecutter.module_name }}/tox.ini Sat Oct 24 13:45:15 2020 +0200
@@ -1,12 +1,12 @@
[tox]
-envlist = {py35,py36,py37,py38}-{sqlite,postgresql},pypy3-{sqlite,postgresql}
+envlist = {py36,py37,py38}-{sqlite,postgresql},pypy3-{sqlite,postgresql}
[testenv]
commands = {envpython} setup.py test
deps =
- {py35,py36,py37,py38}-postgresql: psycopg2 >= 2.5
+ {py36,py37,py38}-postgresql: psycopg2 >= 2.5
pypy3-postgresql: psycopg2cffi >= 2.5
- {py35,py36}-sqlite: sqlitebck
+ py36-sqlite: sqlitebck
setenv =
sqlite: TRYTOND_DATABASE_URI={env:SQLITE_URI:sqlite://}
postgresql: TRYTOND_DATABASE_URI={env:POSTGRESQL_URI:postgresql://}