Skip to content

Commit

Permalink
[python] Update pyarrow dependency (#1925)
Browse files Browse the repository at this point in the history
* [python] Update pyarrow dependency

* Use pyarrow_hotfix

* lint

* round n+1 of code review

* more hyperlinks
  • Loading branch information
johnkerl authored Dec 1, 2023
1 parent 69e0f30 commit 2eb024e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 6 additions & 1 deletion apis/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,12 @@ def run(self):
"numba==0.56.4; python_version<'3.8'",
"numpy>=1.18,<1.24; python_version<'3.8'",
"pandas",
"pyarrow>=9.0.0,<13.0.0", # MacOS issue with import pyarrow before import tiledb at >= 13.0
# 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",
"scanpy>=1.9.2",
"scipy",
"somacore==1.0.4",
Expand Down
5 changes: 5 additions & 0 deletions apis/python/src/tiledbsoma/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@
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
# ruff: noqa
import pyarrow_hotfix

from ._collection import Collection
from ._constants import SOMA_JOINID
from ._dataframe import DataFrame
Expand Down

0 comments on commit 2eb024e

Please sign in to comment.