Compare commits

...

10 Commits

Author SHA1 Message Date
Lance Release
6602a86dcb Bump version: 0.9.0-beta.8 → 0.9.0-beta.9 2025-05-28 16:53:20 +00:00
Lu Qiu
2025aefe80 Fix build issues 2025-05-28 09:50:42 -07:00
Lu Qiu
68724c5d57 add bypass_vector_column 2025-05-27 20:46:04 -07:00
Lance Release
1884fe8a3e Bump version: 0.9.0-beta.7 → 0.9.0-beta.8 2025-02-26 15:03:57 +00:00
Ryan Green
d8111b259c Merge remote-tracking branch 'origin/python-v0.9.4-patch' into python-v0.9.4-patch 2025-02-26 11:31:34 -03:30
Ryan Green
3c74bf5c7a Pin chrono version 2025-02-26 11:31:29 -03:30
Lance Release
b64bb75a82 Bump version: 0.9.0-beta.6 → 0.9.0-beta.7 2025-02-26 13:29:54 +00:00
Ryan Green
93e03ec702 revert worfklow 2025-02-26 09:56:08 -03:30
Ryan Green
7a94a7e171 Merge remote-tracking branch 'origin/python-v0.9.4-patch' into python-v0.9.4-patch 2025-02-26 09:52:55 -03:30
Ryan Green
acae6522fb workaround "edition2024" issue 2025-02-26 09:52:48 -03:30
8 changed files with 7164 additions and 21 deletions

View File

@@ -15,21 +15,15 @@ jobs:
- platform: x86_64
manylinux: "2_17"
extra_args: ""
runner: ubuntu-22.04
- platform: x86_64
manylinux: "2_28"
extra_args: "--features fp16kernels"
runner: ubuntu-22.04
- platform: aarch64
manylinux: "2_17"
manylinux: "2_24"
extra_args: ""
# For successful fat LTO builds, we need a large runner to avoid OOM errors.
runner: ubuntu-2404-8x-arm64
- platform: aarch64
manylinux: "2_28"
extra_args: "--features fp16kernels"
runner: ubuntu-2404-8x-arm64
runs-on: ${{ matrix.config.runner }}
# We don't build fp16 kernels for aarch64, because it uses
# cross compilation image, which doesn't have a new enough compiler.
runs-on: "ubuntu-22.04"
steps:
- uses: actions/checkout@v4
with:
@@ -89,7 +83,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.12
python-version: 3.8
- uses: ./.github/workflows/build_windows_wheel
with:
python-minor-version: 8
@@ -163,4 +157,4 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
generate_release_notes: false
name: Python LanceDB v${{ steps.extract_version.outputs.version }}
body: ${{ steps.python_release_notes.outputs.changelog }}
body: ${{ steps.python_release_notes.outputs.changelog }}

2
.gitignore vendored
View File

@@ -41,5 +41,3 @@ dist
target
**/sccache.log
Cargo.lock

7145
Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -35,7 +35,7 @@ arrow-schema = "51.0"
arrow-arith = "51.0"
arrow-cast = "51.0"
async-trait = "0"
chrono = "0.4.35"
chrono = "=0.4.39"
datafusion-physical-plan = "37.1"
half = { "version" = "=2.4.1", default-features = false, features = [
"num-traits",
@@ -45,7 +45,8 @@ log = "0.4"
object_store = "0.9.0"
pin-project = "1.0.7"
snafu = "0.7.4"
url = "2"
url = "=2.3.1"
num-traits = "0.2"
regex = "1.10"
lazy_static = "1"
napi-build = "=2.1.2"

View File

@@ -15,14 +15,15 @@ crate-type = ["cdylib"]
arrow-ipc.workspace = true
futures.workspace = true
lancedb = { path = "../rust/lancedb" }
napi = { version = "2.15", default-features = false, features = [
napi = { version = "=2.16.1", default-features = false, features = [
"napi7",
"async",
] }
napi-derive = "2"
napi-derive = "=2.16.1"
napi-build = "=2.1.2"
# Prevent dynamic linking of lzma, which comes from datafusion
lzma-sys = { version = "*", features = ["static"] }
[build-dependencies]
napi-build = "2.1"
napi-build = "=2.1.2"

View File

@@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "0.9.0-beta.6"
current_version = "0.9.0-beta.9"
parse = """(?x)
(?P<major>0|[1-9]\\d*)\\.
(?P<minor>0|[1-9]\\d*)\\.

View File

@@ -1,6 +1,6 @@
[package]
name = "lancedb-python"
version = "0.9.0-beta.6"
version = "0.9.0-beta.9"
edition.workspace = true
description = "Python bindings for LanceDB"
license.workspace = true
@@ -19,6 +19,8 @@ lancedb = { path = "../rust/lancedb" }
env_logger = "0.10"
pyo3 = { version = "0.20", features = ["extension-module", "abi3-py38"] }
pyo3-asyncio = { version = "0.20", features = ["attributes", "tokio-runtime"] }
base64ct = "=1.6.0" # workaround for https://github.com/RustCrypto/formats/issues/1684
chrono = "=0.4.39"
# Prevent dynamic linking of lzma, which comes from datafusion
lzma-sys = { version = "*", features = ["static"] }

View File

@@ -47,6 +47,8 @@ class VectorQuery(BaseModel):
vector_column: str = VECTOR_COLUMN_NAME
bypass_vector_index: Optional[bool] = None
@attrs.define
class VectorQueryResult: