Skip to content

Commit

Permalink
Update pyarrow dependency (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkerl authored Nov 21, 2023
1 parent 7777ac7 commit 7a922b0
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ dependencies = [
"numpy>=1.21",
"pandas",
"pyarrow",
# 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",
"scipy",
"typing-extensions>=4.1", # For LiteralString
]
Expand Down Expand Up @@ -56,5 +59,5 @@ warn_redundant_casts = true

[[tool.mypy.overrides]]
# These dependencies do not currently have canonical type stubs.
module = ["anndata", "numba", "pandas", "pyarrow", "scipy"]
module = ["anndata", "numba", "pandas", "pyarrow", "pyarrow_hotfix", "scipy"]
ignore_missing_imports = true
1 change: 1 addition & 0 deletions python-spec/requirements-py3.10.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ numpy==1.25.2
packaging==23.1
pandas==2.1.1
pyarrow==13.0.0
pyarrow_hotfix==0.6.0
python-dateutil==2.8.2
pytz==2023.3.post1
scipy==1.11.3
Expand Down
1 change: 1 addition & 0 deletions python-spec/requirements-py3.7.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ numpy==1.21.6
packaging==23.1
pandas==1.3.5
pyarrow==12.0.1
pyarrow_hotfix==0.6.0
python-dateutil==2.8.2
pytz==2023.3.post1
scipy==1.7.3
Expand Down
1 change: 1 addition & 0 deletions python-spec/requirements-py3.8-lint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ pathspec==0.11.2
platformdirs==3.10.0
pre-commit==3.4.0
pyarrow==13.0.0
pyarrow_hotfix==0.6.0
python-dateutil==2.8.2
pytz==2023.3.post1
PyYAML==6.0.1
Expand Down
1 change: 1 addition & 0 deletions python-spec/requirements-py3.8.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ numpy==1.24.4
packaging==23.1
pandas==2.0.3
pyarrow==13.0.0
pyarrow_hotfix==0.6.0
python-dateutil==2.8.2
pytz==2023.3.post1
scipy==1.10.1
Expand Down
1 change: 1 addition & 0 deletions python-spec/requirements-py3.9.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ numpy==1.25.2
packaging==23.1
pandas==2.1.1
pyarrow==13.0.0
pyarrow_hotfix==0.6.0
python-dateutil==2.8.2
pytz==2023.3.post1
rsa==4.7.2
Expand Down
5 changes: 5 additions & 0 deletions python-spec/src/somacore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@

from typing import Tuple, Union

# 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 .base import SOMAObject
from .collection import Collection
from .data import DataFrame
Expand Down

0 comments on commit 7a922b0

Please sign in to comment.