Remove Pyenv in favor of uv in CI/CD#487
Open
wavefunction91 wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Azure DevOps wheel build/test pipelines to stop using pyenv and instead provision Python via uv inside Linux Docker containers, while using UsePythonVersion@0 for macOS native runs.
Changes:
- Removed
pyenvVersionparameters and allpyenvbootstrapping logic from wheel build/test scripts. - Added
uv-based Python installation in Linux container scripts (uv python install/find), to avoid relying on system Python. - Updated macOS pipeline paths to use
UsePythonVersion@0before running the native wheel build/test scripts.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| .pipelines/templates/test-pip-wheels.yml | Drops pyenv parameter passing; adds UsePythonVersion@0 for macOS wheel testing. |
| .pipelines/templates/build-pip-wheels.yml | Drops pyenv parameter passing; adds UsePythonVersion@0 for macOS wheel builds. |
| .pipelines/pip-scripts/test-pip-wheels.sh | Replaces pyenv installation with uv-installed standalone Python on Linux. |
| .pipelines/pip-scripts/build-pip-wheels.sh | Replaces pyenv installation with uv-installed standalone Python on Linux. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+69
to
+72
| if [ "$MAC_BUILD" == "OFF" ]; then | ||
| echo "Installing uv..." | ||
| curl -LsSf https://astral.sh/uv/install.sh | sh | ||
| export PATH="$HOME/.local/bin:$PATH" |
Comment on lines
+117
to
+120
| if [ "$MAC_BUILD" == "OFF" ]; then | ||
| echo "Installing uv..." | ||
| curl -LsSf https://astral.sh/uv/install.sh | sh | ||
| export PATH="$HOME/.local/bin:$PATH" |
📊 Coverage Summary
Detailed Coverage ReportsC++ Coverage DetailsPython Coverage DetailsPybind11 Coverage Details |
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.
No description provided.