From 0a0602761b0be2bdde1847d43b761921ce8c27e2 Mon Sep 17 00:00:00 2001 From: Nathan Baker Date: Sun, 29 Jan 2023 14:45:54 -0800 Subject: [PATCH 1/4] Update Python support. Remove 3.6 and change Change Log. --- .github/workflows/python-package.yml | 2 +- docs/source/changelog.rst | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 1a28007..7c22bee 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11"] + python-version: [3.7, 3.8, 3.9, 3.10, 3.11] steps: - uses: actions/checkout@v2 diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index e813ac4..9ed9b5c 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -2,6 +2,14 @@ Changelog ********* +Current version +=============== + +Changes +------- + +* Remove support for Python 3.6; add support for up to Python 3.11. + v3.4.0 ====== From 967e8e791268c043d09244629a5b29e1f70265ca Mon Sep 17 00:00:00 2001 From: Nathan Baker Date: Sun, 29 Jan 2023 14:53:12 -0800 Subject: [PATCH 2/4] Convert Python version numbers to strings. --- .github/workflows/python-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 7c22bee..1875e46 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9, 3.10, 3.11] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v2 From 74b84252340d27592f68b82e5a1793be311d19b2 Mon Sep 17 00:00:00 2001 From: Nathan Baker Date: Sun, 29 Jan 2023 14:58:57 -0800 Subject: [PATCH 3/4] Remove Python 3.7 support. Make corresponding changes to other files (including a few that I missed before). --- .github/workflows/python-package.yml | 2 +- README.md | 2 +- docs/source/changelog.rst | 2 +- docs/source/installation.rst | 2 +- setup.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 1875e46..d4c8f12 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v2 diff --git a/README.md b/README.md index b1af3ae..4da4768 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ The code in this repository is named _PROPKA 3_ and it is based on the original ## Requirements -PROPKA 3 requires Python 3.6 or higher. Additional requirements are specified in the `requirements.txt` file and automatically satisfied when installing with [pip](https://pip.pypa.io). +PROPKA 3 requires Python 3.8 or higher. Additional requirements are specified in the `requirements.txt` file and automatically satisfied when installing with [pip](https://pip.pypa.io). ## Installation diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 9ed9b5c..6d0e2fb 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -8,7 +8,7 @@ Current version Changes ------- -* Remove support for Python 3.6; add support for up to Python 3.11. +* Remove support for Python 3.6 and 3.7; add support for up to Python 3.11. v3.4.0 ====== diff --git a/docs/source/installation.rst b/docs/source/installation.rst index fe9f095..5fd6059 100644 --- a/docs/source/installation.rst +++ b/docs/source/installation.rst @@ -5,7 +5,7 @@ ============== -PROPKA 3 requires Python 3.6 or higher. Additional requirements are +PROPKA 3 requires Python 3.8 or higher. Additional requirements are specified in the :file:`requirements.txt` file and automatically satisfied when installing with pip_. diff --git a/setup.py b/setup.py index 1729160..c429d54 100755 --- a/setup.py +++ b/setup.py @@ -59,7 +59,7 @@ package_data={'propka': ['*.dat', '*.cfg', '*.json']}, entry_points={'console_scripts': ['propka3 = propka.run:main', ]}, zip_safe=True, - python_requires='>=3.6', + python_requires='>=3.8', tests_require=["numpy", "pytest"], test_suite="tests", ) From 72c4950683548e5e9fb54734ca33e34f8fc2c894 Mon Sep 17 00:00:00 2001 From: Nathan Baker Date: Sun, 29 Jan 2023 15:07:51 -0800 Subject: [PATCH 4/4] Remove Python 3.6 and 3.7 from more files. --- setup.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/setup.py b/setup.py index c429d54..772161a 100755 --- a/setup.py +++ b/setup.py @@ -46,8 +46,6 @@ 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', 'Programming Language :: Python', - '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',