From 03bee7c0f1a73037366a20a8fdbf01190036b14d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Han=C3=A1k?= <47626173+phanak-sap@users.noreply.github.com> Date: Mon, 20 May 2024 12:19:03 +0200 Subject: [PATCH 1/3] chore: bump bandit in dev-requirements.txt bump bandit to latest that support python 3.7 --- dev-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-requirements.txt b/dev-requirements.txt index 88f378e9..fee63f9f 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -9,5 +9,5 @@ setuptools-scm>=1.15.6 pylint==2.8.3 pytest-cov>=3.0.0 flake8==3.8.4 -bandit==1.7.0 +bandit==1.7.5 sphinx From a2858d39b62a09da5da095e14976924796d49875 Mon Sep 17 00:00:00 2001 From: I335851 Date: Wed, 10 Jul 2024 15:26:51 +0200 Subject: [PATCH 2/3] chore: remove py3.7 compatibility --- .github/workflows/python-tests-compatibility.yml | 12 ++---------- CHANGELOG.md | 3 +++ README.md | 2 +- requirements.txt | 2 +- setup.py | 3 +-- 5 files changed, 8 insertions(+), 14 deletions(-) diff --git a/.github/workflows/python-tests-compatibility.yml b/.github/workflows/python-tests-compatibility.yml index ccb80d2c..364257bf 100644 --- a/.github/workflows/python-tests-compatibility.yml +++ b/.github/workflows/python-tests-compatibility.yml @@ -18,15 +18,11 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] - lxml-version: ["4.1.1", "4.2.6", "4.3.5", "4.4.3", "4.5.2", "4.6.5", "4.7.1", "4.8.0", "4.9.1", "4.9.4", "5.0.1", "5.1.0"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + lxml-version: ["4.2.6", "4.3.5", "4.4.3", "4.5.2", "4.6.5", "4.7.1", "4.8.0", "4.9.1", "4.9.4", "5.0.1", "5.1.0"] exclude: - - python-version: 3.9 - lxml-version: 4.1.1 - python-version: 3.9 lxml-version: 4.2.6 - - python-version: 3.10 - lxml-version: 4.1.1 - python-version: 3.10 lxml-version: 4.2.6 - python-version: 3.10 @@ -35,8 +31,6 @@ jobs: lxml-version: 4.4.3 - python-version: 3.10 lxml-version: 4.5.2 - - python-version: 3.11 - lxml-version: 4.1.1 - python-version: 3.11 lxml-version: 4.2.6 - python-version: 3.11 @@ -51,8 +45,6 @@ jobs: lxml-version: 4.7.1 - python-version: 3.11 lxml-version: 4.8.0 - - python-version: 3.12 - lxml-version: 4.1.1 - python-version: 3.12 lxml-version: 4.2.6 - python-version: 3.12 diff --git a/CHANGELOG.md b/CHANGELOG.md index e802dbfa..443f70fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +### Removed +- Python 3.7 (long after its EOL) is no longer supported by pyodata. Python 3.8 is now minimal supported version. - Petr Hanak + ## [1.11.1] ### Fixed diff --git a/README.md b/README.md index af5d0343..3a2ddd58 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ details. ## Requirements -- [Python >= 3.7](https://www.python.org/downloads/) +- [Python >= 3.8](https://www.python.org/downloads/) ## Download and Installation diff --git a/requirements.txt b/requirements.txt index 6bd8e3e8..6ff8d226 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -lxml>=4.1.1 +lxml>=4.2.6 \ No newline at end of file diff --git a/setup.py b/setup.py index 878c673c..f7edb1b5 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>=4.1.1", + "lxml>=4.2.6", ], extras_require={ }, @@ -59,7 +59,6 @@ def _read(name): 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', From b6223d1a88b85918fb0dbc9757767c880c84bcfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Han=C3=A1k?= <47626173+phanak-sap@users.noreply.github.com> Date: Tue, 16 Jul 2024 13:36:34 +0200 Subject: [PATCH 3/3] docs: fix typo in CONTRIBUTING --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5de3d167..a4af4adc 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -24,7 +24,7 @@ already a test going through the statements you have modified, you are probably wrong because you either added something new and it should be tested or you fixed a bug which was not detected by the test and hence the test must be enhanced - (ideally, you fist fix the test to reproduce the bug and then you fix the bug). + (ideally, you first fix the test to reproduce the bug and then you fix the bug). * Link commits to issues via referencing issue numbers: https://help.github.com/en/articles/closing-issues-using-keywords