From f594a777353bef15fc78cce74a3bf5adcd0a8afb Mon Sep 17 00:00:00 2001 From: Andreas Maier Date: Thu, 24 Oct 2024 11:15:21 +0200 Subject: [PATCH] Fixed pydantic-core install failure Signed-off-by: Andreas Maier --- .github/workflows/test.yml | 5 +++++ dev-requirements.txt | 8 +++++--- minimum-constraints-develop.txt | 6 +++--- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b2a82a29..5a296f75 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -54,6 +54,11 @@ jobs: \"python-version\": \"3.9\", \ \"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 4ce37084..45fdb531 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -45,15 +45,17 @@ coveralls>=3.3.0 # Safety CI by pyup.io # 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>=8.0.2 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 1c4c6fd3..e3c82a37 100644 --- a/minimum-constraints-develop.txt +++ b/minimum-constraints-develop.txt @@ -42,7 +42,7 @@ pytest-cov==2.7.0 coveralls==3.3.0 # 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 @@ -50,7 +50,7 @@ ruamel.yaml==0.17.21 click==8.0.2 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 @@ -210,6 +210,6 @@ tornado==6.4.1 tqdm==4.66.3 traitlets==5.6.0 typing==3.6.1 -typing-extensions==4.7.1 +typing-extensions==4.12.2 webencodings==0.5.1 widgetsnbextension==4.0.0