diff --git a/argilla-server/src/argilla_server/__init__.py b/argilla-server/src/argilla_server/__init__.py index 03d18e29e2..9d04940083 100644 --- a/argilla-server/src/argilla_server/__init__.py +++ b/argilla-server/src/argilla_server/__init__.py @@ -16,6 +16,8 @@ from argilla_server.pydantic_v1 import PYDANTIC_MAJOR_VERSION +# This line should be removed + if PYDANTIC_MAJOR_VERSION >= 2: warnings.warn("The argilla_server package is not compatible with Pydantic 2. " "Please use Pydantic 1.x instead.") else: