changeset 45a85e5a9c7f in trytond:default
details: https://hg.tryton.org/trytond?cmd=changeset;node=45a85e5a9c7f
description:
Add support for Python 3.9
issue9685
diffstat:
.drone.yml | 6 ++++++
CHANGELOG | 1 +
setup.py | 1 +
tox.ini | 4 ++--
4 files changed, 10 insertions(+), 2 deletions(-)
diffs (48 lines):
diff -r 982a131026e7 -r 45a85e5a9c7f .drone.yml
--- a/.drone.yml Fri Dec 18 00:09:03 2020 +0100
+++ b/.drone.yml Sat Dec 19 17:08:48 2020 +0100
@@ -60,3 +60,9 @@
- IMAGE: python:3.8
TOXENV: py38
DATABASE: postgresql
+ - IMAGE: python:3.9
+ TOXENV: py39
+ DATABASE: sqlite
+ - IMAGE: python:3.9
+ TOXENV: py39
+ DATABASE: postgresql
diff -r 982a131026e7 -r 45a85e5a9c7f CHANGELOG
--- a/CHANGELOG Fri Dec 18 00:09:03 2020 +0100
+++ b/CHANGELOG Sat Dec 19 17:08:48 2020 +0100
@@ -1,3 +1,4 @@
+* Add support for Python 3.9
* Skip access check on ModelStorage instances
* Eager load Function field with same multiple getter
* Support other methods for button_change decorator
diff -r 982a131026e7 -r 45a85e5a9c7f setup.py
--- a/setup.py Fri Dec 18 00:09:03 2020 +0100
+++ b/setup.py Sat Dec 19 17:08:48 2020 +0100
@@ -144,6 +144,7 @@
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
+ 'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries :: Application Frameworks',
diff -r 982a131026e7 -r 45a85e5a9c7f tox.ini
--- a/tox.ini Fri Dec 18 00:09:03 2020 +0100
+++ b/tox.ini Sat Dec 19 17:08:48 2020 +0100
@@ -1,10 +1,10 @@
[tox]
-envlist = {py36,py37,py38}-{sqlite,postgresql},pypy3-{sqlite,postgresql}
+envlist = {py36,py37,py38,py39}-{sqlite,postgresql},pypy3-{sqlite,postgresql}
[testenv]
commands = {envpython} setup.py test
deps =
- {py36,py37,py38}-postgresql: psycopg2 >= 2.5
+ {py36,py37,py38,py39}-postgresql: psycopg2 >= 2.5
pypy3-postgresql: psycopg2cffi >= 2.5
py36-sqlite: sqlitebck
setenv =