From a8ce6bb9d6a569487faa0e86c4acd133750a57a5 Mon Sep 17 00:00:00 2001 From: John Kerl Date: Wed, 11 Oct 2023 15:05:42 -0400 Subject: [PATCH 1/2] [python] Use AnnData 0.10.1 --- apis/python/setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apis/python/setup.py b/apis/python/setup.py index 7ce024e6e3..752f6114ab 100644 --- a/apis/python/setup.py +++ b/apis/python/setup.py @@ -269,9 +269,7 @@ 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'", - # 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.10.0; python_version>='3.8'", + "anndata; python_version>='3.8'", "attrs>=22.2", "numba~=0.58.0; python_version>='3.8'", # Older numba version needed for Python3.7. From 73dd427bcb6ec75398ce3a1d3ba3171fd28022c9 Mon Sep 17 00:00:00 2001 From: John Kerl Date: Wed, 11 Oct 2023 15:24:51 -0400 Subject: [PATCH 2/2] code-review feedback --- apis/python/setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apis/python/setup.py b/apis/python/setup.py index 752f6114ab..97e42dd93e 100644 --- a/apis/python/setup.py +++ b/apis/python/setup.py @@ -269,7 +269,8 @@ 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'", + # Tracked in https://github.com/single-cell-data/TileDB-SOMA/issues/1785 + "anndata != 0.10.0; python_version>='3.8'", "attrs>=22.2", "numba~=0.58.0; python_version>='3.8'", # Older numba version needed for Python3.7.