From d0bbfe3cb32425345c9b5fc11f6b3bf30b400f61 Mon Sep 17 00:00:00 2001 From: Savva Surenkov Date: Fri, 20 Dec 2024 23:41:12 +0300 Subject: [PATCH 1/2] Drop Python 3.7 support --- .github/workflows/python-test.yml | 4 ++-- pyproject.toml | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 86cecba..1982624 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -52,7 +52,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] pydantic-version: ["1.10.*", "2.*"] services: @@ -90,4 +90,4 @@ jobs: - name: Install Pydantic ${{ matrix.pydantic-version }} run: python -m pip install "pydantic==${{ matrix.pydantic-version }}" - name: Test package - run: pytest + run: pytest \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index c53efc2..c52305e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,6 @@ classifiers = [ "Programming Language :: Python", "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", @@ -40,7 +39,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", ] -requires-python = ">=3.7" +requires-python = ">=3.8" dependencies = [ "pydantic>=1.10,<3", "django>=3.1,<6", From 7c9b69d1c06002eeee02a37a18a7977335370fab Mon Sep 17 00:00:00 2001 From: Savva Surenkov Date: Sat, 21 Dec 2024 00:11:53 +0300 Subject: [PATCH 2/2] Declare Python 3.13 support --- .github/workflows/python-test.yml | 2 +- pyproject.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 1982624..58f8191 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -52,7 +52,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] pydantic-version: ["1.10.*", "2.*"] services: diff --git a/pyproject.toml b/pyproject.toml index c52305e..653bcd9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,6 +37,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] requires-python = ">=3.8"