-
Notifications
You must be signed in to change notification settings - Fork 0
test ci #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
test ci #1
Conversation
- Replace actions/setup-python with astral-sh/setup-uv in all workflows - Update composite actions to use uv commands (uv pip, uv build, etc.) - Add uv caching with enable-cache: true and uv cache prune --ci - Add UV_TORCH_BACKEND: cpu for PyTorch installations - Update cache action to only handle conda caching
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR migrates the CI/CD workflows from using pip to uv as the Python package manager. The migration aims to improve build and installation performance by leveraging uv's faster dependency resolution and installation capabilities.
Key changes:
- Replaced
actions/setup-python@v6withastral-sh/setup-uv@v7across all workflows - Updated all
pipcommands touv pipequivalents throughout workflows and actions - Added
uv cache prune --cisteps to minimize cache size after installations - Added
UV_TORCH_BACKEND: cpuenvironment variable for workflows that install PyTorch - Removed pip-specific caching logic in favor of uv's built-in caching
- Updated
python -m buildtouv buildin package creation
Reviewed changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/release-pypi.yml |
Migrated to uv for package building and publishing workflow |
.github/workflows/deploy-docs.yml |
Switched to uv for documentation deployment, added UV_TORCH_BACKEND env var |
.github/workflows/cleanup-caches.yml |
Added uv setup and migrated pip commands |
.github/workflows/ci-testing.yml |
Migrated CI testing workflow to use uv, added UV_TORCH_BACKEND env var |
.github/workflows/ci-scripts.yml |
Updated both script testing jobs to use uv |
.github/workflows/ci-cli.yml |
Migrated CLI testing workflow to uv |
.github/workflows/check-typing.yml |
Updated type checking workflow to use uv, added UV_TORCH_BACKEND env var |
.github/workflows/check-schema.yml |
Migrated schema validation workflow to uv |
.github/workflows/check-precommit.yml |
Updated pre-commit workflow to use uv |
.github/workflows/check-package.yml |
Migrated package validation workflow to uv |
.github/workflows/check-docs.yml |
Updated documentation checking workflow to use uv, added UV_TORCH_BACKEND env var |
.github/actions/pkg-install/action.yml |
Replaced all pip commands with uv pip equivalents |
.github/actions/pkg-create/action.yml |
Changed from python -m build to uv build |
.github/actions/pip-list/action.yml |
Updated to use uv pip list instead of pip list |
.github/actions/cache/action.yml |
Removed pip caching logic, updated description to reflect conda-only caching |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Explicitly set activate-environment to true for clarity and consistency.
|
test pr for #Lightning-AI#453 |
test
📚 Documentation preview 📚: https://lit-utilities--1.org.readthedocs.build/en/1/