Chore: Migrate test project to use uv/hatchling#147
Merged
ModeSevenIndustrialSolutions merged 1 commit intolfreleng-actions:mainfrom Jan 18, 2026
Merged
Conversation
Copilot started reviewing on behalf of
ModeSevenIndustrialSolutions
January 16, 2026 10:19
View session
1131c5a to
2960d55
Compare
There was a problem hiding this comment.
Pull request overview
This PR migrates the test Python project from PDM to uv/hatchling build system. The migration includes updating build configuration, removing PDM-specific files, adding a new lock file for uv, archiving the old configuration, and updating documentation.
Changes:
- Replaced PDM with uv/hatchling as the build backend and package manager
- Configured dynamic versioning from VCS tags using hatch-vcs
- Updated entry point from
cli:runtocli:appto match Typer's standard pattern
Reviewed changes
Copilot reviewed 6 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| pyproject.toml | Complete rewrite: switched to hatchling build system, added dynamic versioning, consolidated dependency groups, added tool configurations |
| variations/pdm.toml | Archived previous PDM configuration for reference |
| pdm.lock | Removed PDM lock file (2357 lines deleted) |
| .gitignore | Added exclusion for dynamically generated _version.py file |
| tox.ini | Updated to work with uv instead of PDM, removed PDM-specific configuration |
| src/lfreleng_test_python_project/init.py | Changed version import to use hatchling-generated _version.py |
| README.md | Updated documentation with uv-based commands |
| .github/dependabot.yml | Changed package ecosystem from "pip" to "uv" |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
698bfbf to
fd6f213
Compare
Copilot started reviewing on behalf of
ModeSevenIndustrialSolutions
January 16, 2026 10:24
View session
c1947f3 to
f630903
Compare
Copilot started reviewing on behalf of
ModeSevenIndustrialSolutions
January 16, 2026 10:31
View session
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 8 out of 11 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Migrate this project/repository to use uv/hatchling - Update dependabot Python package ecosystem pip -> uv - Various pyproject.toml updates and fixes, e.g. add pytest-cov - Archive the previous pyproject.toml that used pdm - Remove pdm.lock and add uv.lock to repository - Exclude dynamically generated versioning file in .gitignore - Update documentation to reflect changes - Change CLI entry point from cli:run -> cli:app (was broken) - Minor tox.ini changes based on copilot feedback - Comment out unused jupyterlab dependency due to unpatched CVE This project now mimicks the majority of actual projects, that have already migrated to the uv/hatchling toolset. The jupyterlab piece is only needed for testing notebooks, which is not a core part of the test project. It can be uncommented on demand, since there is jupyterlab content in the notebooks/ folder we might test with. Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
f630903 to
05731c9
Compare
askb
approved these changes
Jan 18, 2026
53fa34f
into
lfreleng-actions:main
18 of 21 checks passed
This was referenced Mar 19, 2026
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 project now mimicks the majority of actual projects, that have already migrated to the uv/hatchling toolset. The jupyterlab piece is only needed for testing notebooks, which is not a core part of the test project. It can be uncommented on demand, since there is jupyterlab content in the notebooks/ folder we might test with.