Poetryからuvへ移行しました。#718
Merged
yuji38kwmt merged 5 commits intomainfrom May 9, 2025
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR migrates the project from Poetry to uv for dependency management, publishing, and tooling. Key changes include:
- Updating pyproject.toml to use the [project] table and new dependency groups with uv-dynamic-versioning.
- Replacing all Poetry command invocations in scripts, Makefile, developer docs, and CI workflows with corresponding uv commands.
- Removing the legacy version.py file and updating the module version handling in init.py.
Reviewed Changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| pyproject.toml | Reconfigured project metadata, dependencies, and build system settings. |
| docs/create_pydantic_modes_rst.sh | Updated sphinx-apidoc command invocation from Poetry to uv. |
| annofabapi/version.py | Removed legacy version file in favor of dynamic versioning via uv. |
| annofabapi/init.py | Adjusted version handling and export list to use importlib metadata. |
| README_for_developer.md | Updated all command examples from Poetry to uv. |
| Makefile | Replaced Poetry commands with uv commands and removed the publish target. |
| .vscode/settings.json | Removed environment auto-activation setting reflecting uv usage. |
| .github/workflows/*.yml | Updated CI workflows to install and use uv instead of Poetry. |
| .devcontainer/* | Modified devcontainer configuration and Dockerfile for uv integration. |
Comments suppressed due to low confidence (3)
.devcontainer/Dockerfile:37
- The removal of the Python development headers (python3.12-dev) may cause build issues for packages that require native compilation. Please verify if these headers are installed elsewhere or consider adding them back if needed.
python3.12-dev \
annofabapi/init.py:6
- Removing the version export from the public API may affect consumers who rely on accessing the package version. Please ensure this change is intentional and update the API documentation accordingly.
from .__version__ import __version__
.vscode/settings.json:3
- [nitpick] The removal of the automatic virtual environment activation in the integrated terminal might affect local development workflows. Please update the developer documentation to clarify the new workflow.
"python.terminal.activateEnvironment":false,
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.
No description provided.