From f7ffcc0f76e49579c630dd6801ebf78309cba6f9 Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Thu, 5 Oct 2023 18:07:36 +0200 Subject: [PATCH 1/3] Confirm Python 3.12 support --- .github/workflows/ci.yml | 2 +- pyproject.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 578368c7..597ec4c8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: fail-fast: false matrix: os: [ubuntu, macos, windows] - python: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] env: PYTHON: ${{ matrix.python }} diff --git a/pyproject.toml b/pyproject.toml index 2776f921..0bad22ec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,7 @@ classifiers = [ 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Intended Audience :: Developers', 'Intended Audience :: Information Technology', 'Intended Audience :: System Administrators', From 821fadf7cfeb0bea35c1cdbc0369a5316f8ef302 Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Thu, 5 Oct 2023 18:36:22 +0200 Subject: [PATCH 2/3] Update pydantic --- pyproject.toml | 2 +- requirements/pyproject.txt | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0bad22ec..8e1a5f15 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,7 +41,7 @@ classifiers = [ ] requires-python = '>=3.7' dependencies = [ - 'pydantic>=2.0.1', + 'pydantic>=2.3.0', 'python-dotenv>=0.21.0', ] dynamic = ['version'] diff --git a/requirements/pyproject.txt b/requirements/pyproject.txt index 51a6f8be..6a0f7f0b 100644 --- a/requirements/pyproject.txt +++ b/requirements/pyproject.txt @@ -6,13 +6,14 @@ # annotated-types==0.4.0 # via pydantic -pydantic==2.0.1 +pydantic==2.4.2 # via pydantic-settings (pyproject.toml) -pydantic-core==2.0.2 +pydantic-core==2.10.1 # via pydantic python-dotenv==0.21.1 # via pydantic-settings (pyproject.toml) typing-extensions==4.6.2 # via + # annotated-types # pydantic # pydantic-core From 54a60a30c6bca1d43c92e0ceb5cb36df7226f866 Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Thu, 5 Oct 2023 18:45:16 +0200 Subject: [PATCH 3/3] Update pytest --- requirements/testing.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/testing.txt b/requirements/testing.txt index ce2dcd31..5dfcb5d2 100644 --- a/requirements/testing.txt +++ b/requirements/testing.txt @@ -37,7 +37,7 @@ pluggy==1.0.0 # via pytest pygments==2.15.1 # via rich -pytest==7.3.1 +pytest==7.3.2 # via # -r requirements/testing.in # pytest-examples