diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 8f26af19..1465875d 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -30,7 +30,7 @@ jobs: python-version: 3.${{ matrix.python-minor-version }} - name: Install lancedb run: | - pip install -e . + pip install -e .[tests] pip install tantivy@git+https://github.com/quickwit-oss/tantivy-py#164adc87e1a033117001cf70e38c82a53014d985 pip install pytest pytest-mock black isort - name: Black @@ -59,7 +59,7 @@ jobs: python-version: "3.11" - name: Install lancedb run: | - pip install -e . + pip install -e .[tests] pip install tantivy@git+https://github.com/quickwit-oss/tantivy-py#164adc87e1a033117001cf70e38c82a53014d985 pip install pytest pytest-mock black - name: Black diff --git a/python/pyproject.toml b/python/pyproject.toml index 88f15f9f..8f5f7654 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "lancedb" version = "0.1.15" -dependencies = ["pylance~=0.5.8", "ratelimiter", "retry", "tqdm", "aiohttp", "pydantic", "attr", "semver"] +dependencies = ["pylance==0.5.10", "ratelimiter", "retry", "tqdm", "aiohttp", "pydantic", "attr", "semver"] description = "lancedb" authors = [ { name = "LanceDB Devs", email = "dev@lancedb.com" }, @@ -37,7 +37,7 @@ repository = "https://github.com/lancedb/lancedb" [project.optional-dependencies] tests = [ - "pytest", "pytest-mock", "pytest-asyncio" + "pandas>=1.4", "pytest", "pytest-mock", "pytest-asyncio" ] dev = [ "ruff", "pre-commit", "black"