Skip to content

[pull] master from python-semantic-release:master #175

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

Open
wants to merge 232 commits into
base: master
Choose a base branch
from

Conversation

pull[bot]
Copy link

@pull pull bot commented Dec 2, 2024

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

codejedi365 and others added 12 commits November 29, 2024 12:18
…ns (#1104)

* test(fixtures): refactor repo build helpers for construction steps

* test(fixtures): refactor github flow default release repo for construction steps

* test(fixtures): refactor github flow feature release repo for construction steps

* test(fixtures): refactor initial commit repo for construction steps

* test(fixtures): refactor trunk-only unreleased repo for construction steps

* test(fixtures): refactor trunk-only repo w/ tags for construction steps

* test(fixtures): refactor trunk-only repo w/ prereleases for construction steps

* test(fixtures): add git fast forward merge action to repo builder

* test(fixtures): refactor gitflow repo w/ 2 release channels for construction steps

* test(fixtures): refactor gitflow repo w/ 3 release channels for construction steps

* test(fixtures): add a gitflow repo w/ 4 release channels

* test(fixtures): add a gitflow repo w/ a single release channel

* test(e2e): refactor test cases to match repo construction step implementation

* test(release-history): refactor unit tests to handle repo construction steps

* build(deps-test): add `flatdict@4` to easily read `pyproject.toml` settings in test
* build(deps-dev): add missing type stubs for pyyaml

* style(tests): fix or consciously ignore type errors throughout test code

* chore(mypy): adjust rule configuration for mypy

* chore(tox): adjust mypy call to type check entire repo in tox configuration

* ci(validate-wkflow): adjust lint job to call mypy across entire repository
…pported (#1107)

* test(release-notes): adjust test case to include a version compare link

* test(cmd-changelog): add test to ensure multiple variants of release notes are published
…changelog (#1108)

This adds an attribute to the ParsedCommit object that allows custom
parsers to set to false if it is desired to ignore the commit completely
from entry into the changelog.

Resolves: #778

* test(parser-custom): add test w/ parser that toggles if a parsed commit is included in changelog
…nge sections (#1111)

* test(fixtures): force non-alphabetical release history to validate template sorting

* test(default-changelog): update unit test to enforce sorting of commit desc in version sections

* test(release-notes): update unit test to enforce sorting of commit desc in version sections

* feat(changelog-md): alphabetize commit summaries & scopes in markdown changelog template

* feat(changelog-rst): alphabetize commit summaries & scopes in ReStructuredText template
…ction (#1110)

Resolves: #244

* test(fixtures): update repo changelog generator to add breaking descriptions

* test(default-changelog): add unit tests to demonstrate breaking change descriptions

* test(release-notes): add unit tests to demonstrate breaking change descriptions

* feat(changelog-md): add a breaking changes section to default Markdown template

  Resolves: #244

* feat(changelog-rst): add a breaking changes section to default reStructuredText template

  Resolves: #244

* feat(changelog-md): alphabetize breaking change descriptions in markdown changelog template

* feat(changelog-rst): alphabetize breaking change descriptions in ReStructuredText template
…1109)

* refactor(parsers): add parser option validation to commit parsing

* docs(api-parsers): add option documentation to parser options

* feat(parsers): add `other_allowed_tags` option for commit parser options

* feat(parser-custom): enable custom parsers to identify linked issues on a commit

* test(parser-angular): add unit tests to verify parsing of issue numbers

* test(parser-emoji): add unit tests to verify parsing of issue numbers

* test(parser-scipy): add unit tests to verify parsing of issue numbers

* fix(util): prevent git footers from being collapsed during parse

* feat(parser-angular): automatically parse angular issue footers from commit messages

* feat(parser-emoji): parse issue reference footers from commit messages

* docs(commit-parsing): improve & expand commit parsing w/ parser descriptions

* docs(changelog-templates): update examples using new `commit.linked_issues` attribute

* chore(docs): update documentation configuration for team publishing
Automatically generated by python-semantic-release
@pull pull bot added ⤵️ pull merge-conflict Resolve conflicts manually labels Dec 2, 2024
dependabot bot and others added 16 commits December 3, 2024 00:22
…1113)

* ci(deps): bump `python-semantic-release/publish-action` action from 9.14.0 to 9.15.0

* ci(deps): bump `mikepenz/action-junit-report` action from 5.0.0 to 5.1.0
Automatically generated by python-semantic-release
…& git flow merges (#1120)

* refactor: define a custom logging level of silly

* fix(version): remove some excessive log msgs from debug to silly level

* test(fixtures): refactor builder functions for version file updates

* test(fixtures): adjust build command to handle versions w/ build metadata

* test(fixtures): fix gitflow repo that included an invalid build metadata string

* test(fixtures): fix major_on_zero setting in repos to match expected behavior

* test(cmd-version): add test cases to run an example repo rebuild w/ psr

* test(cmd-version): enable git flow repo rebuild w/ psr test cases

* fix(cmd-version): handle multiple prerelease token variants properly

  In the case where there are alpha and beta releases, we must only
  consider the previous beta release even if alpha releases exist
  due to merging into beta release only branches which have no changes
  considerable changes from alphas but must be marked otherwise.

  Resolves: #789

* fix(cmd-version): fix version determination algorithm to capture commits across merged branches

* perf(cmd-version): refactor version determination algorithm for accuracy & speed

* test(algorithm): refactor test to match new function signature

* style(algorithm): drop unused functions & imports

* test(algorithm): adapt test case for new DFS commit traversal implementation
Adds an automatic cancelation of in-progress pipelines to limit action minutes
used (especially for e2e testing) when developer has already pushed a new update
* test(fixtures): improve changelog generator to filter by max version

* test(fixtures): add repo fixture of a trunk only repo w/ dual version support

* test(fixtures): add repo fixture of a trunk only repo w/ dual version support & prereleases

* test(cmd-version): add rebuild repo tests for new dual version support repos

* test(version-determination): adjust unit tests of increment_version logic

  This clarifies repeated function calls and pytest parameter names included
  the unclear assert diff.  Adds additional tests to check bad states for failures
  and refactored to match new function signature.

* fix(version-bump): increment based on current commit's history only

  Refactor duplicate logging messages and flow to process out odd cases
  in a fail fast methodology. This removes the reliance on any last full
  release that is not within the history of the current branch.

  Resolves: #861
…on versions (#1121)

* ci(deps): bump `tj-actions/changed-files` from 45.0.4 to 45.0.5

  Signed-off-by: dependabot[bot] <support@github.com>
  Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ci(deps): bump `python-semantic-release/publish-action` from 9.15.0 to 9.15.1

  Signed-off-by: dependabot[bot] <support@github.com>
  Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…nvironments (#1124)

  Resolves: #1123

* test(cmd-generate-config): added noop version execution to validate config at runtime

  ref: #1123
codejedi365 and others added 30 commits May 25, 2025 11:56
…ilure debugging (#1258)

* test(e2e): update tests to ignore logging messages when validating stderr output
Automatically generated by python-semantic-release
This reverts commit b15f3cb.

Revert commit because release & deploy process failed in CI. Must revert.
Automatically generated by python-semantic-release
…ace modification (#1262)

* ci(validate): fix job condition on github-action testing

* ci(release): remove filesystem error check detection - debug flag

* ci(deps): temporarily use the current HEAD github action to release psr
Automatically generated by python-semantic-release
…#1264)

* refactor(changelog-md): simplify & consolidate jinja macro functionality

* refactor(changelog-rst): simplify & consolidate jinja macro functionality
…1272)

* chore(scripts): drop code to bump versions of github-action examples in documentation
* chore(config): update mypy version in `pre-commit` configuration
…n with `--no-commit` (#1214)

Resolves: #1211

* test(cmd-version): update version stamp test to verify changes are staged during execution

* docs(configuration-guide): add how-to guide for `uv` integration

* docs(cmd-version): improve command description & include common uses

---------

Co-authored-by: codejedi365 <codejedi365@gmail.com>
Automatically generated by python-semantic-release
)

This commit adds a repo fixture and the rebuild repo test case to handle the situation
where a branch was started before a release but then a release occured and the developer
used a merge from the default branch (rather than rebase).

ref: #1252
* chore(config): bump `mypy` plugin version to 1.16.1 in pre-commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⤵️ pull merge-conflict Resolve conflicts manually
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants