Skip to content

chore: move pytest and pytest-cov to the dev optional dependencies#5188

Open
LuciferYang wants to merge 1 commit into
lance-format:mainfrom
LuciferYang:chore/move-test-deps
Open

chore: move pytest and pytest-cov to the dev optional dependencies#5188
LuciferYang wants to merge 1 commit into
lance-format:mainfrom
LuciferYang:chore/move-test-deps

Conversation

@LuciferYang

Copy link
Copy Markdown

pytest and pytest-cov were listed under [project.dependencies], so installing lance-ray as a library pulled the test runner in as a runtime requirement even though it's only needed to run the suite. This moves both into the existing dev optional-dependencies group, next to pytest-asyncio, pytest-xdist, and ruff.

uv.lock is regenerated to match, so the two now resolve under extra == "dev". CI already runs uv sync --extra dev before the tests and CONTRIBUTING tells contributors to install .[dev], so the test workflow is unchanged — only a plain pip install lance-ray gets lighter.

pytest and pytest-cov were listed under [project].dependencies, so every
install of lance-ray as a library pulled in the test runner. Move them to
the existing [project.optional-dependencies].dev group.
@github-actions github-actions Bot added the chore label Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant