Skip to content

Conversation

Copy link

Copilot AI commented Jan 8, 2026

Replaces Poetry with uv for faster, standards-compliant package management.

Changes

pyproject.toml

  • Migrated to PEP 621 format ([project] instead of [tool.poetry])
  • Changed build backend: poetry-corehatchling
  • Moved dev dependencies to [project.optional-dependencies]
  • Removed isort[pyproject] extra (unsupported in uv), kept as dev dependency only
  • Added [tool.hatch.build.targets.wheel] to specify package location

CI Workflow

  • Replaced snok/install-poetry@v1 with astral-sh/setup-uv@v7
  • Updated commands: poetry runuv run, poetry installuv sync --extra dev
  • Simplified release: uv build && uv publish with trusted publishing

Lock Files

  • Added uv.lock (61 packages resolved)
  • Removed poetry.lock

Usage

# Install dependencies
uv sync --extra dev

# Run commands
uv run python ./code_check.py

# Build package
uv build
Original prompt

This section details on the original issue you should resolve

<issue_title>Switch to use uv python package manager</issue_title>
<issue_description></issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Switch to use uv python package manager Migrate from Poetry to uv package manager Jan 8, 2026
Copilot AI requested a review from norkans7 January 8, 2026 11:57
with:
virtualenvs-in-project: true
- name: Install uv
uses: astral-sh/setup-uv@v5
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot use astral-sh/setup-uv@v7 for github action

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated to astral-sh/setup-uv@v7 in commit 918c4be

Copilot AI requested a review from norkans7 January 8, 2026 12:04
@codecov-commenter
Copy link

codecov-commenter commented Jan 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.32%. Comparing base (f89c8d7) to head (2efb055).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #226   +/-   ##
=======================================
  Coverage   93.32%   93.32%           
=======================================
  Files          29       29           
  Lines        1843     1843           
=======================================
  Hits         1720     1720           
  Misses        123      123           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@norkans7 norkans7 marked this pull request as ready for review January 8, 2026 13:41
Copilot AI review requested due to automatic review settings January 8, 2026 13:41
Copy link

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 pull request migrates the package manager from Poetry to uv, bringing faster and standards-compliant package management to the project. The changes modernize the build system by adopting PEP 621 format and switching to hatchling as the build backend.

Key Changes:

  • Migrated from Poetry-specific pyproject.toml format to PEP 621 standard format
  • Changed build backend from poetry-core to hatchling
  • Updated CI/CD workflow to use uv commands instead of Poetry commands

Reviewed changes

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

File Description
uv.lock New lock file with 61 resolved packages replacing poetry.lock
.gitignore Added .venv/ to ignore uv virtual environments
pyproject.toml Migrated to PEP 621 format with hatchling build backend
.github/workflows/ci.yml Updated CI to use astral-sh/setup-uv and uv commands

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@norkans7 norkans7 requested a review from rowanseymour January 8, 2026 14:35
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.

Switch to use uv python package manager

4 participants