From 92a64bdbe235fb43b426a4f91b559617de6eb115 Mon Sep 17 00:00:00 2001 From: Qin Yu Date: Mon, 25 Nov 2024 15:37:01 +0100 Subject: [PATCH] fix(env): Pydantic v2.10 causes bioimageio.spec issues --- conda-recipe/meta.yaml | 2 +- environment-dev.yaml | 2 +- environment.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 0d9dcf5f..8bf014fe 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -33,7 +33,7 @@ requirements: - pyqt - requests - pyyaml - - pydantic >2 + - pydantic >2,<2.10 # 2.10 cause problem spec-bioimage-io/issues/663 test: imports: diff --git a/environment-dev.yaml b/environment-dev.yaml index b7db1975..73abdf48 100644 --- a/environment-dev.yaml +++ b/environment-dev.yaml @@ -28,7 +28,7 @@ dependencies: # Other - requests - pyyaml - - pydantic>2 + - pydantic>2,<2.10 # 2.10 cause problem spec-bioimage-io/issues/663 # Test - pytest - pytest-qt diff --git a/environment.yaml b/environment.yaml index 13f1c2e2..63b1cf8f 100644 --- a/environment.yaml +++ b/environment.yaml @@ -22,4 +22,4 @@ dependencies: # Other - requests - pyyaml - - pydantic>2 + - pydantic>2,<2.10 # 2.10 cause problem spec-bioimage-io/issues/663