Skip to content

Commit

Permalink
Use pyarrow_hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkerl committed Nov 21, 2023
1 parent 7597ffa commit e5048ee
Show file tree
Hide file tree
Showing 12 changed files with 27 additions and 5 deletions.
3 changes: 3 additions & 0 deletions 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
2 changes: 1 addition & 1 deletion python-spec/requirements-py3.10.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ numba==0.58.0
numpy==1.25.2
packaging==23.1
pandas==2.1.1
pyarrow>=14.0.1
pyarrow==13.0.0
python-dateutil==2.8.2
pytz==2023.3.post1
scipy==1.11.3
Expand Down
2 changes: 1 addition & 1 deletion python-spec/requirements-py3.7.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ numba==0.56.4
numpy==1.21.6
packaging==23.1
pandas==1.3.5
pyarrow!=14.0.0
pyarrow==12.0.1
python-dateutil==2.8.2
pytz==2023.3.post1
scipy==1.7.3
Expand Down
2 changes: 1 addition & 1 deletion python-spec/requirements-py3.8-lint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pandas==2.0.3
pathspec==0.11.2
platformdirs==3.10.0
pre-commit==3.4.0
pyarrow>=14.0.1
pyarrow==13.0.0
python-dateutil==2.8.2
pytz==2023.3.post1
PyYAML==6.0.1
Expand Down
2 changes: 1 addition & 1 deletion python-spec/requirements-py3.8.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ numba==0.58.0
numpy==1.24.4
packaging==23.1
pandas==2.0.3
pyarrow>=14.0.1
pyarrow==13.0.0
python-dateutil==2.8.2
pytz==2023.3.post1
scipy==1.10.1
Expand Down
2 changes: 1 addition & 1 deletion python-spec/requirements-py3.9.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ numba==0.58.0
numpy==1.25.2
packaging==23.1
pandas==2.1.1
pyarrow>=14.0.1
pyarrow==13.0.0
python-dateutil==2.8.2
pytz==2023.3.post1
rsa==4.7.2
Expand Down
4 changes: 4 additions & 0 deletions python-spec/src/somacore/collection.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import abc
from typing import Any, MutableMapping, Optional, Sequence, Type, TypeVar, overload

# ruff: noqa
import pyarrow as pa

# ruff: noqa
import pyarrow_hotfix
from typing_extensions import Final, Self

from . import base
Expand Down
3 changes: 3 additions & 0 deletions python-spec/src/somacore/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
)

import pyarrow as pa

# ruff: noqa
import pyarrow_hotfix
from typing_extensions import Final, Literal, Self

from . import base
Expand Down
3 changes: 3 additions & 0 deletions python-spec/src/somacore/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
import numpy as np
import numpy.typing as npt
import pyarrow as pa

# ruff: noqa
import pyarrow_hotfix
from typing_extensions import Final, Literal

from . import types
Expand Down
3 changes: 3 additions & 0 deletions python-spec/src/somacore/query/_fast_csr.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
import numpy.typing as npt
import pandas as pd
import pyarrow as pa

# ruff: noqa
import pyarrow_hotfix
from scipy import sparse

from .. import data as scd
Expand Down
3 changes: 3 additions & 0 deletions python-spec/src/somacore/query/axis.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
import numpy as np
import pyarrow as pa

# ruff: noqa
import pyarrow_hotfix

from .. import options
from .. import types

Expand Down
3 changes: 3 additions & 0 deletions python-spec/src/somacore/query/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
import numpy.typing as npt
import pandas as pd
import pyarrow as pa

# ruff: noqa
import pyarrow_hotfix
from scipy import sparse
from typing_extensions import Literal, Protocol, Self, TypedDict, assert_never

Expand Down

0 comments on commit e5048ee

Please sign in to comment.