From 45a11df71c8631cf74df0e6f1fd9b9c8caba4253 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20K=C3=B6tter?= Date: Thu, 31 Oct 2024 07:36:30 +0100 Subject: [PATCH 1/2] v3x/glue - fix httpx_auth >= 0.21.0 --- aiopenapi3/v30/glue.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aiopenapi3/v30/glue.py b/aiopenapi3/v30/glue.py index 9e93a2be..e181740b 100644 --- a/aiopenapi3/v30/glue.py +++ b/aiopenapi3/v30/glue.py @@ -8,7 +8,7 @@ try: import httpx_auth - from httpx_auth.authentication import SupportMultiAuth + from httpx_auth import SupportMultiAuth import inspect except ImportError: httpx_auth = None diff --git a/pyproject.toml b/pyproject.toml index 62e650ca..97a8732d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,7 +49,7 @@ Repository = "https://github.com/commonism/aiopenapi3" [project.optional-dependencies] auth = [ - "httpx-auth", + "httpx-auth>=0.21.0", ] socks = [ "httpx-socks", From 0158121f48a8f578ab7990efcbcda187889c5dc7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 31 Oct 2024 06:44:48 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.ci hooks --- tests/fixtures/schema-boolean.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/fixtures/schema-boolean.yaml b/tests/fixtures/schema-boolean.yaml index 5538fcb8..a399b095 100644 --- a/tests/fixtures/schema-boolean.yaml +++ b/tests/fixtures/schema-boolean.yaml @@ -55,12 +55,12 @@ components: PrefixitemsWithNoAdditionalItemsAllowed: $schema: https://json-schema.org/draft/2020-12/schema prefixItems: - - {} - - {} - - {} + - {} + - {} + - {} items: false PrefixitemsWithBooleanSchemas: $schema: https://json-schema.org/draft/2020-12/schema prefixItems: - - true - - false + - true + - false