python-semantic-release 9.13.0__tar.gz → 9.15.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_semantic_release-9.13.0/src/python_semantic_release.egg-info → python_semantic_release-9.15.0}/PKG-INFO +7 -2
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/docs/automatic-releases/github-actions.rst +7 -7
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/docs/changelog_templates.rst +54 -10
- python_semantic_release-9.15.0/docs/commit_parsing.rst +488 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/docs/conf.py +10 -8
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/docs/configuration.rst +34 -4
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/docs/index.rst +3 -3
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/docs/migrating_from_v7.rst +2 -2
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/pyproject.toml +19 -10
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0/src/python_semantic_release.egg-info}/PKG-INFO +7 -2
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/python_semantic_release.egg-info/SOURCES.txt +8 -1
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/python_semantic_release.egg-info/requires.txt +5 -1
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/__init__.py +1 -1
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/changelog/context.py +10 -1
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/changelog/release_history.py +19 -1
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/changelog/template.py +1 -1
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/changelog_writer.py +6 -5
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/cli_context.py +1 -1
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/commands/changelog.py +3 -2
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/commands/publish.py +2 -2
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/commands/version.py +7 -6
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/config.py +7 -3
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/github_actions_output.py +1 -1
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/commit_parser/_base.py +1 -1
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/commit_parser/angular.py +93 -14
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/commit_parser/emoji.py +120 -18
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/commit_parser/scipy.py +16 -2
- python_semantic_release-9.15.0/src/semantic_release/commit_parser/token.py +202 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/commit_parser/util.py +13 -4
- python_semantic_release-9.15.0/src/semantic_release/data/templates/angular/md/.components/changelog_init.md.j2 +29 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/data/templates/angular/md/.components/changelog_update.md.j2 +16 -7
- python_semantic_release-9.15.0/src/semantic_release/data/templates/angular/md/.components/changes.md.j2 +92 -0
- python_semantic_release-9.15.0/src/semantic_release/data/templates/angular/md/.components/first_release.md.j2 +11 -0
- python_semantic_release-9.15.0/src/semantic_release/data/templates/angular/md/.components/macros.md.j2 +164 -0
- python_semantic_release-9.15.0/src/semantic_release/data/templates/angular/md/.release_notes.md.j2 +58 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/data/templates/angular/md/CHANGELOG.md.j2 +0 -4
- python_semantic_release-9.15.0/src/semantic_release/data/templates/angular/rst/.components/changelog_init.rst.j2 +29 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/data/templates/angular/rst/.components/changelog_update.rst.j2 +16 -7
- python_semantic_release-9.15.0/src/semantic_release/data/templates/angular/rst/.components/changes.rst.j2 +129 -0
- python_semantic_release-9.15.0/src/semantic_release/data/templates/angular/rst/.components/first_release.rst.j2 +20 -0
- python_semantic_release-9.15.0/src/semantic_release/data/templates/angular/rst/.components/macros.rst.j2 +191 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/data/templates/angular/rst/CHANGELOG.rst.j2 +1 -4
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/errors.py +4 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/gitproject.py +1 -1
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/hvcs/_base.py +1 -1
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/hvcs/bitbucket.py +1 -1
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/hvcs/gitea.py +1 -1
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/hvcs/github.py +1 -1
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/hvcs/gitlab.py +1 -1
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/hvcs/remote_hvcs_base.py +1 -1
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/hvcs/util.py +1 -1
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/version/algorithm.py +1 -1
- python_semantic_release-9.15.0/tests/conftest.py +488 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/const.py +36 -4
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/e2e/cmd_changelog/test_changelog.py +158 -63
- python_semantic_release-9.15.0/tests/e2e/cmd_changelog/test_changelog_custom_parser.py +85 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/e2e/cmd_config/test_generate_config.py +1 -1
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/e2e/cmd_publish/test_publish.py +17 -7
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/e2e/cmd_version/test_version.py +24 -20
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/e2e/cmd_version/test_version_build.py +23 -13
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/e2e/cmd_version/test_version_bump.py +201 -87
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/e2e/cmd_version/test_version_changelog.py +309 -88
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/e2e/cmd_version/test_version_github_actions.py +2 -2
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/e2e/cmd_version/test_version_print.py +71 -75
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/e2e/cmd_version/test_version_release_notes.py +4 -4
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/e2e/cmd_version/test_version_stamp.py +7 -6
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/e2e/cmd_version/test_version_strict.py +15 -18
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/e2e/test_help.py +9 -4
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/e2e/test_main.py +26 -11
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/fixtures/example_project.py +129 -89
- python_semantic_release-9.15.0/tests/fixtures/git_repo.py +1658 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/fixtures/repos/git_flow/__init__.py +2 -0
- python_semantic_release-9.15.0/tests/fixtures/repos/git_flow/repo_w_1_release_channel.py +830 -0
- python_semantic_release-9.15.0/tests/fixtures/repos/git_flow/repo_w_2_release_channels.py +870 -0
- python_semantic_release-9.15.0/tests/fixtures/repos/git_flow/repo_w_3_release_channels.py +959 -0
- python_semantic_release-9.15.0/tests/fixtures/repos/git_flow/repo_w_4_release_channels.py +878 -0
- python_semantic_release-9.15.0/tests/fixtures/repos/github_flow/repo_w_default_release.py +489 -0
- python_semantic_release-9.15.0/tests/fixtures/repos/github_flow/repo_w_release_channels.py +548 -0
- python_semantic_release-9.15.0/tests/fixtures/repos/repo_initial_commit.py +201 -0
- python_semantic_release-9.15.0/tests/fixtures/repos/trunk_based_dev/repo_w_no_tags.py +274 -0
- python_semantic_release-9.15.0/tests/fixtures/repos/trunk_based_dev/repo_w_prereleases.py +402 -0
- python_semantic_release-9.15.0/tests/fixtures/repos/trunk_based_dev/repo_w_tags.py +322 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/fixtures/scipy.py +1 -1
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/unit/conftest.py +2 -0
- python_semantic_release-9.15.0/tests/unit/semantic_release/changelog/conftest.py +248 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/changelog/test_changelog_context.py +8 -0
- python_semantic_release-9.15.0/tests/unit/semantic_release/changelog/test_default_changelog.py +578 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/changelog/test_release_history.py +58 -82
- python_semantic_release-9.15.0/tests/unit/semantic_release/changelog/test_release_notes.py +452 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/changelog/test_template.py +2 -2
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/cli/test_config.py +2 -2
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/cli/test_github_actions_output.py +1 -1
- python_semantic_release-9.15.0/tests/unit/semantic_release/commit_parser/test_angular.py +518 -0
- python_semantic_release-9.15.0/tests/unit/semantic_release/commit_parser/test_emoji.py +410 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/commit_parser/test_parsed_commit.py +1 -1
- python_semantic_release-9.15.0/tests/unit/semantic_release/commit_parser/test_scipy.py +460 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/hvcs/test_gitlab.py +4 -114
- python_semantic_release-9.15.0/tests/unit/semantic_release/version/__init__.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/version/test_algorithm.py +1 -1
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/version/test_translator.py +10 -13
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/util.py +35 -12
- python_semantic_release-9.13.0/docs/commit-parsing.rst +0 -388
- python_semantic_release-9.13.0/src/semantic_release/commit_parser/token.py +0 -94
- python_semantic_release-9.13.0/src/semantic_release/data/templates/angular/md/.components/changelog_init.md.j2 +0 -22
- python_semantic_release-9.13.0/src/semantic_release/data/templates/angular/md/.components/changes.md.j2 +0 -44
- python_semantic_release-9.13.0/src/semantic_release/data/templates/angular/md/.components/macros.md.j2 +0 -48
- python_semantic_release-9.13.0/src/semantic_release/data/templates/angular/md/.release_notes.md.j2 +0 -1
- python_semantic_release-9.13.0/src/semantic_release/data/templates/angular/rst/.components/changelog_init.rst.j2 +0 -22
- python_semantic_release-9.13.0/src/semantic_release/data/templates/angular/rst/.components/changes.rst.j2 +0 -76
- python_semantic_release-9.13.0/src/semantic_release/data/templates/angular/rst/.components/macros.rst.j2 +0 -85
- python_semantic_release-9.13.0/tests/conftest.py +0 -224
- python_semantic_release-9.13.0/tests/fixtures/git_repo.py +0 -977
- python_semantic_release-9.13.0/tests/fixtures/repos/git_flow/repo_w_2_release_channels.py +0 -847
- python_semantic_release-9.13.0/tests/fixtures/repos/git_flow/repo_w_3_release_channels.py +0 -983
- python_semantic_release-9.13.0/tests/fixtures/repos/github_flow/repo_w_default_release.py +0 -477
- python_semantic_release-9.13.0/tests/fixtures/repos/github_flow/repo_w_release_channels.py +0 -555
- python_semantic_release-9.13.0/tests/fixtures/repos/repo_initial_commit.py +0 -174
- python_semantic_release-9.13.0/tests/fixtures/repos/trunk_based_dev/repo_w_no_tags.py +0 -249
- python_semantic_release-9.13.0/tests/fixtures/repos/trunk_based_dev/repo_w_prereleases.py +0 -384
- python_semantic_release-9.13.0/tests/fixtures/repos/trunk_based_dev/repo_w_tags.py +0 -287
- python_semantic_release-9.13.0/tests/unit/semantic_release/changelog/test_default_changelog.py +0 -225
- python_semantic_release-9.13.0/tests/unit/semantic_release/changelog/test_release_notes.py +0 -118
- python_semantic_release-9.13.0/tests/unit/semantic_release/commit_parser/test_angular.py +0 -242
- python_semantic_release-9.13.0/tests/unit/semantic_release/commit_parser/test_emoji.py +0 -128
- python_semantic_release-9.13.0/tests/unit/semantic_release/commit_parser/test_scipy.py +0 -184
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/AUTHORS.rst +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/LICENSE +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/MANIFEST.in +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/README.rst +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/docs/Makefile +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/docs/algorithm.rst +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/docs/automatic-releases/cronjobs.rst +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/docs/automatic-releases/index.rst +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/docs/automatic-releases/travis.rst +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/docs/commands.rst +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/docs/contributing.rst +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/docs/contributors.rst +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/docs/make.bat +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/docs/multibranch_releases.rst +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/docs/strict_mode.rst +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/docs/troubleshooting.rst +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/setup.cfg +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/python_semantic_release.egg-info/dependency_links.txt +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/python_semantic_release.egg-info/entry_points.txt +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/python_semantic_release.egg-info/top_level.txt +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/__main__.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/changelog/__init__.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/__init__.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/commands/__init__.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/commands/generate_config.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/commands/main.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/const.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/masking_filter.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/util.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/commit_parser/__init__.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/commit_parser/tag.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/const.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/data/templates/angular/md/.components/changelog_header.md.j2 +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/data/templates/angular/md/.components/unreleased_changes.md.j2 +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/data/templates/angular/md/.components/versioned_changes.md.j2 +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/data/templates/angular/rst/.components/changelog_header.rst.j2 +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/data/templates/angular/rst/.components/unreleased_changes.rst.j2 +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/data/templates/angular/rst/.components/versioned_changes.rst.j2 +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/enums.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/globals.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/helpers.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/hvcs/__init__.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/hvcs/token_auth.py +0 -0
- /python_semantic_release-9.13.0/tests/__init__.py → /python_semantic_release-9.15.0/src/semantic_release/py.typed +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/version/__init__.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/version/declaration.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/version/translator.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/src/semantic_release/version/version.py +0 -0
- {python_semantic_release-9.13.0/tests/e2e → python_semantic_release-9.15.0/tests}/__init__.py +0 -0
- {python_semantic_release-9.13.0/tests/e2e/cmd_changelog → python_semantic_release-9.15.0/tests/e2e}/__init__.py +0 -0
- {python_semantic_release-9.13.0/tests/e2e/cmd_config → python_semantic_release-9.15.0/tests/e2e/cmd_changelog}/__init__.py +0 -0
- {python_semantic_release-9.13.0/tests/e2e/cmd_publish → python_semantic_release-9.15.0/tests/e2e/cmd_config}/__init__.py +0 -0
- {python_semantic_release-9.13.0/tests/e2e/cmd_version → python_semantic_release-9.15.0/tests/e2e/cmd_publish}/__init__.py +0 -0
- {python_semantic_release-9.13.0/tests/unit → python_semantic_release-9.15.0/tests/e2e/cmd_version}/__init__.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/e2e/conftest.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/fixtures/__init__.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/fixtures/commit_parsers.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/fixtures/repos/__init__.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/fixtures/repos/github_flow/__init__.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/fixtures/repos/trunk_based_dev/__init__.py +0 -0
- {python_semantic_release-9.13.0/tests/unit/semantic_release → python_semantic_release-9.15.0/tests/unit}/__init__.py +0 -0
- {python_semantic_release-9.13.0/tests/unit/semantic_release/changelog → python_semantic_release-9.15.0/tests/unit/semantic_release}/__init__.py +0 -0
- {python_semantic_release-9.13.0/tests/unit/semantic_release/cli → python_semantic_release-9.15.0/tests/unit/semantic_release/changelog}/__init__.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/changelog/test_template_render.py +0 -0
- {python_semantic_release-9.13.0/tests/unit/semantic_release/commit_parser → python_semantic_release-9.15.0/tests/unit/semantic_release/cli}/__init__.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/cli/test_masking_filter.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/cli/test_util.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/cli/test_version.py +0 -0
- {python_semantic_release-9.13.0/tests/unit/semantic_release/hvcs → python_semantic_release-9.15.0/tests/unit/semantic_release/commit_parser}/__init__.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/commit_parser/test_util.py +0 -0
- {python_semantic_release-9.13.0/tests/unit/semantic_release/version → python_semantic_release-9.15.0/tests/unit/semantic_release/hvcs}/__init__.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/hvcs/test__base.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/hvcs/test_bitbucket.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/hvcs/test_gitea.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/hvcs/test_github.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/hvcs/test_token_auth.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/hvcs/test_util.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/test_helpers.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/version/test_declaration.py +0 -0
- {python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/version/test_version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-semantic-release
|
|
3
|
-
Version: 9.
|
|
3
|
+
Version: 9.15.0
|
|
4
4
|
Summary: Automatic Semantic Versioning for Python projects
|
|
5
5
|
Author-email: Rolf Erik Lekang <me@rolflekang.com>
|
|
6
6
|
License: MIT
|
|
@@ -16,6 +16,7 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.10
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.11
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
20
|
Requires-Python: >=3.8
|
|
20
21
|
Description-Content-Type: text/x-rst
|
|
21
22
|
License-File: LICENSE
|
|
@@ -41,6 +42,9 @@ Requires-Dist: sphinx-autobuild==2024.2.4; extra == "docs"
|
|
|
41
42
|
Requires-Dist: furo~=2024.1; extra == "docs"
|
|
42
43
|
Provides-Extra: test
|
|
43
44
|
Requires-Dist: coverage[toml]~=7.0; extra == "test"
|
|
45
|
+
Requires-Dist: filelock~=3.15; extra == "test"
|
|
46
|
+
Requires-Dist: flatdict~=4.0; extra == "test"
|
|
47
|
+
Requires-Dist: freezegun~=1.5; extra == "test"
|
|
44
48
|
Requires-Dist: pyyaml~=6.0; extra == "test"
|
|
45
49
|
Requires-Dist: pytest~=8.3; extra == "test"
|
|
46
50
|
Requires-Dist: pytest-clarity~=1.0; extra == "test"
|
|
@@ -58,8 +62,9 @@ Requires-Dist: pre-commit~=3.5; extra == "dev"
|
|
|
58
62
|
Requires-Dist: tox~=4.11; extra == "dev"
|
|
59
63
|
Requires-Dist: ruff==0.6.1; extra == "dev"
|
|
60
64
|
Provides-Extra: mypy
|
|
61
|
-
Requires-Dist: mypy==1.
|
|
65
|
+
Requires-Dist: mypy==1.13.0; extra == "mypy"
|
|
62
66
|
Requires-Dist: types-requests~=2.32.0; extra == "mypy"
|
|
67
|
+
Requires-Dist: types-pyyaml~=6.0; extra == "mypy"
|
|
63
68
|
|
|
64
69
|
Python Semantic Release
|
|
65
70
|
***********************
|
|
@@ -71,7 +71,7 @@ outlines each supported input and its purpose.
|
|
|
71
71
|
.. _gh_actions-psr-inputs-build:
|
|
72
72
|
|
|
73
73
|
``build``
|
|
74
|
-
""""""""
|
|
74
|
+
"""""""""
|
|
75
75
|
|
|
76
76
|
**Type:** ``Literal["true", "false"]``
|
|
77
77
|
|
|
@@ -337,7 +337,7 @@ before the :ref:`version <cmd-version>` subcommand.
|
|
|
337
337
|
|
|
338
338
|
.. code:: yaml
|
|
339
339
|
|
|
340
|
-
- uses: python-semantic-release/python-semantic-release@v9.
|
|
340
|
+
- uses: python-semantic-release/python-semantic-release@v9.15.0
|
|
341
341
|
with:
|
|
342
342
|
root_options: "-vv --noop"
|
|
343
343
|
|
|
@@ -438,7 +438,7 @@ and any actions that were taken.
|
|
|
438
438
|
.. _gh_actions-psr-outputs-is_prerelease:
|
|
439
439
|
|
|
440
440
|
``is_prerelease``
|
|
441
|
-
""""""""""""""""
|
|
441
|
+
"""""""""""""""""
|
|
442
442
|
|
|
443
443
|
**Type:** ``Literal["true", "false"]``
|
|
444
444
|
|
|
@@ -684,7 +684,7 @@ to the GitHub Release Assets as well.
|
|
|
684
684
|
- name: Action | Semantic Version Release
|
|
685
685
|
id: release
|
|
686
686
|
# Adjust tag with desired version if applicable.
|
|
687
|
-
uses: python-semantic-release/python-semantic-release@v9.
|
|
687
|
+
uses: python-semantic-release/python-semantic-release@v9.15.0
|
|
688
688
|
with:
|
|
689
689
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
690
690
|
git_committer_name: "github-actions"
|
|
@@ -744,7 +744,7 @@ The equivalent GitHub Action configuration would be:
|
|
|
744
744
|
|
|
745
745
|
- name: Action | Semantic Version Release
|
|
746
746
|
# Adjust tag with desired version if applicable.
|
|
747
|
-
uses: python-semantic-release/python-semantic-release@v9.
|
|
747
|
+
uses: python-semantic-release/python-semantic-release@v9.15.0
|
|
748
748
|
with:
|
|
749
749
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
750
750
|
force: patch
|
|
@@ -772,13 +772,13 @@ Publish Action.
|
|
|
772
772
|
.. code:: yaml
|
|
773
773
|
|
|
774
774
|
- name: Release Project 1
|
|
775
|
-
uses: python-semantic-release/python-semantic-release@v9.
|
|
775
|
+
uses: python-semantic-release/python-semantic-release@v9.15.0
|
|
776
776
|
with:
|
|
777
777
|
directory: ./project1
|
|
778
778
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
779
779
|
|
|
780
780
|
- name: Release Project 2
|
|
781
|
-
uses: python-semantic-release/python-semantic-release@v9.
|
|
781
|
+
uses: python-semantic-release/python-semantic-release@v9.15.0
|
|
782
782
|
with:
|
|
783
783
|
directory: ./project2
|
|
784
784
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
{python_semantic_release-9.13.0 → python_semantic_release-9.15.0}/docs/changelog_templates.rst
RENAMED
|
@@ -470,6 +470,26 @@ the ``context`` object has the following attributes:
|
|
|
470
470
|
#}{% endif
|
|
471
471
|
%}
|
|
472
472
|
|
|
473
|
+
* ``mask_initial_release (bool)``: a boolean value indicating whether the initial release
|
|
474
|
+
should be masked with a generic message. This value is passed directly from the
|
|
475
|
+
:ref:`changelog.default_templates.mask_initial_release <config-changelog-default_templates-mask_initial_release>`
|
|
476
|
+
configuration setting.
|
|
477
|
+
|
|
478
|
+
*Introduced in v9.14.0.*
|
|
479
|
+
|
|
480
|
+
**Example Usage:**
|
|
481
|
+
|
|
482
|
+
.. code:: jinja
|
|
483
|
+
|
|
484
|
+
#}{% if releases | length == 1 and ctx.mask_initial_release
|
|
485
|
+
%}{# # On a first release, generate a generic message
|
|
486
|
+
#}{% include ".components/first_release.md.j2"
|
|
487
|
+
%}{% else
|
|
488
|
+
%}{# # Not the first release
|
|
489
|
+
#}{% include ".components/versioned_changes.md.j2"
|
|
490
|
+
%}{% endif
|
|
491
|
+
%}
|
|
492
|
+
|
|
473
493
|
* ``repo_name (str)``: the name of the current repository parsed from the Git url.
|
|
474
494
|
|
|
475
495
|
**Example Usage:**
|
|
@@ -537,7 +557,7 @@ author, you are free to customize how these are presented in the rendered templa
|
|
|
537
557
|
|
|
538
558
|
.. note::
|
|
539
559
|
If you are using a custom commit parser following the guide at
|
|
540
|
-
:ref:`
|
|
560
|
+
:ref:`commit_parser-custom_parser`, your custom implementations of
|
|
541
561
|
:py:class:`ParseResult <semantic_release.commit_parser.token.ParseResult>`,
|
|
542
562
|
:py:class:`ParseError <semantic_release.commit_parser.token.ParseError>`
|
|
543
563
|
and :py:class:`ParsedCommit <semantic_release.commit_parser.token.ParsedCommit>`
|
|
@@ -549,7 +569,7 @@ are of type :py:class:`Version <semantic_release.version.version.Version>`. You
|
|
|
549
569
|
use the ``as_tag()`` method to render these as the Git tag that they correspond to
|
|
550
570
|
inside your template.
|
|
551
571
|
|
|
552
|
-
A :py:class:`Release <semantic_release.changelog.release_history.Release>`object
|
|
572
|
+
A :py:class:`Release <semantic_release.changelog.release_history.Release>` object
|
|
553
573
|
has an ``elements`` attribute, which has the same structure as the ``unreleased``
|
|
554
574
|
attribute of a
|
|
555
575
|
:py:class:`ReleaseHistory <semantic_release.changelog.release_history.ReleaseHistory>`;
|
|
@@ -572,7 +592,8 @@ type, it's recommended to use Jinja's
|
|
|
572
592
|
`dictsort <https://jinja.palletsprojects.com/en/3.1.x/templates/#jinja-filters.dictsort>`_
|
|
573
593
|
filter.
|
|
574
594
|
|
|
575
|
-
Each
|
|
595
|
+
Each :py:class:`Release <semantic_release.changelog.release_history.Release>`
|
|
596
|
+
object also has the following attributes:
|
|
576
597
|
|
|
577
598
|
* ``tagger: git.Actor``: The tagger who tagged the release.
|
|
578
599
|
|
|
@@ -581,8 +602,8 @@ Each ``Release`` object also has the following attributes:
|
|
|
581
602
|
* ``tagged_date: datetime``: The date and time at which the release was tagged.
|
|
582
603
|
|
|
583
604
|
.. seealso::
|
|
584
|
-
* :ref:`
|
|
585
|
-
* :ref:`Commit Parser Tokens <
|
|
605
|
+
* :ref:`commit_parser-builtin`
|
|
606
|
+
* :ref:`Commit Parser Tokens <commit_parser-tokens>`
|
|
586
607
|
* `git.Actor <https://gitpython.readthedocs.io/en/stable/reference.html#git.objects.util.Actor>`_
|
|
587
608
|
* `datetime.strftime Format Codes <https://docs.python.org/3/library/datetime.html#strftime-and-strptime-format-codes>`_
|
|
588
609
|
|
|
@@ -612,6 +633,8 @@ The filters provided vary based on the VCS configured and available features:
|
|
|
612
633
|
|
|
613
634
|
{{ "This is a long string that needs to be wrapped to a specific width" | autofit_text_width(40, 4) }}
|
|
614
635
|
|
|
636
|
+
**Markdown Output:**
|
|
637
|
+
|
|
615
638
|
.. code:: markdown
|
|
616
639
|
|
|
617
640
|
This is a long string that needs to be
|
|
@@ -649,6 +672,8 @@ The filters provided vary based on the VCS configured and available features:
|
|
|
649
672
|
{{ "example/repo.git" | create_server_url }}
|
|
650
673
|
{{ "example/repo" | create_server_url(None, "results=1", "section-header") }}
|
|
651
674
|
|
|
675
|
+
**Markdown Output:**
|
|
676
|
+
|
|
652
677
|
.. code:: markdown
|
|
653
678
|
|
|
654
679
|
https://example.com/example/repo.git
|
|
@@ -670,6 +695,8 @@ The filters provided vary based on the VCS configured and available features:
|
|
|
670
695
|
{{ "releases/tags/v1.0.0" | create_repo_url }}
|
|
671
696
|
{{ "issues" | create_repo_url("q=is%3Aissue+is%3Aclosed") }}
|
|
672
697
|
|
|
698
|
+
**Markdown Output:**
|
|
699
|
+
|
|
673
700
|
.. code:: markdown
|
|
674
701
|
|
|
675
702
|
https://example.com/example/repo/releases/tags/v1.0.0
|
|
@@ -686,6 +713,8 @@ The filters provided vary based on the VCS configured and available features:
|
|
|
686
713
|
|
|
687
714
|
{{ commit.hexsha | commit_hash_url }}
|
|
688
715
|
|
|
716
|
+
**Markdown Output:**
|
|
717
|
+
|
|
689
718
|
.. code:: markdown
|
|
690
719
|
|
|
691
720
|
https://example.com/example/repo/commit/a1b2c3d435657f5d339ba10c7b1ed81b460af51d
|
|
@@ -702,13 +731,15 @@ The filters provided vary based on the VCS configured and available features:
|
|
|
702
731
|
|
|
703
732
|
{{ "v1.0.0" | compare_url("v1.1.0") }}
|
|
704
733
|
|
|
734
|
+
**Markdown Output:**
|
|
735
|
+
|
|
705
736
|
.. code:: markdown
|
|
706
737
|
|
|
707
738
|
https://example.com/example/repo/compare/v1.0.0...v1.1.0
|
|
708
739
|
|
|
709
740
|
* ``issue_url (Callable[[IssueNumStr | IssueNumInt], UrlStr])``: given an issue
|
|
710
741
|
number, return a URL to the issue on the remote vcs. In v9.12.2, this filter
|
|
711
|
-
was updated to handle a string that has leading prefix symbols (ex. ``#
|
|
742
|
+
was updated to handle a string that has leading prefix symbols (ex. ``#32``)
|
|
712
743
|
and will strip the prefix before generating the URL.
|
|
713
744
|
|
|
714
745
|
*Introduced in v9.6.0, Modified in v9.12.2.*
|
|
@@ -717,11 +748,19 @@ The filters provided vary based on the VCS configured and available features:
|
|
|
717
748
|
|
|
718
749
|
.. code:: jinja
|
|
719
750
|
|
|
720
|
-
{
|
|
751
|
+
{# Add Links to issues annotated in the commit message
|
|
752
|
+
# NOTE: commit.linked_issues is only available in v9.15.0 or greater
|
|
753
|
+
#
|
|
754
|
+
#}{% for issue_ref in commit.linked_issues
|
|
755
|
+
%}{{ "- [%s](%s)" | format(issue_ref, issue_ref | issue_url)
|
|
756
|
+
}}{% endfor
|
|
757
|
+
%}
|
|
758
|
+
|
|
759
|
+
**Markdown Output:**
|
|
721
760
|
|
|
722
761
|
.. code:: markdown
|
|
723
762
|
|
|
724
|
-
https://example.com/example/repo/issues/
|
|
763
|
+
- [#32](https://example.com/example/repo/issues/32)
|
|
725
764
|
|
|
726
765
|
* ``merge_request_url (Callable[[MergeReqStr | MergeReqInt], UrlStr])``: given a
|
|
727
766
|
merge request number, return a URL to the merge request in the remote. This is
|
|
@@ -744,6 +783,8 @@ The filters provided vary based on the VCS configured and available features:
|
|
|
744
783
|
}}
|
|
745
784
|
{# commit.linked_merge_request is only available in v9.13.0 or greater #}
|
|
746
785
|
|
|
786
|
+
**Markdown Output:**
|
|
787
|
+
|
|
747
788
|
.. code:: markdown
|
|
748
789
|
|
|
749
790
|
[#29](https://example.com/example/repo/-/merge_requests/29)
|
|
@@ -761,13 +802,16 @@ The filters provided vary based on the VCS configured and available features:
|
|
|
761
802
|
|
|
762
803
|
.. code:: jinja
|
|
763
804
|
|
|
764
|
-
{
|
|
805
|
+
{# Create a link to the merge request associated with the commit
|
|
806
|
+
# NOTE: commit.linked_merge_request is only available in v9.13.0 or greater
|
|
807
|
+
#}{{
|
|
765
808
|
"[%s](%s)" | format(
|
|
766
809
|
commit.linked_merge_request,
|
|
767
810
|
commit.linked_merge_request | pull_request_url
|
|
768
811
|
)
|
|
769
812
|
}}
|
|
770
|
-
|
|
813
|
+
|
|
814
|
+
**Markdown Output:**
|
|
771
815
|
|
|
772
816
|
.. code:: markdown
|
|
773
817
|
|