Add support for Python 3.10

and remove support for Python 3.6.

issue11048
review364451002
This commit is contained in:
Cédric Krier
2021-12-18 16:29:38 +01:00
parent 8c2f90f656
commit 59d6a1badb
4 changed files with 13 additions and 11 deletions
+6 -6
View File
@@ -42,12 +42,6 @@ services:
matrix:
include:
- IMAGE: python:3.6
TOXENV: py36
DATABASE: sqlite
- IMAGE: python:3.6
TOXENV: py36
DATABASE: postgresql
- IMAGE: python:3.7
TOXENV: py37
DATABASE: sqlite
@@ -66,3 +60,9 @@ matrix:
- IMAGE: python:3.9
TOXENV: py39
DATABASE: postgresql
- IMAGE: python:3.10
TOXENV: py310
DATABASE: sqlite
- IMAGE: python:3.10
TOXENV: py310
DATABASE: postgresql
+3
View File
@@ -1,3 +1,6 @@
* Add support for Python 3.10
* Remove support for Python 3.6
Version 6.2.0 - 2021-11-01
* Bug fixes (see mercurial logs for details)
+2 -2
View File
@@ -126,16 +126,16 @@ setup(name=name,
'Natural Language :: Turkish',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Office/Business',
],
license='GPL-3',
python_requires='>=3.6',
python_requires='>=3.7',
install_requires=requires,
dependency_links=dependency_links,
zip_safe=False,
+2 -3
View File
@@ -1,5 +1,5 @@
[tox]
envlist = {py36,py37,py38,py39}-{sqlite,postgresql},pypy3-{sqlite,postgresql}
envlist = {py37,py38,py39,py310}-{sqlite,postgresql},pypy3-{sqlite,postgresql}
[testenv]
commands =
@@ -7,9 +7,8 @@ commands =
coverage report --include=.*/account_dunning_email/* --omit=*/tests/*
deps =
coverage
{py36,py37,py38,py39}-postgresql: psycopg2 >= 2.5
{py37,py38,py39,py310}-postgresql: psycopg2 >= 2.5
pypy3-postgresql: psycopg2cffi >= 2.5
py36-sqlite: sqlitebck
setenv =
sqlite: TRYTOND_DATABASE_URI={env:SQLITE_URI:sqlite://}
postgresql: TRYTOND_DATABASE_URI={env:POSTGRESQL_URI:postgresql://}