refactor(build): migrate dependency management to uv and hatchling#78
Merged
mkdir700 merged 1 commit intoChainBuff:mainfrom Dec 21, 2025
Merged
Conversation
- Migrated project's dependency management from PDM to `uv`. - Switched the build backend from `pdm-backend` to `hatchling.build` in all `pyproject.toml` files. - 【Configuration】Updated `pyproject.toml` files to: - Remove `[tool.pdm]` and `[tool.pdm.dev-dependencies]` sections. - Add `[tool.uv.sources]` to define editable local dependencies. - Explicitly list local dependencies in the `dependencies` section for applications. - Consolidated `authors` field to a single line where applicable. - 【New File】Introduced `app/trading/uv.lock` for locked dependencies. - 【Developer Experience】Updated `.vscode/settings.json` to include `python.analysis.extraPaths` for improved module resolution in VS Code. - 【Tooling】Upgraded `ruff` to version `0.14.10` in the root `pyproject.toml` and adjusted its ignore list.
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.
uv.pdm-backendtohatchling.buildin allpyproject.tomlfiles.pyproject.tomlfiles to:[tool.pdm]and[tool.pdm.dev-dependencies]sections.[tool.uv.sources]to define editable local dependencies.dependenciessection for applications.authorsfield to a single line where applicable.app/trading/uv.lockfor locked dependencies..vscode/settings.jsonto includepython.analysis.extraPathsfor improved module resolution in VS Code.ruffto version0.14.10in the rootpyproject.tomland adjusted its ignore list.