From e87444715d92b6a5f08837768100459759f193c9 Mon Sep 17 00:00:00 2001 From: Andreas Maier Date: Thu, 24 Oct 2024 12:57:53 +0200 Subject: [PATCH] Fixed pydantic-core install failure Signed-off-by: Andreas Maier --- .github/workflows/test.yml | 5 +++++ dev-requirements.txt | 9 +++++---- minimum-constraints-develop.txt | 6 +++--- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index af806e10..26e51806 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -49,6 +49,11 @@ jobs: \"python-version\": \"3.8\", \ \"package_level\": \"latest\" \ }, \ + { \ + \"os\": \"ubuntu-latest\", \ + \"python-version\": \"3.12\", \ + \"package_level\": \"latest\" \ + }, \ { \ \"os\": \"macos-latest\", \ \"python-version\": \"3.8\", \ diff --git a/dev-requirements.txt b/dev-requirements.txt index 6194fde0..ef49b089 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -23,17 +23,18 @@ pyproject-hooks>=1.1.0 towncrier>=22.8.0 # Safety CI by pyup.io -# Safety is run only on Python >=3.7 # Safety 3.0.0 requires exact versions of authlib==1.2.0 and jwt==1.3.1. -safety>=3.0.1 -safety-schemas>=0.0.2 +# Safety 3.0.x pins pydantic to <2.0, preventing bug fixes. +# pydantic 2.8.0 fixes an install issue on Python 3.13. +safety>=3.1.0 +safety-schemas>=0.0.2,!=0.0.7 # TODO: Change to dparse 0.6.4 once released dparse>=0.6.4b0 ruamel.yaml>=0.17.21 # click is covered in requirements.txt Authlib>=1.2.0 marshmallow>=3.15.0 -pydantic>=1.10.13 +pydantic>=2.8.0 typer>=0.12.0 typer-cli>=0.12.0 typer-slim>=0.12.0 diff --git a/minimum-constraints-develop.txt b/minimum-constraints-develop.txt index c5593b07..9b349ec1 100644 --- a/minimum-constraints-develop.txt +++ b/minimum-constraints-develop.txt @@ -22,7 +22,7 @@ incremental==22.10.0 click-default-group==1.2.4 # Safety CI by pyup.io -safety==3.0.1 +safety==3.1.0 safety-schemas==0.0.2 # TODO: Change to dparse 0.6.4 once released dparse==0.6.4b0 @@ -30,7 +30,7 @@ ruamel.yaml==0.17.21 # click is covered in requirements.txt Authlib==1.3.1 marshmallow==3.15.0 -pydantic==1.10.13 +pydantic==2.8.0 typer==0.12.0 typer-cli==0.12.0 typer-slim==0.12.0 @@ -135,6 +135,6 @@ toml==0.10.0 # used by pylint and pytest since some version tomli==2.0.1 tqdm==4.66.3 typing==3.6.1 -typing-extensions==4.7.1 +typing-extensions==4.12.2 webencodings==0.5.1 zipp==3.19.1