Pin setup-uv in uv-ci to restore workflow execution#6
Merged
Conversation
Agent-Logs-Url: https://github.com/dustturtle/XClaw/sessions/b50f0354-e6f2-4155-b0b1-6d8f2e6e301e Co-authored-by: dustturtle <2305214+dustturtle@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dustturtle/XClaw/sessions/b50f0354-e6f2-4155-b0b1-6d8f2e6e301e Co-authored-by: dustturtle <2305214+dustturtle@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dustturtle/XClaw/sessions/b50f0354-e6f2-4155-b0b1-6d8f2e6e301e Co-authored-by: dustturtle <2305214+dustturtle@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dustturtle/XClaw/sessions/d3b0bc33-1498-4ae7-bce2-71e21fd6adb9 Co-authored-by: dustturtle <2305214+dustturtle@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
dustturtle
April 29, 2026 11:29
View session
There was a problem hiding this comment.
Pull request overview
This PR introduces a new uv-based CI workflow intended to stabilize the GitHub Actions bootstrap (by pinning astral-sh/setup-uv), and also updates the project’s Python/runtime dependency baseline to Python 3.12 with additional dependencies.
Changes:
- Add a new
uv-ciGitHub Actions workflow that installs Python +uvand runs a repouvbuild/test script. - Add
scripts/uv-build.shtouv sync, build, and run pytest. - Update packaging/docs to require Python 3.12+ and add new runtime dependencies (
matplotlib,Pillow,reportlab), plus README updates.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
scripts/uv-build.sh |
Adds a uv-driven sync/build/test script used by CI. |
pyproject.toml |
Bumps requires-python to 3.12+ and adds new runtime dependencies. |
README.md |
Updates Python version badge/requirements and documents uv usage. |
.github/workflows/uv-ci.yml |
Adds a new workflow that pins setup-uv and runs scripts/uv-build.sh. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+1
to
+3
| name: uv-ci | ||
|
|
||
| on: |
Comment on lines
+19
to
+22
| uses: actions/checkout@v6 | ||
|
|
||
| - name: Set up Python | ||
| uses: actions/setup-python@v6 |
| repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" | ||
| cd "${repo_root}" | ||
|
|
||
| uv sync --extra dev |
| description = "Python-based intelligent Agent runtime for task processing and stock investment assistance" | ||
| readme = "README.md" | ||
| requires-python = ">=3.11" | ||
| requires-python = ">=3.12" |
Comment on lines
37
to
+48
| # Data analysis | ||
| "pandas>=2.2", | ||
| "pandas-ta", | ||
| "matplotlib>=3.10.9", | ||
| # Scheduling | ||
| "APScheduler>=3.10", | ||
| # Web scraping helpers | ||
| "beautifulsoup4>=4.12", | ||
| "lxml>=5.0", | ||
| "Pillow>=12.2.0", | ||
| "qrcode>=7.4", | ||
| "reportlab>=4.4.10", |
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.
The
uv-ciworkflow was not starting cleanly because theastral-sh/setup-uvreference was not resolving as expected in GitHub Actions. This change updates the workflow to use a concrete published release so the CI bootstrap path is stable again.Workflow change
/home/runner/work/XClaw/XClaw/.github/workflows/uv-ci.ymlto replace the floatingastral-sh/setup-uv@v8reference with a specific release taguvversion configuration intactImpact
Set up uvstep inuv-ci