Skip to content

Adding steps to pypi workflow - bot commit version bump #588

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

Merged
merged 8 commits into from
May 13, 2025

Conversation

ArturU043
Copy link
Contributor

I added a couple of steps in pypi.yml to commit the version bump when a release is created.

I also changed the version tag replacement using sed.
There was an extra white space being introduced. This would cause the reggex search to fail on the next release event.

This should fix the doc building issue (currently showing the wrong release tag) automaticaly for next releases.
This garantees pyproject.toml in master is consistent with the distributed package tag.

I also manualy set the version to 3.1.1 since that release is published.


Tested with pre-releases on the feat/version-bump-gha branch, and the github bot correctly comits the version bump.

Copy link

codecov bot commented May 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.19%. Comparing base (c548ed2) to head (7f3ceb8).
Report is 9 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #588   +/-   ##
=======================================
  Coverage   96.19%   96.19%           
=======================================
  Files          29       29           
  Lines        1865     1865           
=======================================
  Hits         1794     1794           
  Misses         71       71           
Flag Coverage Δ
unittests 96.19% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ArturU043 ArturU043 self-assigned this May 8, 2025
@gordonwatts gordonwatts requested a review from ponyisi May 12, 2025 08:20
Copy link
Collaborator

@gordonwatts gordonwatts left a comment

Choose a reason for hiding this comment

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

These changes look good to me. I'd like Ben or Peter to also comment to make sure we all know what is going on in this logic. I don't think most of us are used to auto-updating packages during a release. I like it, because now when you check it out you get the right version in your code.

Copy link
Collaborator

@ponyisi ponyisi left a comment

Choose a reason for hiding this comment

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

I'm OK with this.

@ArturU043 ArturU043 merged commit 8f9e76b into master May 13, 2025
37 checks passed
@ArturU043 ArturU043 deleted the feat/version-bump-gha branch May 13, 2025 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants