chore: migrate project config from Hatch envs to UV#73
Closed
Copilot wants to merge 7 commits into
Closed
Conversation
Co-authored-by: masci <7241+masci@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Migrate project configuration from Hatch environment management
chore: migrate project config from Hatch envs to UV
Mar 9, 2026
Owner
|
@copilot fix the ci |
Co-authored-by: masci <7241+masci@users.noreply.github.com>
Contributor
Author
Fixed in 59090f7. The CI workflows still referenced
|
Owner
|
@copilot remove the e2e tests job from the workflow |
Co-authored-by: masci <7241+masci@users.noreply.github.com>
Contributor
Author
Contributor
There was a problem hiding this comment.
Pull request overview
Migrates the project’s developer workflow and CI from Hatch-managed environments/tasks to uv, while keeping Hatchling as the build backend in pyproject.toml.
Changes:
- Move dev tooling dependencies into a
devoptional-dependency group and remove Hatch env/task configuration frompyproject.toml. - Update contributor/agent documentation to use
uv sync/uv run ...commands and remove the Hatch badge. - Update GitHub Actions workflows to install and use
uvfor tests, docs deployment, and publishing releases.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
pyproject.toml |
Removes Hatch env/task config, adds dev extra, retains Hatchling build/version config. |
README.md |
Removes Hatch project badge. |
CONTRIBUTING.md |
Replaces Hatch setup/test/lint/docs instructions with uv equivalents. |
AGENTS.md |
Updates quick-reference and dev commands from Hatch to uv. |
.github/workflows/test.yml |
Switches CI to setup-uv, uv sync --extra dev, and uv run for lint/tests; removes e2e CI step. |
.github/workflows/docs.yml |
Switches docs deploy workflow from Hatch to uv. |
.github/workflows/release.yml |
Switches build/publish steps from hatch build/publish to uv build/publish. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
masci
reviewed
Mar 9, 2026
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: masci <7241+masci@users.noreply.github.com>
Owner
|
@copilot revert the last commit, that's not what I wanted |
…ING.md Co-authored-by: masci <7241+masci@users.noreply.github.com>
Contributor
Author
Owner
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.
pyproject.toml:devoptional-dependency group[tool.hatch.envs.*]sections and scripts[tool.hatch.version]and[tool.hatch.build.*]sectionsAGENTS.md: Replacehatch run ...commands withuv run ...equivalentsCONTRIBUTING.md: Replace Hatch instructions with UV instructionsREADME.md: Remove Hatch project badge.github/workflows/test.yml: Replacepip install hatch+hatch run ...withastral-sh/setup-uv+uv sync --extra dev+uv run ...; remove e2e step.github/workflows/docs.yml: Replacepip install hatch+hatch run mkdocs ...withastral-sh/setup-uv+uv sync --extra dev+uv run mkdocs ....github/workflows/release.yml: Replacepip install hatch+hatch build/publishwithastral-sh/setup-uv+uv build/publishOriginal prompt
This pull request was created from Copilot chat.
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.