changeset 259cbe272e00 in proteus:default
details: https://hg.tryton.org/proteus?cmd=changeset&node=259cbe272e00
description:
Add support for Python 3.10
and remove support for Python 3.6.
issue11048
review364451002
diffstat:
.drone.yml | 4 ++--
CHANGELOG | 3 +++
setup.py | 4 ++--
tox.ini | 2 +-
4 files changed, 8 insertions(+), 5 deletions(-)
diffs (60 lines):
diff -r 650e8ecbe5b4 -r 259cbe272e00 .drone.yml
--- a/.drone.yml Mon Dec 13 23:10:13 2021 +0100
+++ b/.drone.yml Sat Dec 18 16:34:37 2021 +0100
@@ -30,11 +30,11 @@
matrix:
include:
- - IMAGE: python:3.6
- TOXENV: py36
- IMAGE: python:3.7
TOXENV: py37
- IMAGE: python:3.8
TOXENV: py38
- IMAGE: python:3.9
TOXENV: py39
+ - IMAGE: python:3.10
+ TOXENV: py310
diff -r 650e8ecbe5b4 -r 259cbe272e00 CHANGELOG
--- a/CHANGELOG Mon Dec 13 23:10:13 2021 +0100
+++ b/CHANGELOG Sat Dec 18 16:34:37 2021 +0100
@@ -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)
* Support session with XML-RPC
diff -r 650e8ecbe5b4 -r 259cbe272e00 setup.py
--- a/setup.py Mon Dec 13 23:10:13 2021 +0100
+++ b/setup.py Sat Dec 18 16:34:37 2021 +0100
@@ -87,17 +87,17 @@
'GNU Library or Lesser General Public License (LGPL)',
'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',
],
platforms='any',
license='LGPL-3',
- python_requires='>=3.6',
+ python_requires='>=3.7',
install_requires=[
"python-dateutil",
],
diff -r 650e8ecbe5b4 -r 259cbe272e00 tox.ini
--- a/tox.ini Mon Dec 13 23:10:13 2021 +0100
+++ b/tox.ini Sat Dec 18 16:34:37 2021 +0100
@@ -1,5 +1,5 @@
[tox]
-envlist = py36,py37,py38,py39,pypy3
+envlist = py37,py38,py39,py310,pypy3
[testenv]
commands =