-
Notifications
You must be signed in to change notification settings - Fork 3
chore: Migrate from Poetry to uv #135
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
Conversation
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
- Replace Poetry with uv for Python dependency management - Convert pyproject.toml from Poetry format to PEP 621 standard - Replace poetry.lock with uv.lock - Update CI workflow to use astral-sh/setup-uv@v5 - Change all `pip install` commands to `uv run` - Replace mypy with ty for type checking - Add ty configuration in pyproject.toml - Update tasks.py lint_mypy -> lint_ty - Update .gitignore for ty cache directory - Update documentation references - Update documentation to reflect tooling changes - CLAUDE.md: uv commands and instructions - Various synced docs: mypy -> ty references
Deploying infrahub-docs with
|
| Latest commit: |
cd542d9
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://2dfa38ef.infrahub-docs.pages.dev |
| Branch Preview URL: | https://pmc-20251225-updates.infrahub-docs.pages.dev |
Keep uv migration but restore mypy as the type checker: - pyproject.toml: ty -> mypy in dev dependencies, remove ty config - tasks.py: lint_ty -> lint_mypy - .gitignore: restore mypy cache entries - Documentation: revert ty references to mypy
- CI workflow improvements: - Add concurrency control to cancel redundant runs - Add explicit permissions for contents read - Add markdown linting job with markdownlint-cli - Add mypy type checking to python-lint job - Add import sorting check with ruff - Add uv sync steps to ensure dependencies installed - Update documentation job to depend on markdown-lint - pyproject.toml enhancements: - Add project description and readme - Pin invoke version range - Add ruff format and lint configuration - Add mypy configuration with strict settings - Expand exclude paths for ruff and mypy - tasks.py: Fix import order and type ignore comment - docs: Update checkout action to v6 in developer guide - Add CODEOWNERS file for @opsmill/sa team
- Add lint_markdown task to run markdownlint on all .md and .mdx files - Enable lint_mypy in lint_all (was previously commented out) - Add .markdownlintignore to exclude synced docs and build artifacts - Update .markdownlint.yaml with cleaner config and MD060 exception - Fix lint_yaml docstring (was incorrectly saying "Python files")
BaptisteGi
reviewed
Dec 30, 2025
BaptisteGi
reviewed
Dec 30, 2025
BaptisteGi
approved these changes
Dec 30, 2025
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.
Replace Poetry with uv for Python dependency management
pip installcommands touv runUpdate documentation to reflect tooling changes