From 3ad279c8bbc1292977116664fd6458a25548eaf1 Mon Sep 17 00:00:00 2001 From: Andreas Maier Date: Thu, 24 Oct 2024 13:08:54 +0200 Subject: [PATCH] Fixed pydantic-core install failure Signed-off-by: Andreas Maier --- .github/workflows/test.yml | 5 +++++ minimum-constraints-develop.txt | 4 ++-- minimum-constraints-install.txt | 2 +- requirements-develop.txt | 9 ++++++--- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 014b6ea..53650f4 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/minimum-constraints-develop.txt b/minimum-constraints-develop.txt index 9253c4d..853b578 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==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 diff --git a/minimum-constraints-install.txt b/minimum-constraints-install.txt index aae4453..56de893 100644 --- a/minimum-constraints-install.txt +++ b/minimum-constraints-install.txt @@ -45,5 +45,5 @@ pytz==2019.1 requests==2.32.2 six==1.16.0 stomp.py==8.1.1 -typing-extensions==4.7.1 +typing-extensions==4.12.2 zipp==3.19.1 diff --git a/requirements-develop.txt b/requirements-develop.txt index e92dbef..61a7701 100644 --- a/requirements-develop.txt +++ b/requirements-develop.txt @@ -16,15 +16,18 @@ pyproject-hooks>=1.1.0 towncrier>=22.8.0 # Safety CI by pyup.io -safety>=3.0.1 -safety-schemas>=0.0.2 +# Safety 3.0.0 requires exact versions of authlib==1.2.0 and jwt==1.3.1. +# 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