Skip to content
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

Switch to uv #92

Merged
merged 1 commit into from
Mar 27, 2025
Merged

Switch to uv #92

merged 1 commit into from
Mar 27, 2025

Conversation

ffl096
Copy link
Member

@ffl096 ffl096 commented Mar 27, 2025

Closes #64.

Verified

This commit was signed with the committer’s verified signature.
@ffl096 ffl096 self-assigned this Mar 27, 2025
@ffl096 ffl096 added the dependencies Pull requests that update a dependency file label Mar 27, 2025
@ffl096 ffl096 requested a review from Copilot March 27, 2025 14:16
Copy link

@Copilot 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 switches the dependency management and CI/CD setup to use the uv tool for installing dependencies and running commands, while updating configuration and documentation to match the new workflow.

  • Updated pyproject.toml with a new [tool.uv.sources] section and restructured dependency groups.
  • Revised GitHub workflows to use astral-sh/setup-uv and uv commands for installing packages, typechecking, testing, and deployment.
  • Modified README.md instructions and code block language to align with the uv-based setup.

Reviewed Changes

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

Show a summary per file
File Description
pyproject.toml Updated dependency configuration and added uv sources for fixed Git refs.
README.md Adjusted installation instructions and fixed code block language.
.github/workflows/test.yml Replaced actions/setup-python with astral-sh/setup-uv and updated commands.
.github/workflows/docs.yml Adapted documentation workflow to leverage uv commands and caching.
.github/workflows/deploy.yml Revised deployment workflow to use uv build and setup with caching enabled.
Comments suppressed due to low confidence (2)

.github/workflows/test.yml:26

  • [nitpick] The fixed 'ubuntu-latest' runner may reduce multi-OS testing coverage; consider retaining the matrix-based OS selection if cross-platform validation is desired.
runs-on: ubuntu-latest

.github/workflows/deploy.yml:24

  • Ensure that the 'uv build' command replicates all build steps previously executed by 'python3 -m build', including the generation of both wheel and source distributions.
run: uv build

Copy link

codecov bot commented Mar 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.61%. Comparing base (264aa62) to head (c18437b).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #92   +/-   ##
=======================================
  Coverage   96.61%   96.61%           
=======================================
  Files           8        8           
  Lines         177      177           
=======================================
  Hits          171      171           
  Misses          6        6           

☔ 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.

@ffl096 ffl096 merged commit 88cc206 into main Mar 27, 2025
13 checks passed
@ffl096 ffl096 deleted the frantzen/uv branch March 27, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move dev dependencies to dependency groups
1 participant