changeset 7f211c652411 in modules/account_invoice_line_standalone:default
details:
https://hg.tryton.org/modules/account_invoice_line_standalone?cmd=changeset&node=7f211c652411
description:
Add support for Python 3.10
and remove support for Python 3.6.
issue11048
review364451002
diffstat:
.drone.yml | 12 ++++++------
CHANGELOG | 3 +++
setup.py | 4 ++--
tox.ini | 5 ++---
4 files changed, 13 insertions(+), 11 deletions(-)
diffs (79 lines):
diff -r ccfb1a7da0af -r 7f211c652411 .drone.yml
--- a/.drone.yml Mon Dec 13 23:10:08 2021 +0100
+++ b/.drone.yml Sat Dec 18 16:29:39 2021 +0100
@@ -42,12 +42,6 @@
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 @@
- IMAGE: python:3.9
TOXENV: py39
DATABASE: postgresql
+ - IMAGE: python:3.10
+ TOXENV: py310
+ DATABASE: sqlite
+ - IMAGE: python:3.10
+ TOXENV: py310
+ DATABASE: postgresql
diff -r ccfb1a7da0af -r 7f211c652411 CHANGELOG
--- a/CHANGELOG Mon Dec 13 23:10:08 2021 +0100
+++ b/CHANGELOG Sat Dec 18 16:29:39 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)
diff -r ccfb1a7da0af -r 7f211c652411 setup.py
--- a/setup.py Mon Dec 13 23:10:08 2021 +0100
+++ b/setup.py Sat Dec 18 16:29:39 2021 +0100
@@ -127,16 +127,16 @@
'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,
diff -r ccfb1a7da0af -r 7f211c652411 tox.ini
--- a/tox.ini Mon Dec 13 23:10:08 2021 +0100
+++ b/tox.ini Sat Dec 18 16:29:39 2021 +0100
@@ -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 @@
coverage report --include=.*/account_invoice_line_standalone/*
--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://}