From 684562ab4aef42649262cbed4442ce2494d85218 Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Mon, 18 Dec 2023 10:15:35 +0200 Subject: [PATCH 1/5] Removing python 3.7, versioning as 2.4.0 --- hiredis/version.py | 2 +- setup.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/hiredis/version.py b/hiredis/version.py index ef6497d..3d67cd6 100644 --- a/hiredis/version.py +++ b/hiredis/version.py @@ -1 +1 @@ -__version__ = "2.3.2" +__version__ = "2.4.0" diff --git a/setup.py b/setup.py index 7e0a33a..d77fbab 100644 --- a/setup.py +++ b/setup.py @@ -78,7 +78,6 @@ def get_libraries(): 'Programming Language :: C', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', From 3410db0ff6da978922e05b692291be02cf0efb76 Mon Sep 17 00:00:00 2001 From: Gabriel Erzse Date: Wed, 3 Jul 2024 14:36:10 +0300 Subject: [PATCH 2/5] Don't bump the version yet --- hiredis/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hiredis/version.py b/hiredis/version.py index 3d67cd6..ef6497d 100644 --- a/hiredis/version.py +++ b/hiredis/version.py @@ -1 +1 @@ -__version__ = "2.4.0" +__version__ = "2.3.2" From fbcff1d83e3401b4edd4023f15bdcff1fbb20b76 Mon Sep 17 00:00:00 2001 From: Gabriel Erzse Date: Wed, 3 Jul 2024 14:37:03 +0300 Subject: [PATCH 3/5] Remove Python 3.7 from CI too --- .github/workflows/integration.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index f0a288a..46de073 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -25,7 +25,7 @@ jobs: strategy: max-parallel: 15 matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.8', 'pypy-3.9'] os: ['ubuntu-latest', 'windows-latest', 'macos-latest'] fail-fast: false env: From 02d3cb94b7efafc4453b215a72db8fd9b6bccb4e Mon Sep 17 00:00:00 2001 From: Gabriel Erzse Date: Wed, 3 Jul 2024 14:45:59 +0300 Subject: [PATCH 4/5] Change Python 3.7 to 3.8 in remaining places --- README.md | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 320aba1..1832c19 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ python -m pytest ### Requirements -hiredis-py requires **Python 3.7+**. +hiredis-py requires **Python 3.8+**. Make sure Python development headers are available when installing hiredis-py. On Ubuntu/Debian systems, install them with `apt-get install python3-dev`. diff --git a/setup.py b/setup.py index 7ab2ebf..77b60ac 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ def get_libraries(): packages=["hiredis"], package_data={"hiredis": ["hiredis.pyi", "py.typed"]}, ext_modules=[ext], - python_requires=">=3.7", + python_requires=">=3.8", project_urls={ "Changes": "https://github.com/redis/hiredis-py/releases", "Issue tracker": "https://github.com/redis/hiredis-py/issues", From d5a100ec56e68fa56621546aa27d86818b21a142 Mon Sep 17 00:00:00 2001 From: Gabriel Erzse Date: Wed, 3 Jul 2024 15:00:42 +0300 Subject: [PATCH 5/5] Add setuptools to dev_requirements From Python 3.12 setuptools is no longer available by default. Add it to the dev_requirements.txt file. --- dev_requirements.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev_requirements.txt b/dev_requirements.txt index 3ff7078..26a1513 100644 --- a/dev_requirements.txt +++ b/dev_requirements.txt @@ -1,7 +1,8 @@ black==22.3.0 flake8==4.0.1 isort==5.10.1 +pytest>=7.0.0 +setuptools tox==3.24.4 vulture>=2.3.0 -wheel>=0.30.0 -pytest>=7.0.0 +wheel>=0.30.0 \ No newline at end of file