Skip to content

Fix CI: drop uv venv, setup-uv already creates the venv#2

Merged
martian56 merged 4 commits intomainfrom
1-improve-the-ui
Apr 14, 2026
Merged

Fix CI: drop uv venv, setup-uv already creates the venv#2
martian56 merged 4 commits intomainfrom
1-improve-the-ui

Conversation

@martian56
Copy link
Copy Markdown
Owner

This pull request simplifies the GitHub Actions CI workflow by removing the explicit creation of a virtual environment with uv venv before installing dependencies. Instead, dependencies are now installed directly using uv pip install, which streamlines the setup process in all relevant jobs.

CI workflow simplification:

  • Removed the uv venv step from the dependency installation commands in all jobs within .github/workflows/ci.yml, so dependencies are now installed directly with uv pip install. [1] [2] [3]

Closes #1

astral-sh/setup-uv@v5 with python-version creates a .venv
automatically. Running uv venv again fails because it already
exists. Just use uv pip install directly into the existing venv.
@martian56 martian56 self-assigned this Apr 14, 2026
@martian56 martian56 added the enhancement New feature or request label Apr 14, 2026
martian56 and others added 3 commits April 14, 2026 13:11
The loose >=23.12.0 constraint allowed CI to resolve an older Black
version that formats code differently from local dev (25.x), causing
spurious lint failures on content.py and server.py.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace Black with the uv-native Ruff (format + lint) and ty (type
checking). Ruff auto-fixed import sorting, deprecated typing imports
(Dict/List/Set -> builtins), unnecessary f-strings, and redundant
open() mode args. Fixed one ty error (Optional parameter annotation).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@martian56 martian56 merged commit 026bd7a into main Apr 14, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

improve the UI

1 participant