From a589e3a3ada365fe732417af8ac8531f47cc192b Mon Sep 17 00:00:00 2001 From: Matthias Bach Date: Fri, 11 Oct 2024 17:15:07 +0200 Subject: [PATCH 1/2] Drop support for Python 3.8 and PyPy 3.9 Both have reached end of life --- .github/workflows/tests.yml | 2 +- .python-version | 2 +- CHANGELOG.rst | 2 +- requirements.txt | 2 +- setup.py | 1 - 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 160551d..f4767bc 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.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.9", "pypy-3.10"] + python-version: ["3.9", "3.10", "3.11", "3.12", "pypy-3.10"] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} diff --git a/.python-version b/.python-version index cc1923a..bd28b9c 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.8 +3.9 diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ab14636..450b4f0 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -16,7 +16,7 @@ Added Removed ------- -* Python 3.6 and 3.7 as well as PyPy 3.7 and 3.8 are no longer supported. +* Python 3.6 to 3.8 as well as PyPy 3.7 to 3.9 are no longer supported. * Dropped support for running tests via `setup.py test`. The mechanism is considered deprecated by upstream and removing it allows us to drop a dependency. diff --git a/requirements.txt b/requirements.txt index ec334a8..2a158b0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.9 # by the following command: # # pip-compile --no-emit-index-url --strip-extras diff --git a/setup.py b/setup.py index b05cca8..c58fd3e 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,6 @@ 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', From 99cfe409fac3e15d1704505aa991abccaa04e21f Mon Sep 17 00:00:00 2001 From: Matthias Bach Date: Fri, 11 Oct 2024 17:28:29 +0200 Subject: [PATCH 2/2] Update tested requirements post dropping Python 3.8 We are now only constraints to requirements still support Python 3.9. --- requirements.txt | 123 ++++++++++++++++++++++++----------------------- 1 file changed, 62 insertions(+), 61 deletions(-) diff --git a/requirements.txt b/requirements.txt index 2a158b0..2dea12e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,45 +4,40 @@ # # pip-compile --no-emit-index-url --strip-extras # -aiohappyeyeballs==2.3.5 - # via aiohttp -aiohttp==3.10.2 - # via devpi-server -aiosignal==1.3.1 - # via aiohttp +anyio==4.6.0 + # via httpx argon2-cffi==23.1.0 # via # devpi-server # passlib argon2-cffi-bindings==21.2.0 # via argon2-cffi -async-timeout==4.0.3 - # via aiohttp -attrs==23.1.0 - # via - # aiohttp - # devpi-server -build==1.0.3 +attrs==24.2.0 + # via devpi-server +build==1.2.2.post1 # via # check-manifest # devpi-client -certifi==2024.7.4 - # via requests -cffi==1.16.0 +certifi==2024.8.30 + # via + # httpcore + # httpx + # requests +cffi==1.17.1 # via argon2-cffi-bindings -charset-normalizer==3.3.2 +charset-normalizer==3.4.0 # via requests -check-manifest==0.49 +check-manifest==0.50 # via devpi-client -coverage==7.3.2 +coverage==7.6.2 # via pytest-cov defusedxml==0.7.1 # via devpi-server -devpi-client==7.0.2 +devpi-client==7.1.0 # via # -r core-requirements.txt # devpi-plumber -devpi-common==4.0.2 +devpi-common==4.0.4 # via # devpi-client # devpi-server @@ -50,27 +45,32 @@ devpi-plumber==0.7.0 # via # -r core-requirements.txt # -r requirements.in -devpi-server==6.9.2 +devpi-server==6.13.0 # via devpi-plumber -exceptiongroup==1.1.3 - # via pytest -frozenlist==1.4.0 +exceptiongroup==1.2.2 # via - # aiohttp - # aiosignal -hupper==1.12 + # anyio + # pytest +h11==0.14.0 + # via httpcore +httpcore==1.0.6 + # via httpx +httpx==0.27.2 + # via devpi-server +hupper==1.12.1 # via pyramid -idna==3.7 +idna==3.10 # via + # anyio + # httpx # requests - # yarl -importlib-metadata==6.8.0 +importlib-metadata==8.5.0 # via build iniconfig==2.0.0 # via # devpi-client # pytest -itsdangerous==2.1.2 +itsdangerous==2.2.0 # via devpi-server lazy==1.6 # via @@ -78,21 +78,19 @@ lazy==1.6 # devpi-server mock==5.1.0 # via -r requirements.in -multidict==6.0.4 - # via - # aiohttp - # yarl -packaging==23.2 +packaging==24.1 # via # build - # devpi-common + # packaging-legacy # pytest # setuptools-scm +packaging-legacy==23.0.post0 + # via devpi-common passlib==1.7.4 # via devpi-server -pastedeploy==3.0.1 +pastedeploy==3.1.0 # via plaster-pastedeploy -pkginfo==1.9.6 +pkginfo==1.11.2 # via devpi-client plaster==1.1.2 # via @@ -100,59 +98,63 @@ plaster==1.1.2 # pyramid plaster-pastedeploy==1.0.1 # via pyramid -platformdirs==4.0.0 +platformdirs==4.3.6 # via # devpi-client # devpi-server -pluggy==1.3.0 +pluggy==1.5.0 # via # devpi-client # devpi-server # pytest -progressbar2==4.2.0 +progressbar2==4.5.0 # via -r core-requirements.txt py==1.11.0 # via devpi-server -pycparser==2.21 +pycparser==2.22 # via cffi -pyproject-hooks==1.0.0 +pyproject-hooks==1.2.0 # via build pyramid==2.0.2 # via devpi-server -pytest==7.4.3 +pytest==8.3.3 # via # -r requirements.in # pytest-cov -pytest-cov==4.1.0 +pytest-cov==5.0.0 # via -r requirements.in -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 # via strictyaml -python-utils==3.8.1 +python-utils==3.9.0 # via progressbar2 repoze-lru==0.7 # via devpi-server -requests==2.32.0 +requests==2.32.3 # via # devpi-common # devpi-plumber -ruamel-yaml==0.18.5 +ruamel-yaml==0.18.6 # via devpi-server ruamel-yaml-clib==0.2.8 # via ruamel-yaml -setuptools-scm==8.0.4 +setuptools-scm==8.1.0 # via -r requirements.in six==1.16.0 # via # -r core-requirements.txt # python-dateutil +sniffio==1.3.1 + # via + # anyio + # httpx strictyaml==1.7.3 # via devpi-server -tomli==2.0.1 +tomli==2.0.2 # via # build # check-manifest # coverage - # pyproject-hooks + # devpi-client # pytest # setuptools-scm translationstring==1.4 @@ -163,25 +165,24 @@ twitter-common-dirutil==0.3.11 # via twitter-common-contextutil twitter-common-lang==0.3.11 # via twitter-common-dirutil -typing-extensions==4.8.0 +typing-extensions==4.12.2 # via + # anyio # python-utils # setuptools-scm -urllib3==2.2.2 +urllib3==2.2.3 # via requests venusian==3.1.0 # via pyramid -waitress==2.1.2 +waitress==3.0.0 # via devpi-server webob==1.8.8 # via pyramid -yarl==1.9.2 - # via aiohttp -zipp==3.19.1 +zipp==3.20.2 # via importlib-metadata zope-deprecation==5.0 # via pyramid -zope-interface==6.1 +zope-interface==7.1.0 # via pyramid # The following packages are considered to be unsafe in a requirements file: