From f6a4c8c9c8d94a717d8c39e07263a8a243ded63e Mon Sep 17 00:00:00 2001 From: "Ware, Joseph (DLSLtd,RAL,LSCI)" Date: Mon, 10 Jul 2023 11:51:33 +0100 Subject: [PATCH] Pin dependencies to known working versions - Closes #270 - Dodal and our pinned version of typing_extensions both conflict with Pydantic 2.0 - Pins FastAPI to 0.99: supports OpenAPI 3.1 while using Pydantic 1.0 - Pin Bluesky to 1.10 prior to AreaDetector staging change - Pin ScanSpec to version compatible with Pydantic and FastAPI - Pin Click to version compatible with mypy type checking --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index dd26dc509..0a48b8b07 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,10 +19,10 @@ dependencies = [ "pyepics", "pydantic<2.0", "stomp.py", - "scanspec>0.6.1", + "scanspec==0.6.3", "PyYAML", - "click", - "fastapi[all]<0.100", + "click==8.1.3", + "fastapi[all]==0.99", "uvicorn", "requests", "dodal @ git+https://github.com/DiamondLightSource/dodal.git@1.0.0",