Skip to content

V0.4.x mergeback#258

Open
ESadek-MO wants to merge 2 commits intomainfrom
v0.4.x
Open

V0.4.x mergeback#258
ESadek-MO wants to merge 2 commits intomainfrom
v0.4.x

Conversation

@ESadek-MO
Copy link
Contributor

🚀 Pull Request

Description

* Update pyproject.toml

* Update __init__.py

* Update pyproject.toml
scitools-ci[bot]
scitools-ci bot previously requested changes Mar 19, 2026
Copy link

@scitools-ci scitools-ci bot left a comment

Choose a reason for hiding this comment

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

Templating

This PR includes changes that may be worth sharing via templating. For each file listed below, please either:

  • Action the suggestion via a pull request editing/adding the relevant file in the SciTools/.github templates/ directory. 1
  • Raise an issue against the SciTools/.github repo for the above action if you really don't have 10mins spare right now. Include an assignee, to avoid it being forgotten.
  • Dismiss the suggestion if the changes are not suitable for templating.

You will need to dismiss this review before this PR can be merged. Recommend the reviewer does this as their final action before merging, as this text will continually update as commits come in.

Templated files

The following changed files are templated:

Footnotes

  1. Include this text in the PR body to avoid any notifications about applying the template changes back to the source repo!
    @scitools-templating: please no update notification on: tephi

@ESadek-MO ESadek-MO enabled auto-merge (squash) March 19, 2026 14:11
@trexfeathers trexfeathers dismissed scitools-ci[bot]’s stale review March 20, 2026 14:31

Just dependencies changing in pyproject.toml, which are not appropriate for templating.

from . import artists, isopleths, transforms

__version__ = "0.4.0.dev0"
__version__ = "0.4.0.post0"
Copy link
Contributor

Choose a reason for hiding this comment

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

It's a long time since we've done manual versioning plus release branches, but if we go looking we can see that we don't let the release version pollute the history on main:

In the above example, the release branch had the version 3.1.0rc0, but this was not merged onto main. I think this was achievable because Patrick was using a dedicated branch to manage the mergeback, so was able to make edits where appropriate. Not an option on this PR since it's merging straight from v0.4.x1 .

Options:

  • Accept a polluted history: merge this PR then quickly do another one fixing the __version__ tag.
  • Get more technical: close this PR, handle the mergeback using a dedicated branch (like you would with any other PR), where you can fix the __version__ tag before submitting.

Footnotes

  1. this is one of the ways setuptools_scm makes things easier - no need to worry about the history so straight merging is less problematic.

Copy link
Contributor

Choose a reason for hiding this comment

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

EDIT: sorry, I only just realised there is a precedent in Tephi to go with the 2nd option:

Still happy with that this time @ESadek-MO?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants