Skip to content

Fix/move to uv#10

Merged
josteinl merged 3 commits intomainfrom
fix/move-to-uv
May 21, 2025
Merged

Fix/move to uv#10
josteinl merged 3 commits intomainfrom
fix/move-to-uv

Conversation

@josteinl
Copy link
Copy Markdown
Collaborator

This pull request transitions the project from Poetry to uv for dependency and project management, updates workflows and configurations accordingly, and introduces minor documentation and metadata updates.

Migration from Poetry to uv:

  • Replaced poetry commands with uv commands in .github/workflows/branch.yaml and .github/workflows/release.yaml. This includes using uv sync for dependency installation, uv run for running commands, and uv build/uv publish for building and publishing the package. [1] [2]
  • Updated the README.md to reflect the switch to uv, including installation and testing instructions.
  • Updated CHANGES.md to document the migration to uv in version 0.0.12.

Configuration updates:

  • Replaced the poetry configuration in pyproject.toml with hatchling for build management and added a [dependency-groups] section for development dependencies. [1] [2]
  • Updated the supported Python versions to include 3.13 and adjusted the requires-python field to >=3.10,<4. [1] [2]

Minor changes:

  • Corrected a formatting issue in CHANGES.md for version 0.0.8.
  • Added metadata and project details in the [project] section of pyproject.toml.

@josteinl josteinl self-assigned this May 21, 2025
@josteinl josteinl requested a review from Copilot May 21, 2025 11:34
Copy link
Copy Markdown
Contributor

Copilot AI left a 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 PR replaces Poetry with uv for dependency and project management, updates CI workflows accordingly, and refreshes documentation and metadata to reflect these changes.

  • Migrate from Poetry commands to uv (sync, run, build, publish)
  • Update GitHub Actions workflows to install and use uv
  • Revise README and CHANGES.md to document the switch and bump version metadata

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
pyproject.toml Swapped Poetry config for Hatchling and added uv groups
README.md Changed install/test/publish commands from Poetry to uv
CHANGES.md Added version 0.0.12 entry documenting the migration
.github/workflows/release.yaml Updated release pipeline to use astral-sh/setup-uv and uv commands
.github/workflows/branch.yaml Updated test and code-quality jobs to use uv commands

Comment thread README.md Outdated
Comment thread .github/workflows/branch.yaml
Update after Copilot's suggestion.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@josteinl josteinl merged commit 452e2c0 into main May 21, 2025
10 checks passed
@josteinl josteinl deleted the fix/move-to-uv branch May 21, 2025 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants