NathanVaughn / poetry-azure-artifacts-plugin

Poetry plugin to handle Azure Artifacts authentication
https://pypi.org/project/poetry-azure-artifacts-plugin
MIT License
0 stars 0 forks source link

Use uv instead of poetry #10

Closed NathanVaughn closed 2 weeks ago

NathanVaughn commented 2 weeks ago

Summary by Sourcery

Switch from using Poetry to uv for managing dependencies and tasks in the CI workflows, updating relevant configurations and scripts. Improve documentation formatting and remove obsolete configuration files.

CI:

Documentation:

Chores:

sourcery-ai[bot] commented 2 weeks ago

Reviewer's Guide by Sourcery

This pull request replaces Poetry with uv for dependency management and package installation in the project's CI/CD pipeline. It also updates the pre-commit hooks and makes minor adjustments to the Python script and README.

File-Level Changes

Change Details Files
Replace Poetry with uv for dependency management
  • Remove Poetry installation steps
  • Add uv setup and installation steps
  • Update caching strategy for dependencies
  • Modify Python package installation commands to use uv
.github/workflows/test.yml
Update pre-commit hooks configuration
  • Remove Poetry-specific hooks
  • Add uv-lock hook
  • Add markdownlint hook
.pre-commit-config.yaml
Modify Python script for parsing Poetry version
  • Update logic to extract Poetry version from pyproject.toml
  • Simplify version string parsing
scripts/get_poetry_versions.py
Update README formatting
  • Improve line wrapping for better readability
README.md
Update GitHub Actions workflow for publishing
  • Change the reusable workflow to use uv for building
.github/workflows/publish.yml
Remove Poetry configuration file
  • Delete poetry.toml file
poetry.toml

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - Continue your discussion with Sourcery by replying directly to review comments. - You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.