refactor(structure): migrate Python package to monorepo layout#98
Open
refactor(structure): migrate Python package to monorepo layout#98
Conversation
Reviewer's Guide将该 Python 项目重构为类似 monorepo 的 File-Level Changes
Assessment against linked issues
Tips and commandsInteracting with Sourcery
Customizing Your Experience进入你的 dashboard 以:
Getting HelpOriginal review guide in EnglishReviewer's GuideRefactors the Python project into a monorepo-style packages/python subdirectory, adjusts packaging configuration away from VCS-based versioning, and adds user-facing package documentation within the new package path while relocating lockfile and related config files. File-Level Changes
Assessment against linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - 我在这里给出了一些总体反馈:
- 将
version = "0.1.8"写死并移除hatch-vcs/动态版本管理,意味着之后需要手动更新版本号;如果你想在 monorepo 场景下避免 tag 与已发布包版本号之间出现偏差,建议保留基于 VCS 或其他集中式的版本管理方案。
供 AI Agent 使用的提示词
Please address the comments from this code review:
## Overall Comments
- Hardcoding `version = "0.1.8"` and removing `hatch-vcs`/dynamic versioning will require manual bumps going forward; consider keeping VCS-based or other centralized version management if you want to avoid divergence between tags and the published package version in a monorepo setup.帮我变得更有用!请在每条评论上点击 👍 或 👎,我会根据你的反馈改进之后的代码审查。
Original comment in English
Hey - I've left some high level feedback:
- Hardcoding
version = "0.1.8"and removinghatch-vcs/dynamic versioning will require manual bumps going forward; consider keeping VCS-based or other centralized version management if you want to avoid divergence between tags and the published package version in a monorepo setup.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Hardcoding `version = "0.1.8"` and removing `hatch-vcs`/dynamic versioning will require manual bumps going forward; consider keeping VCS-based or other centralized version management if you want to avoid divergence between tags and the published package version in a monorepo setup.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
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.
Fixes #96
Summary by Sourcery
将该 Python 包迁移到 monorepo 的子目录中,并将其从基于 VCS 的版本管理切换为静态版本管理。
Enhancements:
Build:
packages/python/目录中,并通过移除 VCS 插件来简化构建系统的依赖要求。Documentation:
packages/python/README.md中为 Python 包新增详细的用户与开发者文档。Original summary in English
Summary by Sourcery
Migrate the Python package into a monorepo subdirectory and switch it from VCS-based to static versioning.
Enhancements:
Build:
Documentation: