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

Remove bumpversion and use bump-my-version #380

Merged
merged 5 commits into from
Mar 6, 2024

Conversation

frances-h
Copy link
Contributor

CU-86azg17hg
Resolve #377

@sdv-team
Copy link
Contributor

sdv-team commented Mar 5, 2024

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.87%. Comparing base (0c42168) to head (ffdfee1).

❗ 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.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@gsheni gsheni left a 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"
Copy link
Contributor

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.

Copy link
Contributor Author

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

@frances-h frances-h marked this pull request as ready for review March 5, 2024 16:38
@frances-h frances-h requested a review from a team as a code owner March 5, 2024 16:38
pyproject.toml Outdated Show resolved Hide resolved
Copy link
Collaborator

@amontanez24 amontanez24 left a 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

Copy link
Collaborator

@amontanez24 amontanez24 left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@R-Palazzo R-Palazzo left a 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.

CURRENT_VERSION := $(shell grep "^current_version" setup.cfg | grep -o "dev[0-9]*")

@frances-h frances-h merged commit faca985 into main Mar 6, 2024
61 checks passed
@frances-h frances-h deleted the issue-377-remove-bumpversion branch March 6, 2024 15:36
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.

Remove bumpversion and use bump-my-version
6 participants