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

Use poetry v2.0.0 #762

Merged
merged 8 commits into from
Jan 8, 2025
Merged

Use poetry v2.0.0 #762

merged 8 commits into from
Jan 8, 2025

Conversation

youtux
Copy link
Contributor

@youtux youtux commented Jan 8, 2025

Bump poetry to version 2.0.0 and fix a few deprecation warnings.

Also add poetry pre-commit hook to check that the config is correct and that poetry.lock is in sync.

Supersedes #760

@youtux youtux requested review from jsa34 and Copilot January 8, 2025 19:53

Choose a reason for hiding this comment

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

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

youtux added 3 commits January 8, 2025 20:59
It will connect to PyPI, and it seems that pre-commit.ci does not allow that.
In any case, we should only check if `poetry.lock` is in sync using `poetry check --lock`. That's enough.
Copy link

codecov bot commented Jan 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.10%. Comparing base (4825505) to head (c97dc02).
Report is 9 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #762   +/-   ##
=======================================
  Coverage   96.10%   96.10%           
=======================================
  Files          55       55           
  Lines        2390     2390           
  Branches      136      136           
=======================================
  Hits         2297     2297           
  Misses         56       56           
  Partials       37       37           

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

@youtux youtux requested a review from Copilot January 8, 2025 20:52

Choose a reason for hiding this comment

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

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

@youtux youtux merged commit 52e3cdf into master Jan 8, 2025
22 of 24 checks passed
@youtux youtux deleted the poetry-2 branch January 8, 2025 21:42
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.

1 participant