diff --git a/.github/workflows/build_linux_wheel/action.yml b/.github/workflows/build_linux_wheel/action.yml index fd9e7377..2c4927e0 100644 --- a/.github/workflows/build_linux_wheel/action.yml +++ b/.github/workflows/build_linux_wheel/action.yml @@ -46,6 +46,7 @@ runs: with: command: build working-directory: python + docker-options: "-e PIP_EXTRA_INDEX_URL=https://pypi.fury.io/lancedb/" target: aarch64-unknown-linux-gnu manylinux: ${{ inputs.manylinux }} args: ${{ inputs.args }} diff --git a/.github/workflows/build_mac_wheel/action.yml b/.github/workflows/build_mac_wheel/action.yml index 1932262d..9c7db5ea 100644 --- a/.github/workflows/build_mac_wheel/action.yml +++ b/.github/workflows/build_mac_wheel/action.yml @@ -21,5 +21,6 @@ runs: with: command: build args: ${{ inputs.args }} + docker-options: "-e PIP_EXTRA_INDEX_URL=https://pypi.fury.io/lancedb/" working-directory: python interpreter: 3.${{ inputs.python-minor-version }} diff --git a/.github/workflows/build_windows_wheel/action.yml b/.github/workflows/build_windows_wheel/action.yml index 756334f8..ac0f81c1 100644 --- a/.github/workflows/build_windows_wheel/action.yml +++ b/.github/workflows/build_windows_wheel/action.yml @@ -26,6 +26,7 @@ runs: with: command: build args: ${{ inputs.args }} + docker-options: "-e PIP_EXTRA_INDEX_URL=https://pypi.fury.io/lancedb/" working-directory: python - uses: actions/upload-artifact@v3 with: diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index a4f19340..04967e21 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -65,7 +65,7 @@ jobs: workspaces: python - name: Install run: | - pip install -e .[tests,dev,embeddings] + pip install --extra-index-url https://pypi.fury.io/lancedb/ -e .[tests,dev,embeddings] pip install tantivy pip install mlx - name: Doctest @@ -189,7 +189,7 @@ jobs: - name: Install lancedb run: | pip install "pydantic<2" - pip install -e .[tests] + pip install --extra-index-url https://pypi.fury.io/lancedb/ -e .[tests] pip install tantivy - name: Run tests run: pytest -m "not slow and not s3_test" -x -v --durations=30 python/tests diff --git a/.github/workflows/run_tests/action.yml b/.github/workflows/run_tests/action.yml index 2954d256..44623cce 100644 --- a/.github/workflows/run_tests/action.yml +++ b/.github/workflows/run_tests/action.yml @@ -15,7 +15,7 @@ runs: - name: Install lancedb shell: bash run: | - pip3 install $(ls target/wheels/lancedb-*.whl)[tests,dev] + pip3 install --extra-index-url https://pypi.fury.io/lancedb/ $(ls target/wheels/lancedb-*.whl)[tests,dev] - name: Setup localstack for integration tests if: ${{ inputs.integration == 'true' }} shell: bash diff --git a/Cargo.toml b/Cargo.toml index 81c02a6b..f8b1bacd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,11 +20,13 @@ keywords = ["lancedb", "lance", "database", "vector", "search"] categories = ["database-implementations"] [workspace.dependencies] -lance = { "version" = "=0.12.1", "features" = ["dynamodb"] } -lance-index = { "version" = "=0.12.1" } -lance-linalg = { "version" = "=0.12.1" } -lance-testing = { "version" = "=0.12.1" } -lance-datafusion = { "version" = "=0.12.1" } +lance = { "version" = "=0.12.2", "features" = [ + "dynamodb", +], git = "https://github.com/lancedb/lance.git", tag = "v0.12.2-beta.2" } +lance-index = { "version" = "=0.12.2", git = "https://github.com/lancedb/lance.git", tag = "v0.12.2-beta.2" } +lance-linalg = { "version" = "=0.12.2", git = "https://github.com/lancedb/lance.git", tag = "v0.12.2-beta.2" } +lance-testing = { "version" = "=0.12.2", git = "https://github.com/lancedb/lance.git", tag = "v0.12.2-beta.2" } +lance-datafusion = { "version" = "=0.12.2", git = "https://github.com/lancedb/lance.git", tag = "v0.12.2-beta.2" } # Note that this one does not include pyarrow arrow = { version = "51.0", optional = false } arrow-array = "51.0" diff --git a/python/pyproject.toml b/python/pyproject.toml index 6ce17763..91a336e3 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -3,7 +3,7 @@ name = "lancedb" # version in Cargo.toml dependencies = [ "deprecation", - "pylance==0.12.1", + "pylance==0.12.2-beta.2", "ratelimiter~=1.0", "requests>=2.31.0", "retry>=0.9.2", @@ -57,15 +57,10 @@ tests = [ "duckdb", "pytz", "polars>=0.19", - "tantivy" + "tantivy", ] dev = ["ruff", "pre-commit"] -docs = [ - "mkdocs", - "mkdocs-jupyter", - "mkdocs-material", - "mkdocstrings[python]", -] +docs = ["mkdocs", "mkdocs-jupyter", "mkdocs-material", "mkdocstrings[python]"] clip = ["torch", "pillow", "open-clip"] embeddings = [ "openai>=1.6.1", @@ -100,5 +95,5 @@ addopts = "--strict-markers --ignore-glob=lancedb/embeddings/*.py" markers = [ "slow: marks tests as slow (deselect with '-m \"not slow\"')", "asyncio", - "s3_test" + "s3_test", ]