From 60d16026a9f4fe8882acadb1e68c0bcbff243250 Mon Sep 17 00:00:00 2001 From: dala Date: Mon, 4 Mar 2024 15:47:59 +0100 Subject: [PATCH 1/3] build: delete 3.7 from CI and pyproject.toml --- .github/workflows/ci.yml | 4 +--- pyproject.toml | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be81d19..01dcce2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,10 +9,8 @@ jobs: strategy: max-parallel: 5 matrix: - python-version: [3.7, 3.8, 3.9, '3.10', '3.11', pypy-3.7-v7.x] + python-version: [3.8, 3.9, '3.10', '3.11', pypy-3.7-v7.x] include: - - python-version: 3.7 - py: py37 - python-version: 3.8 py: py38 - python-version: 3.9 diff --git a/pyproject.toml b/pyproject.toml index c949f97..ad88589 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ dynamic = ["version"] description = "Full featured consistent hashing python library compatible with ketama." readme = "README.rst" license = "BSD-2-Clause" -requires-python = ">=3.7" +requires-python = ">=3.8" authors = [ { name = "Ultrabug", email = "ultrabug@ultrabug.net" }, ] @@ -61,7 +61,7 @@ test = [ ] [[tool.hatch.envs.test.matrix]] -python = ["py37", "py38", "py39", "py310", "py311", "pypy3"] +python = ["py38", "py39", "py310", "py311", "pypy3"] type = ["default"] [tool.hatch.envs.style] @@ -88,7 +88,7 @@ format = [ [tool.black] line-length = 100 -target-version = ["py37"] +target-version = ["py38"] skip-string-normalization = true [tool.isort] From 7bd91ac411a788bfdb30ca40fb9ea3d15b246afd Mon Sep 17 00:00:00 2001 From: dala Date: Mon, 4 Mar 2024 16:03:58 +0100 Subject: [PATCH 2/3] ci(ci.yml): replace pypy-3.7-v7 by pypy-3.8-v7 in matrix --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 01dcce2..95c49d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: strategy: max-parallel: 5 matrix: - python-version: [3.8, 3.9, '3.10', '3.11', pypy-3.7-v7.x] + python-version: [3.8, 3.9, '3.10', '3.11', pypy-3.8-v7.x] include: - python-version: 3.8 py: py38 @@ -19,7 +19,7 @@ jobs: py: py310 - python-version: '3.11' py: py311 - - python-version: pypy-3.7-v7.x + - python-version: pypy-3.8-v7.x py: pypy3 steps: From 9f8af8780b5cd2f943625b61ffa4319b6a31b5a9 Mon Sep 17 00:00:00 2001 From: dala Date: Mon, 4 Mar 2024 16:14:41 +0100 Subject: [PATCH 3/3] build: update black target version to py311 and update pypy matrix version to pypy-3.10 --- .github/workflows/ci.yml | 4 ++-- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 95c49d7..342f090 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: strategy: max-parallel: 5 matrix: - python-version: [3.8, 3.9, '3.10', '3.11', pypy-3.8-v7.x] + python-version: [3.8, 3.9, '3.10', '3.11', pypy-3.10-v7.x] include: - python-version: 3.8 py: py38 @@ -19,7 +19,7 @@ jobs: py: py310 - python-version: '3.11' py: py311 - - python-version: pypy-3.8-v7.x + - python-version: pypy-3.10-v7.x py: pypy3 steps: diff --git a/pyproject.toml b/pyproject.toml index ad88589..8eae755 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -88,7 +88,7 @@ format = [ [tool.black] line-length = 100 -target-version = ["py38"] +target-version = ["py311"] skip-string-normalization = true [tool.isort]