From 9fe944cdd3e6d089e5f757186aa15bfed682d5e7 Mon Sep 17 00:00:00 2001 From: Matthias Bach Date: Wed, 4 Oct 2023 12:35:54 +0200 Subject: [PATCH] Drop support for Python 3.7 Python 3.7 went EOL on 2023-06-27. --- .github/workflows/tests.yml | 4 ++-- .python-version | 1 + CHANGELOG.rst | 2 +- requirements.txt | 10 +++++++++- setup.py | 2 +- 5 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 .python-version diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0f58d63..5bd12c7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,7 +11,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@v3 - name: Set up Python ${{ matrix.python-version }} @@ -58,4 +58,4 @@ jobs: run: | python -m pip install build twine python -m build - twine check dist/* \ No newline at end of file + twine check dist/* diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..cc1923a --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.8 diff --git a/CHANGELOG.rst b/CHANGELOG.rst index fb3d12b..18903aa 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,7 +2,7 @@ Unreleased ---------- - Add official support for Python 3.10 and 3.11. -- Drop support for Python 3.6 +- Drop support for Python 3.6 and 3.7. 0.6.0 ----- diff --git a/requirements.txt b/requirements.txt index bf0706b..df1fd14 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.7 +# This file is autogenerated by pip-compile with Python 3.8 # by the following command: # # pip-compile --no-emit-index-url @@ -69,6 +69,8 @@ idna==3.3 # yarl imagesize==1.4.1 # via sphinx +importlib-metadata==6.8.0 + # via sphinx iniconfig==1.1.1 # via pytest itsdangerous==2.1.2 @@ -152,6 +154,8 @@ requests==2.31.0 # sphinx ruamel-yaml==0.17.21 # via devpi-server +ruamel-yaml-clib==0.2.8 + # via ruamel-yaml setuptools-scm==6.4.2 # via -r requirements.in six==1.16.0 @@ -181,7 +185,9 @@ toml==0.10.2 # via tox tomli==2.0.1 # via + # build # check-manifest + # coverage # pep517 # pytest # setuptools-scm @@ -207,6 +213,8 @@ webob==1.8.7 # via pyramid yarl==1.8.2 # via aiohttp +zipp==3.17.0 + # via importlib-metadata zope-deprecation==4.4.0 # via pyramid zope-interface==5.4.0 diff --git a/setup.py b/setup.py index 418e7a8..940862c 100644 --- a/setup.py +++ b/setup.py @@ -42,10 +42,10 @@ 'License :: OSI Approved :: BSD License', 'Topic :: System :: Archiving :: Packaging', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', ], )