diff --git a/stac_fastapi/api/setup.py b/stac_fastapi/api/setup.py index d0af6f3b5..1e3b8002f 100644 --- a/stac_fastapi/api/setup.py +++ b/stac_fastapi/api/setup.py @@ -7,7 +7,7 @@ install_requires = [ "attrs", - "pydantic[dotenv]", + "pydantic[dotenv]<2", "stac_pydantic==2.0.*", "brotli_asgi", "stac-fastapi.types", diff --git a/stac_fastapi/extensions/setup.py b/stac_fastapi/extensions/setup.py index 7f5e28882..a70ea5855 100644 --- a/stac_fastapi/extensions/setup.py +++ b/stac_fastapi/extensions/setup.py @@ -7,7 +7,7 @@ install_requires = [ "attrs", - "pydantic[dotenv]", + "pydantic[dotenv]<2", "stac_pydantic==2.0.*", "stac-fastapi.types", "stac-fastapi.api", diff --git a/stac_fastapi/types/setup.py b/stac_fastapi/types/setup.py index 696c5a915..1896bbd88 100644 --- a/stac_fastapi/types/setup.py +++ b/stac_fastapi/types/setup.py @@ -8,7 +8,7 @@ install_requires = [ "fastapi>=0.73.0", "attrs", - "pydantic[dotenv]", + "pydantic[dotenv]<2", "stac_pydantic==2.0.*", "pystac==1.*", "iso8601>=1.0.2,<2.1.0",