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

build: account for Python Semantic Release updates #483

Merged
merged 3 commits into from
Oct 17, 2024
Merged

Conversation

maxrake
Copy link
Contributor

@maxrake maxrake commented Oct 11, 2024

Well, it happened again. Python Semantic Release (PSR) released a minor version this week and it ended up having breaking changes. The irony is too much and at this point all releases are examined carefully for any breaking changes. This time, the v9.10.0 release of PSR included this commit, which changed the long names of the types of angular commits as they are referred to in a parsed release element:

python-semantic-release/python-semantic-release@0766184

The effect would have been that, going forward, only commits with the documentation type would have been picked up for inclusion. The updates were accounted for in templates/.changes.j2.

The other big change, but not breaking, for the v9.10.0 release, was the return of the placeholder style CHANGELOG insertion method. The mechanics behind it have changed since the pre-v8 releases, but the end result is the same. Since this method was and still is preferred, changes were made to take advantage of it. Those changes followed the guidance here:

https://python-semantic-release.readthedocs.io/en/stable/changelog_templates.html#incrementally-updating-changelog-template

The changes in this PR were tested locally and confirmed to work for the current configuration.

Well, it happened again. Python Semantic Release (PSR) released a minor
version this week and it ended up having breaking changes. The irony is
too much and at this point all releases are examined carefully for any
breaking changes. This time, the v9.10.0 release of PSR included this
commit, which changed the long names of the types of angular commits as
they are referred to in a parsed release element:

python-semantic-release/python-semantic-release@0766184

The effect would have been that, going forward, only commits with the
`documentation` type would have been picked up for inclusion. The
updates were accounted for in `templates/.changes.j2`.

The other big change, but not breaking, for the v9.10.0 release, was the
return of the placeholder style CHANGELOG insertion method. The
mechanics behind it have changed since the pre-v8 releases, but the end
result is the same. Since this method was and still is preferred,
changes were made to take advantage of it. Those changes followed the
guidance here:

https://python-semantic-release.readthedocs.io/en/stable/changelog_templates.html#incrementally-updating-changelog-template

The changes in this PR were tested locally and confirmed to work for the
current configuration.
@maxrake maxrake self-assigned this Oct 11, 2024
@maxrake maxrake requested a review from a team as a code owner October 11, 2024 21:58
@maxrake maxrake requested a review from kylewillmon October 11, 2024 21:58
Copy link

Phylum OSS Supply Chain Risk Analysis - SUCCESS

The Phylum risk analysis is complete and has passed the active policy.

View this project in the Phylum UI

@maxrake maxrake merged commit 2e49c7b into main Oct 17, 2024
13 checks passed
@maxrake maxrake deleted the psr_updates branch October 17, 2024 15:04
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.

2 participants