Skip to content

Pin setup-uv in uv-ci to restore workflow execution#6

Merged
dustturtle merged 4 commits into
mainfrom
copilot/add-uv-deployment-support
Apr 29, 2026
Merged

Pin setup-uv in uv-ci to restore workflow execution#6
dustturtle merged 4 commits into
mainfrom
copilot/add-uv-deployment-support

Conversation

Copilot AI commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

The uv-ci workflow was not starting cleanly because the astral-sh/setup-uv reference 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

    • Update /home/runner/work/XClaw/XClaw/.github/workflows/uv-ci.yml to replace the floating astral-sh/setup-uv@v8 reference with a specific release tag
    • Keep the existing Python and uv version configuration intact
  • Impact

    • Restores the Set up uv step in uv-ci
    • Removes ambiguity from major-tag resolution for the third-party action
- name: Set up uv
  uses: astral-sh/setup-uv@v8.1.0
  with:
    version: "0.11.8"
    enable-cache: true

Copilot AI and others added 4 commits April 29, 2026 08:57
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>
@dustturtle dustturtle marked this pull request as ready for review April 29, 2026 11:30
Copilot AI review requested due to automatic review settings April 29, 2026 11:30
@dustturtle dustturtle merged commit 8f83541 into main Apr 29, 2026
4 of 5 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

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 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-ci GitHub Actions workflow that installs Python + uv and runs a repo uv build/test script.
  • Add scripts/uv-build.sh to uv 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
Comment thread scripts/uv-build.sh
repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "${repo_root}"

uv sync --extra dev
Comment thread pyproject.toml
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 thread pyproject.toml
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",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants