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

feat: add initial support for uv #816

Merged
merged 11 commits into from
Aug 25, 2024
Merged

Conversation

mkniewallner
Copy link
Collaborator

Note

Review commit by commit is recommended, as there are initial refactoring steps to make the implementation easier.

Towards #813.

PR Checklist

  • A description of the changes is added to the description of this PR.
  • If there is a related issue, make sure it is linked to this PR.
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added or modified a feature, documentation in docs is updated

Description of changes

First step towards supporting uv. For now, support is limited to reading development dependencies from [tool.uv.dev-dependencies], as specified in the documentation. Later on, we can also consider adding support for workspaces, but this is more complex to handle.

Sorry, something went wrong.

Copy link

codecov bot commented Aug 10, 2024

Codecov Report

Attention: Patch coverage is 96.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 92.1%. Comparing base (4e82f7a) to head (1533184).
Report is 1 commits behind head on main.

Files Patch % Lines
python/deptry/dependency_getter/pep621/uv.py 88.2% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##            main    #816     +/-   ##
=======================================
- Coverage   92.3%   92.1%   -0.2%     
=======================================
  Files         36      37      +1     
  Lines        965     992     +27     
  Branches     173     175      +2     
=======================================
+ Hits         891     914     +23     
- Misses        58      62      +4     
  Partials      16      16             

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

@mkniewallner mkniewallner marked this pull request as ready for review August 10, 2024 23:39
@mkniewallner mkniewallner added this to the 0.20 milestone Aug 10, 2024
@mkniewallner mkniewallner force-pushed the feat/add-initial-uv-support branch from e5e354d to 1533184 Compare August 25, 2024 20:53
@mkniewallner mkniewallner enabled auto-merge (squash) August 25, 2024 20:57
@mkniewallner mkniewallner merged commit 673086e into main Aug 25, 2024
25 checks passed
@mkniewallner mkniewallner deleted the feat/add-initial-uv-support branch August 25, 2024 21:16
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.

None yet

2 participants