Fix CI workflow failures by implementing proper UV dependency groups and commands - #398
Draft
CNSeniorious000 with Copilot wants to merge 3 commits into
Draft
CNSeniorious000 with Copilot wants to merge 3 commits into
CNSeniorious000 with Copilot wants to merge 3 commits into
Conversation
|
|
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
…ting Co-authored-by: CNSeniorious000 <74518716+CNSeniorious000@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Let hmr test on both 3.12 and 3.13 on GHA. Read uv docs first and split the monorepo project's dependencies in pyproject.toml into groups. The project itself and pyodide-py need 3.13, but tests need >=3.12 is OK. Make sure you've learned everything bef...
Split dependencies into UV dependency groups and enable multi-version testing for HMR
Sep 1, 2025
Member
|
@copilot CI workflows somehow faiiled. Please carefully read those logs, chat with Perplexity, search for some best practice on Context7, extract some docs with Firecrawl and then refine your code. |
Co-authored-by: CNSeniorious000 <74518716+CNSeniorious000@users.noreply.github.com>
Contributor
Author
I've analyzed the CI logs and fixed the main issues: Problems Found:
Fixes Applied:
The CI should now pass with proper UV dependency group management following PEP 735 standards. Commit: 4db7898 |
Copilot
AI
changed the title
Split dependencies into UV dependency groups and enable multi-version testing for HMR
Fix CI workflow failures by implementing proper UV dependency groups and commands
Sep 1, 2025
CNSeniorious000
force-pushed
the
main
branch
6 times, most recently
from
September 9, 2025 04:07
31563be to
2590220
Compare
CNSeniorious000
force-pushed
the
main
branch
from
September 12, 2025 01:38
263cfd3 to
99ecd7b
Compare
CNSeniorious000
force-pushed
the
main
branch
5 times, most recently
from
November 4, 2025 07:11
0dafc1f to
4cbbea5
Compare
CNSeniorious000
force-pushed
the
main
branch
from
November 15, 2025 20:26
bad1c75 to
3a489f6
Compare
CNSeniorious000
force-pushed
the
main
branch
from
November 26, 2025 10:28
96383b8 to
5f9a338
Compare
CNSeniorious000
force-pushed
the
main
branch
2 times, most recently
from
December 5, 2025 04:21
e085e54 to
4400899
Compare
CNSeniorious000
force-pushed
the
main
branch
2 times, most recently
from
March 12, 2026 18:15
b43321b to
e2a8f1b
Compare
This branch was successfully deployed
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.
This PR fixes GitHub Actions CI failures that occurred when trying to use UV dependency groups (PEP 735) in the workflow. The original implementation had two critical issues that prevented the CI from running successfully.
Issues Fixed
1. Ruff Command Not Found in Check Job
The check job was using
uv pip install -r pyproject.tomlbut then trying to runruff check. Sinceruffwas only defined in thedependency-groups.devsection (not in mainproject.dependencies), the command failed with "command not found".2. Undefined pytest-rerunfailures Extra
The test job attempted to use
--extra pytest-rerunfailuresfor Windows flaky test handling, but this extra was never defined in[project.optional-dependencies].Solution
Updated CI Workflow (.github/workflows/py.yml):
uv sync --group devfor proper dev dependency installationuv runfor proper environment isolationUpdated Dependencies (pyproject.toml):
devdependency grouppytest-rerunfailuresas an optional dependency to support Windows testing with--rerunsflagTechnical Benefits
uv runto ensure commands execute in the correct environmentThe workflow now correctly implements UV dependency groups while maintaining the original goal of enabling multi-version testing for the HMR package.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.