From 1a95736c603f702e5710b880362ced3a4bee0049 Mon Sep 17 00:00:00 2001 From: John Kerl Date: Mon, 9 Oct 2023 08:51:34 -0400 Subject: [PATCH] [python] Temporarily pin to AnnData 0.9.* --- apis/python/setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apis/python/setup.py b/apis/python/setup.py index 752f6114ab..5c431afbad 100644 --- a/apis/python/setup.py +++ b/apis/python/setup.py @@ -269,7 +269,9 @@ def run(self): install_requires=[ # Needed for Python 3.7 which anndata 0.9 doesn't support but we do "anndata < 0.9; python_version<'3.8'", - "anndata; python_version>='3.8'", + # Temporary until we align with a compatibility issue in AnnData 0.10.0. + # This is tracked in https://github.com/single-cell-data/TileDB-SOMA/issues/1765. + "anndata=~'0.9.0'; python_version>='3.8'", "attrs>=22.2", "numba~=0.58.0; python_version>='3.8'", # Older numba version needed for Python3.7.