Skip to content

Poetryからuvへ移行しました。 #718

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 9, 2025
Merged

Poetryからuvへ移行しました。 #718

merged 5 commits into from
May 9, 2025

Conversation

yuji38kwmt
Copy link
Collaborator

No description provided.

@yuji38kwmt yuji38kwmt requested a review from Copilot May 9, 2025 15:25
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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,

@yuji38kwmt yuji38kwmt enabled auto-merge (squash) May 9, 2025 15:30
@yuji38kwmt yuji38kwmt merged commit c4a343d into main May 9, 2025
7 checks passed
@yuji38kwmt yuji38kwmt deleted the poetry-to-uv branch May 9, 2025 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant