experiment: use uv and dependency-groups in build pipelines#14122
Draft
RonnyPfannschmidt wants to merge 1 commit intopytest-dev:mainfrom
Draft
experiment: use uv and dependency-groups in build pipelines#14122RonnyPfannschmidt wants to merge 1 commit intopytest-dev:mainfrom
RonnyPfannschmidt wants to merge 1 commit intopytest-dev:mainfrom
Conversation
7adf801 to
02b004f
Compare
This is an experimental change to modernize the build infrastructure: - Add uv.lock for reproducible dependency resolution - Migrate from optional-dependencies to dependency-groups (PEP 735) - Configure tox to use tox-uv for faster dependency installation - Update all GitHub Actions workflows to install tox-uv - Update minimum version pins to sensible modern values: - iniconfig>=2, packaging>=24, pygments>=2.15, tomli>=2 - attrs>=23.1, hypothesis>=6.75, numpy>=1.26, pytest-xdist>=3.5 - coverage>=7.5, pexpect>=4.9, pre-commit>=4 - Remove py library from dev deps (pytest vendors its own minimal version) Usage: uv sync --group dev # Install with dev dependencies uv run pytest # Run tests uvx --with tox-uv tox # Run tox with uv backend Co-authored-by: Cursor AI <ai@cursor.sh> Co-authored-by: Anthropic Claude <claude@anthropic.com>
02b004f to
4d21d6f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Experiment to modernize build infrastructure:
Usage:
uv sync --group dev && uv run pytest