Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions apis/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,13 +332,7 @@ def run(self):
"numba>=0.58.0",
"numpy<2.0",
"pandas",
# TODO: once we no longer support Python 3.7, remove this and pin to pyarrow >= 14.0.1
# https://github.com/single-cell-data/TileDB-SOMA/issues/1926
"pyarrow_hotfix",
# MacOS issue with import pyarrow before import tiledb at >= 13.0:
# https://github.com/single-cell-data/TileDB-SOMA/issues/1926#issuecomment-1834695149
"pyarrow>=9.0.0,<13.0.0; platform_system=='Darwin'",
"pyarrow>=9.0.0; platform_system!='Darwin'",
"pyarrow",
"scanpy>=1.9.2",
"scipy",
# Note: the somacore version is in .pre-commit-config.yaml too
Expand Down
11 changes: 7 additions & 4 deletions apis/python/src/tiledbsoma/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,11 @@ def _new_shape_feature_flag_enabled() -> bool:
from somacore import AxisColumnNames, AxisQuery, ExperimentAxisQuery
from somacore.options import ResultOrder

# TODO: once we no longer support Python 3.7, remove this and pin to pyarrow >= 14.0.1
# https://github.com/single-cell-data/TileDB-SOMA/issues/1926
# This is important since we need to do the above dll/dylib/so business
# _before_ imports, but, ruff will tell us that imports need to be
# at the top of the file:
#
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Link for #3001

# ruff: noqa
import pyarrow_hotfix

from ._collection import Collection
from ._constants import SOMA_JOINID
Expand Down Expand Up @@ -185,8 +186,8 @@ def _new_shape_feature_flag_enabled() -> bool:
tiledbsoma_stats_reset,
)
from .stats import (
tiledbsoma_stats_json,
tiledbsoma_stats_as_py,
tiledbsoma_stats_json,
)

__version__ = get_implementation_version()
Expand Down Expand Up @@ -223,4 +224,6 @@ def _new_shape_feature_flag_enabled() -> bool:
"tiledbsoma_stats_dump",
"tiledbsoma_stats_enable",
"tiledbsoma_stats_reset",
"tiledbsoma_stats_as_py",
"tiledbsoma_stats_json",
]