-
Notifications
You must be signed in to change notification settings - Fork 39
chore(setup): migrate to pyproject, add version #589
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
Conversation
29c55cd to
ac868e2
Compare
for more information, see https://pre-commit.ci
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #589 +/- ##
==========================================
- Coverage 96.20% 96.11% -0.10%
==========================================
Files 43 44 +1
Lines 2874 2881 +7
Branches 240 240
==========================================
+ Hits 2765 2769 +4
- Misses 65 68 +3
Partials 44 44
☔ View full report in Codecov by Sentry. |
daavoo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needed to do dynamic checks (e.g. check that version is correct in the callback) and overall it's expected that packages have it.
See #359 (comment) .
Do you have any reason not to use it in the callback?
I prefer that over adding the version, but I have no strong opinion.
Also, don't have a strong opinion. I think it can be convenient since people seems to expect it still and most (?) of the package provide it. But I can remove it (I assume toml migration is still meaningful for us) |
Migrate setup to
pyproject.toml. Adds__version__to the package. Needed to do dynamic checks (e.g. check that version is correct in the callback) and overall it's expected that packages have it.❗ I have followed the Contributing to DVCLive
guide.
📖 If this PR requires documentation updates, I have created a separate PR (or issue, at least) in dvc.org and linked it here.
Thank you for the contribution - we'll try to review it as soon as possible. 🙏