Skip to content

Commit e9c6772

Browse files
Merge pull request #152 from TileDB-Inc/npapa/build
Bump cloud dependency and use dynamic package version
2 parents fd45b22 + 2a73dac commit e9c6772

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

apis/python/pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[project]
22
name = "tiledb-vector-search"
3-
version = "0.0.14"
4-
#dynamic = ["version"]
3+
dynamic = ["version"]
54
description = "TileDB Vector Search Python client"
65
license = { text = "MIT" }
76
readme = "README.md"
@@ -19,7 +18,7 @@ classifiers = [
1918
]
2019

2120
dependencies = [
22-
"tiledb-cloud>=0.10.24",
21+
"tiledb-cloud>=0.11",
2322
"tiledb>=0.23.1",
2423
"typing-extensions", # for tiledb-cloud indirect, x-ref https://github.com/TileDB-Inc/TileDB-Cloud-Py/pull/428
2524
"scikit-learn",
@@ -47,7 +46,7 @@ zip-safe = false
4746

4847
[tool.setuptools_scm]
4948
root = "../.."
50-
#write_to = "apis/python/src/tiledb/vector_search/version.py"
49+
write_to = "apis/python/src/tiledb/vector_search/version.py"
5150

5251
[tool.ruff]
5352
extend-select = ["I"]

apis/python/src/tiledb/vector_search/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
validate_top_k)
1313
from .storage_formats import STORAGE_VERSION, storage_formats
1414

15+
try:
16+
from tiledb.vector_search.version import version as __version__
17+
except ImportError:
18+
__version__ = "0.0.0.local"
19+
1520
__all__ = [
1621
"FlatIndex",
1722
"IVFFlatIndex",

0 commit comments

Comments
 (0)