-
Notifications
You must be signed in to change notification settings - Fork 7
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
Migrate poetry to uv #27
Conversation
a4fe800
to
49a6899
Compare
There was a problem hiding this 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 pull request migrates the project from Poetry to uv as the build and publish tool and introduces a Dev Container for development.
- Replaces Poetry configuration with uv/hatchling in pyproject.toml
- Updates publish.py to invoke uv commands instead of Poetry’s
- Modifies GitHub workflows and pre-commit configuration to reflect the toolchain change
Reviewed Changes
Copilot reviewed 11 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
tests/test_cli.py | Reformats the assertion for better multi-line readability |
pyproject.toml | Updates the build system and dependency groups to use hatchling and uv |
publish.py | Switches build/publish commands from Poetry to uv and adjusts formatting |
openapi_generator_cli/init.py | Adjusts formatting without functional changes |
DEVELOPMENT.md | Updates setup instructions to reference the Dev Container |
.pre-commit-config.yaml | Removes Poetry hooks, retains relevant linting hooks |
.github/workflows/test.yaml | Replaces Poetry setup with uv setup and commands |
.github/workflows/publish.yaml | Updates publish commands to use uv and new environment variables |
.github/dependabot.yml | Changes package-ecosystem from pip to uv |
Files not reviewed (2)
- .devcontainer/devcontainer.json: Language not supported
- .devcontainer/postCreateCommand.sh: Language not supported
Comments suppressed due to low confidence (2)
publish.py:54
- The explicit close() call is redundant when using a context manager. Please remove it to simplify the code.
openapi_generator_jar.close()
.github/dependabot.yml:3
- Verify that 'uv' is a supported package ecosystem for Dependabot updates, as this change may affect dependency monitoring.
+- package-ecosystem: uv
nice. let's give it a try |
I have migrated Poetry to uv and introduced Dev Container.