From: Sebastian Bayer Date: Thu, 17 Aug 2023 11:30:45 +0000 (+0200) Subject: generalize pydantic version warning X-Git-Tag: rel_2_0_21~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=468e9e3d7e42fa6fda59b82b253a5329c783d3e2;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git generalize pydantic version warning Pydantic 1.x and 2.x both have compatibility issues with sqlalchemy, which we denote by removing the restriction on the 1.x version of pydantic --- diff --git a/doc/build/orm/dataclasses.rst b/doc/build/orm/dataclasses.rst index 12cb3ec376..b7d0bee431 100644 --- a/doc/build/orm/dataclasses.rst +++ b/doc/build/orm/dataclasses.rst @@ -530,7 +530,7 @@ Integrating with Alternate Dataclass Providers such as Pydantic .. warning:: - The dataclass layer of Pydantic version 1.x is **not fully compatible** with + The dataclass layer of Pydantic is **not fully compatible** with SQLAlchemy's class instrumentation without additional internal changes, and many features such as related collections may not work correctly.