From 84ca518258a91dbb3367abf39fffee6eae938e32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Han=C3=A1k?= <47626173+phanak-sap@users.noreply.github.com> Date: Tue, 11 Jan 2022 13:29:47 +0100 Subject: [PATCH 1/5] Update .travis.yml Drop support for Python 3.6 and LXML versions, that work only in Python 3.6 9 (and not in any later version) Part of issue #190 --- .travis.yml | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/.travis.yml b/.travis.yml index f566b157..b69129d7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,12 @@ dist: bionic language: python python: - - "3.6" - "3.7" - "3.8" - "3.9" - "3.10.1" env: - - LXML_VERSION=3.7.3 - - LXML_VERSION=3.8.0 - - LXML_VERSION=4.0.0 - LXML_VERSION=4.1.1 - LXML_VERSION=4.2.6 - LXML_VERSION=4.3.5 @@ -21,34 +17,10 @@ env: jobs: exclude: - - python: 3.7 - env: LXML_VERSION=3.7.3 - - python: 3.7 - env: LXML_VERSION=3.8.0 - - python: 3.7 - env: LXML_VERSION=4.0.0 - - python: 3.8 - env: LXML_VERSION=3.7.3 - - python: 3.8 - env: LXML_VERSION=3.8.0 - - python: 3.8 - env: LXML_VERSION=4.0.0 - - python: 3.9 - env: LXML_VERSION=3.7.3 - - python: 3.9 - env: LXML_VERSION=3.8.0 - - python: 3.9 - env: LXML_VERSION=4.0.0 - python: 3.9 env: LXML_VERSION=4.1.1 - python: 3.9 env: LXML_VERSION=4.2.6 - - python: 3.10.1 - env: LXML_VERSION=3.7.3 - - python: 3.10.1 - env: LXML_VERSION=3.8.0 - - python: 3.10.1 - env: LXML_VERSION=4.0.0 - python: 3.10.1 env: LXML_VERSION=4.1.1 - python: 3.10.1 From 3d48e4fda63f1414b4b66f9ad31101182bd10128 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Han=C3=A1k?= <47626173+phanak-sap@users.noreply.github.com> Date: Tue, 11 Jan 2022 13:34:08 +0100 Subject: [PATCH 2/5] Update README.md Mark Python 3.7 as minimal supported version. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e5d57fa6..9e8af3ea 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ details. ## Requirements -- [Python >= 3.6](https://www.python.org/downloads/release/python-368/) +- [Python >= 3.7](https://www.python.org/downloads/) ## Download and Installation From 8a5730d2850a3e4d8b2053dd08f1f5d870c576f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Han=C3=A1k?= <47626173+phanak-sap@users.noreply.github.com> Date: Tue, 11 Jan 2022 13:36:17 +0100 Subject: [PATCH 3/5] Update CHANGELOG.md Python 3.6 support removal --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index affa332d..6cc509ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Fixed - Fix Edm.Binary literal representation - Daniel Balko +### Removed +- Python 3.6 (after its EOL) is no longer supported by pyodata. Python 3.7 is now minimal supported version. + ## [1.7.1] ### Fixed From 95ae0125357a1dcbd7f15cd11fe8d48d46e15e7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Han=C3=A1k?= <47626173+phanak-sap@users.noreply.github.com> Date: Tue, 11 Jan 2022 13:37:49 +0100 Subject: [PATCH 4/5] Update requirements.txt Upgrade to minimal LXML package that still works on Python 3.7 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 69af6a66..6bd8e3e8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -lxml>=3.7.3 +lxml>=4.1.1 From a1a0bfcf44305d5ab46fe3e5f9a242511a0abeb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Han=C3=A1k?= <47626173+phanak-sap@users.noreply.github.com> Date: Tue, 11 Jan 2022 13:39:50 +0100 Subject: [PATCH 5/5] Update setup.py - Upgrade to minimal LXML package that still works on Python 3.7 - Update pipy language classifiers - --- setup.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 91b018de..be648028 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ def _read(name): packages=find_packages(exclude=("tests")), zip_safe=False, install_requires=[ - "lxml>=3.7.3", + "lxml>=4.1.1", ], extras_require={ }, @@ -59,7 +59,10 @@ def _read(name): 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', - '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', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Software Development', 'Topic :: Software Development :: Libraries :: Python Modules',