From 2ec7f0d785a04d922a73237c5498423c265386df Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 18 Jul 2024 18:00:56 +0000 Subject: [PATCH 1/2] Bump pydantic from 2.4.2 to 2.8.2 Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.4.2 to 2.8.2. - [Release notes](https://github.com/pydantic/pydantic/releases) - [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md) - [Commits](https://github.com/pydantic/pydantic/compare/v2.4.2...v2.8.2) --- updated-dependencies: - dependency-name: pydantic dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- docs/requirements.txt | 4 ++-- requirements.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index f9b9f8fba..8dc7dc6d4 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -50,11 +50,11 @@ packaging==24.0 # via sphinx pycparser==2.21 # via cffi -pydantic==2.4.2 +pydantic==2.8.2 # via # -r docs/requirements.in # bo4e-schema-tool -pydantic-core==2.10.1 +pydantic-core==2.20.1 # via pydantic pygithub==2.2.0 # via bo4e-schema-tool diff --git a/requirements.txt b/requirements.txt index fc51014c1..cc5fbe406 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,9 +8,9 @@ annotated-types==0.5.0 # via pydantic iso3166==2.1.1 # via -r requirements.in -pydantic==2.4.2 +pydantic==2.8.2 # via -r requirements.in -pydantic-core==2.10.1 +pydantic-core==2.20.1 # via pydantic pyhumps==3.8.0 # via -r requirements.in From 202d00fc6cde489cac67862da35990d781f821cb Mon Sep 17 00:00:00 2001 From: Leon Haffmans Date: Fri, 19 Jul 2024 13:56:01 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A9=B9mypy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/compatibility/loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/compatibility/loader.py b/docs/compatibility/loader.py index 6b693190e..5e6651f94 100644 --- a/docs/compatibility/loader.py +++ b/docs/compatibility/loader.py @@ -23,7 +23,7 @@ def load_schema_file(path: Path) -> SchemaRootType: """ Load a schema file and return the parsed schema """ - return TypeAdapter(SchemaRootType).validate_json(path.read_text("utf-8")) # type: ignore[return-value] + return TypeAdapter(SchemaRootType).validate_json(path.read_text("utf-8")) # mypy has problems to infer the Union type here.