From fbfa3b00a282ce20b76f34afad4944a4a844c760 Mon Sep 17 00:00:00 2001 From: "Philipp A." Date: Fri, 22 Mar 2024 16:04:40 +0100 Subject: [PATCH] Fix pre-release tests --- .azure-pipelines.yml | 2 +- pyproject.toml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 645ed67db..839b59014 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -61,7 +61,7 @@ jobs: condition: eq(variables['DEPENDENCIES_VERSION'], 'minimum') - script: | - uv pip install --system --compile --pre "anndata[dev,test] @ ." + uv pip install --system --compile --pre "anndata[dev,test] @ ." "scanpy>=1.10.0rc1" displayName: "Install dependencies release candidates" condition: eq(variables['DEPENDENCIES_VERSION'], 'pre-release') diff --git a/pyproject.toml b/pyproject.toml index 881161e96..a67b7b0ec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,7 +41,8 @@ dependencies = [ # pandas 2.1.0rc0 has pandas/issues/54622 "pandas >=1.4, !=2.1.0rc0, !=2.1.2", "numpy>=1.23", - "scipy>1.8", + # https://github.com/scverse/anndata/issues/1434 + "scipy >1.8, <1.13.0rc1", "h5py>=3.1", "exceptiongroup; python_version<'3.11'", "natsort",