From 72587730c9473a2be947ff5622a3bf5d78e1680b Mon Sep 17 00:00:00 2001 From: Samy Mostafa Shaawat Date: Sat, 17 Oct 2026 01:15:52 +0300 Subject: [PATCH] [FIX] test-requirements: pin pydantic<2.14 pydantic 2.14 removed `pydantic._internal._generate_schema.get_type_ref`, which `extendable-pydantic` (up to 1.4.1) still uses at import time. With the latest pydantic of the CI image, `extendable_fastapi` (needed by `cross_connect_server`) cannot be imported and the test database cannot be initialized: AttributeError: module 'pydantic._internal._generate_schema' has no attribute 'get_type_ref' Keep pydantic below 2.14 for the tests until extendable-pydantic supports it. --- test-requirements.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test-requirements.txt b/test-requirements.txt index b1056bfec2..0b67169eb1 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7,3 +7,6 @@ pysaml2==7.1.0 ; python_version <= '3.12' # jammy, noble pysaml2==7.5.0 ; python_version == '3.13' # trixie pysaml2==7.5.4 ; python_version >= '3.14' # question #: }}} +# extendable-pydantic needs pydantic._internal._generate_schema.get_type_ref, +# removed in pydantic 2.14 (extendable_fastapi fails to import with it) +pydantic<2.14