Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
packages: write
strategy:
matrix:
lancedb: ["0.3.1", "0.3.4", "0.5", "0.16.0", "0.24.3"]
lancedb: ["0.3.1", "0.3.4", "0.5", "0.16.0", "0.24.3", "0.29.2"]

steps:
- name: Checkout repository
Expand All @@ -47,8 +47,8 @@ jobs:
type=ref,event=pr,suffix=-lancedb-${{ matrix.lancedb }}
type=semver,pattern=app-{{version}}_lancedb-${{ matrix.lancedb }}
type=raw,value=lancedb-${{ matrix.lancedb }}
type=raw,value=latest,enable=${{ matrix.lancedb == '0.24.3' && github.ref == 'refs/heads/main' }}
type=raw,value=stable,enable=${{ matrix.lancedb == '0.24.3' && startsWith(github.ref, 'refs/tags/') }}
type=raw,value=latest,enable=${{ matrix.lancedb == '0.29.2' && github.ref == 'refs/heads/main' }}
type=raw,value=stable,enable=${{ matrix.lancedb == '0.29.2' && startsWith(github.ref, 'refs/tags/') }}

- name: Build and push Docker image
uses: docker/build-push-action@v5
Expand All @@ -68,7 +68,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
lancedb: ["0.3.1", "0.3.4", "0.5", "0.16.0", "0.24.3"]
lancedb: ["0.3.1", "0.3.4", "0.5", "0.16.0", "0.24.3", "0.29.2"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions backend/constraints-0.16.0.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Constraints for lancedb 0.16.0 (anchor stable)
lancedb==0.16.0
numpy<2.0
pyarrow>=10,<17
1 change: 1 addition & 0 deletions backend/constraints-0.24.3.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Constraints for lancedb 0.24.3 (recommended 2025)
lancedb==0.24.3
numpy<2.0
pyarrow>=16,<22
3 changes: 3 additions & 0 deletions backend/constraints-0.29.2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Constraints for lancedb 0.29.2
lancedb==0.29.2
pyarrow>=16,<22
1 change: 1 addition & 0 deletions backend/constraints-0.3.1.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Constraints for lancedb 0.3.1 (legacy support)
lancedb==0.3.1
numpy<2.0
pyarrow==14.0.1
1 change: 1 addition & 0 deletions backend/constraints-0.3.4.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Constraints for lancedb 0.3.4 (current working version)
lancedb==0.3.4
numpy<2.0
pyarrow==14.0.1
1 change: 1 addition & 0 deletions backend/constraints-0.5.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Constraints for lancedb 0.5 (legacy support)
lancedb==0.5
numpy<2.0
pyarrow==14.0.1
2 changes: 1 addition & 1 deletion backend/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
fastapi==0.104.1
uvicorn[standard]==0.24.0
python-multipart==0.0.6
numpy<2.0
numpy
lancedb
pyarrow
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM python:3.11-slim-bookworm AS builder

# Build arguments for Lance version
ARG LANCEDB_VERSION=0.3.4
ARG LANCEDB_VERSION=0.29.2

WORKDIR /build

Expand Down Expand Up @@ -38,7 +38,7 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD curl -fsS http://localhost:8080/healthz || exit 1

# Build arguments for labels (redeclare after FROM)
ARG LANCEDB_VERSION=0.3.4
ARG LANCEDB_VERSION=0.29.2

LABEL org.opencontainers.image.title="Lance Data Viewer"
LABEL org.opencontainers.image.description="Read-only web viewer for Lance datasets"
Expand Down