changeset 9cb81c55e606 in modules/account_stock_landed_cost_weight:default
details: 
https://hg.tryton.org/modules/account_stock_landed_cost_weight?cmd=changeset&node=9cb81c55e606
description:
        Add support for Python 3.10

        and remove support for Python 3.6.

        issue11048
        review364451002
diffstat:

 .drone.yml |  12 ++++++------
 CHANGELOG  |   2 ++
 setup.py   |   4 ++--
 tox.ini    |   5 ++---
 4 files changed, 12 insertions(+), 11 deletions(-)

diffs (79 lines):

diff -r 98c3e3c4b7bf -r 9cb81c55e606 .drone.yml
--- a/.drone.yml        Thu Dec 16 22:31:08 2021 +0100
+++ b/.drone.yml        Sat Dec 18 16:31:06 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 98c3e3c4b7bf -r 9cb81c55e606 CHANGELOG
--- a/CHANGELOG Thu Dec 16 22:31:08 2021 +0100
+++ b/CHANGELOG Sat Dec 18 16:31:06 2021 +0100
@@ -1,3 +1,5 @@
+* Add support for Python 3.10
+* Remove support for Python 3.6
 * Store allocation factors
 
 Version 6.2.0 - 2021-11-01
diff -r 98c3e3c4b7bf -r 9cb81c55e606 setup.py
--- a/setup.py  Thu Dec 16 22:31:08 2021 +0100
+++ b/setup.py  Sat Dec 18 16:31:06 2021 +0100
@@ -129,17 +129,17 @@
         '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',
         'Topic :: Office/Business :: Financial :: Accounting',
         ],
     license='GPL-3',
-    python_requires='>=3.6',
+    python_requires='>=3.7',
     install_requires=requires,
     dependency_links=dependency_links,
     zip_safe=False,
diff -r 98c3e3c4b7bf -r 9cb81c55e606 tox.ini
--- a/tox.ini   Thu Dec 16 22:31:08 2021 +0100
+++ b/tox.ini   Sat Dec 18 16:31:06 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_stock_landed_cost_weight/* 
--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://}

Reply via email to