Compare commits

..

1 Commits

Author SHA1 Message Date
Lance Release
4ece4a7835 Bump version: 0.22.4-beta.2 → 0.22.4-beta.3 2025-12-02 22:01:26 +00:00
8 changed files with 75 additions and 85 deletions

View File

@@ -1,9 +1,6 @@
name: Codex Update Lance Dependency
on:
pull_request:
paths:
- '.github/workflows/codex-update-lance-dependency.yml'
workflow_call:
inputs:
tag:
@@ -14,8 +11,7 @@ on:
inputs:
tag:
description: "Tag name from Lance"
required: false
default: "v1.0.0-rc.1"
required: true
type: string
permissions:
@@ -29,7 +25,7 @@ jobs:
steps:
- name: Show inputs
run: |
echo "tag = ${{ inputs.tag || 'v1.0.0-rc.1' }}"
echo "tag = ${{ inputs.tag }}"
- name: Checkout Repo LanceDB
uses: actions/checkout@v4
@@ -69,7 +65,7 @@ jobs:
- name: Run Codex to update Lance dependency
env:
TAG: ${{ inputs.tag || 'v1.0.0-rc.1' }}
TAG: ${{ inputs.tag }}
GITHUB_TOKEN: ${{ secrets.ROBOT_TOKEN }}
GH_TOKEN: ${{ secrets.ROBOT_TOKEN }}
OPENAI_API_KEY: ${{ secrets.CODEX_TOKEN }}
@@ -103,29 +99,9 @@ jobs:
printenv OPENAI_API_KEY | codex login --with-api-key
codex --config shell_environment_policy.ignore_default_excludes=true exec --dangerously-bypass-approvals-and-sandbox "$(cat /tmp/codex-prompt.txt)"
- name: Debug token access
env:
GH_TOKEN: ${{ secrets.ROBOT_TOKEN }}
run: |
set -euo pipefail
echo "=== Checking authenticated user ==="
gh api user --jq '.login' || echo "Failed to get user info"
echo ""
echo "=== Listing repos in lancedb org that token can access ==="
gh repo list lancedb --limit 50 --json name,visibility --jq '.[] | "\(.name) (\(.visibility))"' || echo "Failed to list repos"
echo ""
echo "=== Checking if sophon repo exists and is accessible ==="
gh repo view lancedb/sophon --json name,visibility 2>&1 || echo "Cannot access lancedb/sophon"
echo ""
echo "=== Checking token scopes ==="
gh api -i user 2>&1 | grep -i "x-oauth-scopes" || echo "Could not determine token scopes"
- name: Trigger sophon dependency update
env:
TAG: ${{ inputs.tag || 'v1.0.0-rc.1' }}
TAG: ${{ inputs.tag }}
GH_TOKEN: ${{ secrets.ROBOT_TOKEN }}
run: |
set -euo pipefail

View File

@@ -97,6 +97,12 @@ jobs:
fail-fast: false
matrix:
settings:
- target: x86_64-apple-darwin
host: macos-latest
features: ","
pre_build: |-
brew install protobuf
rustup target add x86_64-apple-darwin
- target: aarch64-apple-darwin
host: macos-latest
features: fp16kernels

View File

@@ -64,6 +64,8 @@ jobs:
strategy:
matrix:
config:
- target: x86_64-apple-darwin
runner: macos-15-large
- target: aarch64-apple-darwin
runner: warp-macos-14-arm64-6x
env:

View File

@@ -143,9 +143,16 @@ jobs:
- name: Delete wheels
run: rm -rf target/wheels
platform:
name: "Mac"
name: "Mac: ${{ matrix.config.name }}"
timeout-minutes: 30
runs-on: macos-14
strategy:
matrix:
config:
- name: x86
runner: macos-15-large
- name: Arm
runner: macos-14
runs-on: "${{ matrix.config.runner }}"
defaults:
run:
shell: bash

74
Cargo.lock generated
View File

@@ -3102,8 +3102,8 @@ checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c"
[[package]]
name = "fsst"
version = "1.0.0-rc.1"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.1#a9b9a7ef8853ec0650ab266f1528f91f735d3b0f"
version = "1.0.0-beta.16"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727"
dependencies = [
"arrow-array",
"rand 0.9.2",
@@ -4460,8 +4460,8 @@ dependencies = [
[[package]]
name = "lance"
version = "1.0.0-rc.1"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.1#a9b9a7ef8853ec0650ab266f1528f91f735d3b0f"
version = "1.0.0-beta.16"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727"
dependencies = [
"arrow",
"arrow-arith",
@@ -4526,8 +4526,8 @@ dependencies = [
[[package]]
name = "lance-arrow"
version = "1.0.0-rc.1"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.1#a9b9a7ef8853ec0650ab266f1528f91f735d3b0f"
version = "1.0.0-beta.16"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -4545,8 +4545,8 @@ dependencies = [
[[package]]
name = "lance-bitpacking"
version = "1.0.0-rc.1"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.1#a9b9a7ef8853ec0650ab266f1528f91f735d3b0f"
version = "1.0.0-beta.16"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727"
dependencies = [
"arrayref",
"paste",
@@ -4555,8 +4555,8 @@ dependencies = [
[[package]]
name = "lance-core"
version = "1.0.0-rc.1"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.1#a9b9a7ef8853ec0650ab266f1528f91f735d3b0f"
version = "1.0.0-beta.16"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -4592,8 +4592,8 @@ dependencies = [
[[package]]
name = "lance-datafusion"
version = "1.0.0-rc.1"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.1#a9b9a7ef8853ec0650ab266f1528f91f735d3b0f"
version = "1.0.0-beta.16"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727"
dependencies = [
"arrow",
"arrow-array",
@@ -4623,8 +4623,8 @@ dependencies = [
[[package]]
name = "lance-datagen"
version = "1.0.0-rc.1"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.1#a9b9a7ef8853ec0650ab266f1528f91f735d3b0f"
version = "1.0.0-beta.16"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727"
dependencies = [
"arrow",
"arrow-array",
@@ -4641,8 +4641,8 @@ dependencies = [
[[package]]
name = "lance-encoding"
version = "1.0.0-rc.1"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.1#a9b9a7ef8853ec0650ab266f1528f91f735d3b0f"
version = "1.0.0-beta.16"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727"
dependencies = [
"arrow-arith",
"arrow-array",
@@ -4679,8 +4679,8 @@ dependencies = [
[[package]]
name = "lance-file"
version = "1.0.0-rc.1"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.1#a9b9a7ef8853ec0650ab266f1528f91f735d3b0f"
version = "1.0.0-beta.16"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727"
dependencies = [
"arrow-arith",
"arrow-array",
@@ -4712,8 +4712,8 @@ dependencies = [
[[package]]
name = "lance-geo"
version = "1.0.0-rc.1"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.1#a9b9a7ef8853ec0650ab266f1528f91f735d3b0f"
version = "1.0.0-beta.16"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727"
dependencies = [
"datafusion",
"geo-types",
@@ -4724,8 +4724,8 @@ dependencies = [
[[package]]
name = "lance-index"
version = "1.0.0-rc.1"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.1#a9b9a7ef8853ec0650ab266f1528f91f735d3b0f"
version = "1.0.0-beta.16"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727"
dependencies = [
"arrow",
"arrow-arith",
@@ -4786,8 +4786,8 @@ dependencies = [
[[package]]
name = "lance-io"
version = "1.0.0-rc.1"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.1#a9b9a7ef8853ec0650ab266f1528f91f735d3b0f"
version = "1.0.0-beta.16"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727"
dependencies = [
"arrow",
"arrow-arith",
@@ -4827,8 +4827,8 @@ dependencies = [
[[package]]
name = "lance-linalg"
version = "1.0.0-rc.1"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.1#a9b9a7ef8853ec0650ab266f1528f91f735d3b0f"
version = "1.0.0-beta.16"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -4844,8 +4844,8 @@ dependencies = [
[[package]]
name = "lance-namespace"
version = "1.0.0-rc.1"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.1#a9b9a7ef8853ec0650ab266f1528f91f735d3b0f"
version = "1.0.0-beta.16"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727"
dependencies = [
"arrow",
"async-trait",
@@ -4857,8 +4857,8 @@ dependencies = [
[[package]]
name = "lance-namespace-impls"
version = "1.0.0-rc.1"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.1#a9b9a7ef8853ec0650ab266f1528f91f735d3b0f"
version = "1.0.0-beta.16"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727"
dependencies = [
"arrow",
"arrow-ipc",
@@ -4896,8 +4896,8 @@ dependencies = [
[[package]]
name = "lance-table"
version = "1.0.0-rc.1"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.1#a9b9a7ef8853ec0650ab266f1528f91f735d3b0f"
version = "1.0.0-beta.16"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727"
dependencies = [
"arrow",
"arrow-array",
@@ -4936,8 +4936,8 @@ dependencies = [
[[package]]
name = "lance-testing"
version = "1.0.0-rc.1"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.1#a9b9a7ef8853ec0650ab266f1528f91f735d3b0f"
version = "1.0.0-beta.16"
source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727"
dependencies = [
"arrow-array",
"arrow-schema",
@@ -4948,7 +4948,7 @@ dependencies = [
[[package]]
name = "lancedb"
version = "0.22.4-beta.3"
version = "0.22.4-beta.2"
dependencies = [
"ahash",
"anyhow",
@@ -5043,7 +5043,7 @@ dependencies = [
[[package]]
name = "lancedb-nodejs"
version = "0.22.4-beta.3"
version = "0.22.4-beta.2"
dependencies = [
"arrow-array",
"arrow-ipc",
@@ -5063,7 +5063,7 @@ dependencies = [
[[package]]
name = "lancedb-python"
version = "0.25.4-beta.3"
version = "0.25.4-beta.2"
dependencies = [
"arrow",
"async-trait",

View File

@@ -15,20 +15,20 @@ categories = ["database-implementations"]
rust-version = "1.78.0"
[workspace.dependencies]
lance = { "version" = "=1.0.0-rc.1", default-features = false, "tag" = "v1.0.0-rc.1", "git" = "https://github.com/lance-format/lance.git" }
lance-core = { "version" = "=1.0.0-rc.1", "tag" = "v1.0.0-rc.1", "git" = "https://github.com/lance-format/lance.git" }
lance-datagen = { "version" = "=1.0.0-rc.1", "tag" = "v1.0.0-rc.1", "git" = "https://github.com/lance-format/lance.git" }
lance-file = { "version" = "=1.0.0-rc.1", "tag" = "v1.0.0-rc.1", "git" = "https://github.com/lance-format/lance.git" }
lance-io = { "version" = "=1.0.0-rc.1", default-features = false, "tag" = "v1.0.0-rc.1", "git" = "https://github.com/lance-format/lance.git" }
lance-index = { "version" = "=1.0.0-rc.1", "tag" = "v1.0.0-rc.1", "git" = "https://github.com/lance-format/lance.git" }
lance-linalg = { "version" = "=1.0.0-rc.1", "tag" = "v1.0.0-rc.1", "git" = "https://github.com/lance-format/lance.git" }
lance-namespace = { "version" = "=1.0.0-rc.1", "tag" = "v1.0.0-rc.1", "git" = "https://github.com/lance-format/lance.git" }
lance-namespace-impls = { "version" = "=1.0.0-rc.1", default-features = false, "tag" = "v1.0.0-rc.1", "git" = "https://github.com/lance-format/lance.git" }
lance-table = { "version" = "=1.0.0-rc.1", "tag" = "v1.0.0-rc.1", "git" = "https://github.com/lance-format/lance.git" }
lance-testing = { "version" = "=1.0.0-rc.1", "tag" = "v1.0.0-rc.1", "git" = "https://github.com/lance-format/lance.git" }
lance-datafusion = { "version" = "=1.0.0-rc.1", "tag" = "v1.0.0-rc.1", "git" = "https://github.com/lance-format/lance.git" }
lance-encoding = { "version" = "=1.0.0-rc.1", "tag" = "v1.0.0-rc.1", "git" = "https://github.com/lance-format/lance.git" }
lance-arrow = { "version" = "=1.0.0-rc.1", "tag" = "v1.0.0-rc.1", "git" = "https://github.com/lance-format/lance.git" }
lance = { "version" = "=1.0.0-beta.16", default-features = false, "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" }
lance-core = { "version" = "=1.0.0-beta.16", "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" }
lance-datagen = { "version" = "=1.0.0-beta.16", "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" }
lance-file = { "version" = "=1.0.0-beta.16", "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" }
lance-io = { "version" = "=1.0.0-beta.16", default-features = false, "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" }
lance-index = { "version" = "=1.0.0-beta.16", "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" }
lance-linalg = { "version" = "=1.0.0-beta.16", "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" }
lance-namespace = { "version" = "=1.0.0-beta.16", "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" }
lance-namespace-impls = { "version" = "=1.0.0-beta.16", default-features = false, "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" }
lance-table = { "version" = "=1.0.0-beta.16", "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" }
lance-testing = { "version" = "=1.0.0-beta.16", "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" }
lance-datafusion = { "version" = "=1.0.0-beta.16", "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" }
lance-encoding = { "version" = "=1.0.0-beta.16", "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" }
lance-arrow = { "version" = "=1.0.0-beta.16", "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" }
ahash = "0.8"
# Note that this one does not include pyarrow
arrow = { version = "56.2", optional = false }

View File

@@ -260,8 +260,7 @@ else:
if version.startswith("v"):
version = version[1:]
prerelease_tokens = ("beta", "rc", "alpha")
if any(token in version for token in prerelease_tokens):
if "beta" in version:
set_preview_version(version)
else:
set_stable_version(version)

View File

@@ -1,12 +1,12 @@
{
"name": "@lancedb/lancedb",
"version": "0.22.4-beta.3",
"version": "0.22.4-beta.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lancedb/lancedb",
"version": "0.22.4-beta.3",
"version": "0.22.4-beta.2",
"cpu": [
"x64",
"arm64"