-
-
Notifications
You must be signed in to change notification settings - Fork 529
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
New release system #3249
New release system #3249
Conversation
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.
Just realised that these file paths were not changed earlier, it's good that we caught them before the 23.9 release:
https://github.com/pybamm-team/PyBaMM/blob/develop/scripts/update_version.py#L43-L47
should point to docs/_static/versions.json
instead of docs/source/_static/versions.json
This should be ready to review. Copying Release workflowrc0 releases (automated)
rcX releases (manual)If a new release candidate is required after the release of
Actual release (manual)Once satisfied with the release candidates -
Other checksSome other essential things to check throughout the release process -
|
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## develop #3249 +/- ##
========================================
Coverage 99.70% 99.70%
========================================
Files 248 248
Lines 18894 18894
========================================
Hits 18839 18839
Misses 55 55 ☔ 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 to me, but let's wait to merge until the others are happy with it as this is quite a major point. Two main questions/comments:
- Is the CHANGELOG updated automatically or do we need to do it manually (I couldn't quite tell)?
- With this approach we will not have a separate branch for a specific version. Not sure we need it, but that's a major change from what we discussed in Reduce release frequency #2881 so just wanted to highlight it.
Oh, I see, I missed incorporating a few points. I'll look into that. Thanks for the review! |
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 great :) I just had one suggestion.
New logic with the branch stuff below! Here are some links from my fork -
rc0 releases (automated)
rcX releases (manual)If a new release candidate is required after the release of
Actual release (manual)Once satisfied with the release candidates -
Other checksSome other essential things to check throughout the release process -
|
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.
Thanks, @Saransh-cpp, this looks good! I added some minor review comments that you can address.
There is also a draft PR for adding |
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 to me, thanks!
Co-authored-by: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com>
Thanks for the reviews, @agriyakhetarpal and @brosaplanella! |
A gentle bump for a review on this, @martinjrobins. We would be able to test this new system if the PR is merged before 1st September. |
…n `pyproject.toml`
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 great, happy to merge
Thanks, @martinjrobins! |
…n `pyproject.toml`
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #2881
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.
Key checklist:
$ pre-commit run
(or$ nox -s pre-commit
) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)$ python run-tests.py --all
(or$ nox -s tests
)$ python run-tests.py --doctest
(or$ nox -s doctests
)You can run integration tests, unit tests, and doctests together at once, using
$ python run-tests.py --quick
(or$ nox -s quick
).Further checks: