Skip to content

Commit

Permalink
[python] Depend on somacore 1.0.0rc3 (#1012)
Browse files Browse the repository at this point in the history
* [python] Depend on somacore 1.0.0rc3

* advice from @thetorpedodog
  • Loading branch information
johnkerl authored Feb 27, 2023
1 parent f76a6c7 commit 793e750
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repos:
- id: mypy
additional_dependencies:
- "pandas-stubs"
- "somacore==1.0.0rc2"
- "somacore==1.0.0rc3"
- "types-setuptools"
args: ["--config-file=apis/python/pyproject.toml", "apis/python/src", "apis/python/devtools"]
pass_filenames: false
2 changes: 1 addition & 1 deletion apis/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def run(self):
"pyarrow>=9.0.0",
"scanpy>=1.9.2",
"scipy",
"somacore==1.0.0rc2",
"somacore==1.0.0rc3",
"tiledb==0.20.*",
"typing-extensions", # Note "-" even though `import typing_extensions`
],
Expand Down
4 changes: 2 additions & 2 deletions apis/python/src/tiledbsoma/_dense_nd_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class DenseNDArray(NDArray, somacore.DenseNDArray):

def read(
self,
coords: options.DenseNDCoords = (),
coords: options.DenseNDCoords = (), # type: ignore[type-arg]
*,
result_order: options.ResultOrderStr = somacore.ResultOrder.ROW_MAJOR,
partitions: Optional[options.ReadPartitions] = None,
Expand Down Expand Up @@ -118,7 +118,7 @@ def read(

def write(
self,
coords: options.DenseNDCoords,
coords: options.DenseNDCoords, # type: ignore[type-arg]
values: pa.Tensor,
*,
platform_config: Optional[options.PlatformConfig] = None,
Expand Down
2 changes: 1 addition & 1 deletion apis/python/src/tiledbsoma/_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def slice_to_numeric_range(


def dense_indices_to_shape(
coords: options.DenseNDCoords,
coords: options.DenseNDCoords, # type: ignore[type-arg]
array_shape: Tuple[int, ...],
result_order: somacore.ResultOrder,
) -> Tuple[int, ...]:
Expand Down

0 comments on commit 793e750

Please sign in to comment.