-
Notifications
You must be signed in to change notification settings - Fork 108
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
Remove bumpversion and use bump-my-version #380
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #380 +/- ##
=======================================
Coverage 86.87% 86.87%
=======================================
Files 27 27
Lines 1791 1791
=======================================
Hits 1556 1556
Misses 235 235 ☔ View full report in Codecov by Sentry. |
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.
looks good except 1 question
|
||
[tool.setuptools.packages.find] | ||
include = ['copulas', 'copulas.*'] | ||
namespaces = false | ||
|
||
[tool.bumpversion] | ||
current_version = "0.10.1.dev0" |
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.
So this means our version will live in the following places:
- copulas/init.py
- pyproject.toml
Will bump-my-version handle updating it in both places? Based on the code below, it seems like the answer is Yes but just double checking.
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.
Yeah exactly, I confirmed that both get updated when running bump-my-version bump
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.
Not really in the context of this PR, but should we get rid of the MANIFEST like we did here
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.
LGTM!
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.
Looks good!
I found this morning that this in the Makefile should be updated to use pyproject.toml
instead of setup.cfg
.
Line 225 in 0c42168
CURRENT_VERSION := $(shell grep "^current_version" setup.cfg | grep -o "dev[0-9]*") |
CU-86azg17hg
Resolve #377