python-semantic-release 9.14.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.14.0/src/python_semantic_release.egg-info → python_semantic_release-9.15.0}/PKG-INFO +6 -1
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/docs/automatic-releases/github-actions.rst +7 -7
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/docs/changelog_templates.rst +34 -10
- python_semantic_release-9.15.0/docs/commit_parsing.rst +488 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/docs/conf.py +10 -8
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/docs/configuration.rst +5 -5
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/docs/index.rst +1 -1
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/docs/migrating_from_v7.rst +2 -2
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/pyproject.toml +18 -9
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0/src/python_semantic_release.egg-info}/PKG-INFO +6 -1
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/python_semantic_release.egg-info/SOURCES.txt +5 -1
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/python_semantic_release.egg-info/requires.txt +4 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/__init__.py +1 -1
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/changelog/context.py +1 -1
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/changelog/release_history.py +19 -1
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/changelog/template.py +1 -1
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/changelog_writer.py +1 -1
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/cli_context.py +1 -1
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/commands/changelog.py +2 -2
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/commands/publish.py +2 -2
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/commands/version.py +6 -6
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/config.py +3 -3
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/github_actions_output.py +1 -1
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/commit_parser/_base.py +1 -1
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/commit_parser/angular.py +93 -14
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/commit_parser/emoji.py +120 -18
- {python_semantic_release-9.14.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.14.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/changes.md.j2 +92 -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.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/macros.rst.j2 +191 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/errors.py +4 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/gitproject.py +1 -1
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/hvcs/_base.py +1 -1
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/hvcs/bitbucket.py +1 -1
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/hvcs/gitea.py +1 -1
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/hvcs/github.py +1 -1
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/hvcs/gitlab.py +1 -1
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/hvcs/remote_hvcs_base.py +1 -1
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/hvcs/util.py +1 -1
- {python_semantic_release-9.14.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.14.0 → python_semantic_release-9.15.0}/tests/const.py +36 -4
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/e2e/cmd_changelog/test_changelog.py +97 -67
- python_semantic_release-9.15.0/tests/e2e/cmd_changelog/test_changelog_custom_parser.py +85 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/e2e/cmd_config/test_generate_config.py +1 -1
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/e2e/cmd_publish/test_publish.py +17 -7
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/e2e/cmd_version/test_version.py +24 -20
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/e2e/cmd_version/test_version_build.py +23 -13
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/e2e/cmd_version/test_version_bump.py +201 -87
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/e2e/cmd_version/test_version_changelog.py +309 -88
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/e2e/cmd_version/test_version_github_actions.py +2 -2
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/e2e/cmd_version/test_version_print.py +61 -65
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/e2e/cmd_version/test_version_release_notes.py +4 -4
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/e2e/cmd_version/test_version_stamp.py +7 -6
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/e2e/cmd_version/test_version_strict.py +15 -18
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/e2e/test_help.py +9 -4
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/e2e/test_main.py +26 -11
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/fixtures/example_project.py +129 -89
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/fixtures/git_repo.py +781 -183
- {python_semantic_release-9.14.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.14.0 → python_semantic_release-9.15.0}/tests/fixtures/scipy.py +1 -1
- {python_semantic_release-9.14.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.15.0/tests/unit/semantic_release/changelog/test_default_changelog.py +578 -0
- {python_semantic_release-9.14.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.14.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/changelog/test_template.py +2 -2
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/cli/test_config.py +2 -2
- {python_semantic_release-9.14.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.14.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.14.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.14.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/version/test_algorithm.py +1 -1
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/version/test_translator.py +10 -13
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/util.py +34 -12
- python_semantic_release-9.14.0/docs/commit-parsing.rst +0 -388
- python_semantic_release-9.14.0/src/semantic_release/commit_parser/token.py +0 -94
- python_semantic_release-9.14.0/src/semantic_release/data/templates/angular/md/.components/changes.md.j2 +0 -44
- python_semantic_release-9.14.0/src/semantic_release/data/templates/angular/md/.components/macros.md.j2 +0 -69
- python_semantic_release-9.14.0/src/semantic_release/data/templates/angular/md/.release_notes.md.j2 +0 -13
- python_semantic_release-9.14.0/src/semantic_release/data/templates/angular/rst/.components/changes.rst.j2 +0 -76
- python_semantic_release-9.14.0/src/semantic_release/data/templates/angular/rst/.components/macros.rst.j2 +0 -97
- python_semantic_release-9.14.0/tests/conftest.py +0 -224
- python_semantic_release-9.14.0/tests/fixtures/repos/git_flow/repo_w_2_release_channels.py +0 -865
- python_semantic_release-9.14.0/tests/fixtures/repos/git_flow/repo_w_3_release_channels.py +0 -1003
- python_semantic_release-9.14.0/tests/fixtures/repos/github_flow/repo_w_default_release.py +0 -485
- python_semantic_release-9.14.0/tests/fixtures/repos/github_flow/repo_w_release_channels.py +0 -569
- python_semantic_release-9.14.0/tests/fixtures/repos/repo_initial_commit.py +0 -178
- python_semantic_release-9.14.0/tests/fixtures/repos/trunk_based_dev/repo_w_no_tags.py +0 -253
- python_semantic_release-9.14.0/tests/fixtures/repos/trunk_based_dev/repo_w_prereleases.py +0 -394
- python_semantic_release-9.14.0/tests/fixtures/repos/trunk_based_dev/repo_w_tags.py +0 -293
- python_semantic_release-9.14.0/tests/unit/semantic_release/changelog/conftest.py +0 -114
- python_semantic_release-9.14.0/tests/unit/semantic_release/changelog/test_default_changelog.py +0 -248
- python_semantic_release-9.14.0/tests/unit/semantic_release/changelog/test_release_notes.py +0 -188
- python_semantic_release-9.14.0/tests/unit/semantic_release/commit_parser/test_angular.py +0 -242
- python_semantic_release-9.14.0/tests/unit/semantic_release/commit_parser/test_emoji.py +0 -128
- python_semantic_release-9.14.0/tests/unit/semantic_release/commit_parser/test_scipy.py +0 -184
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/AUTHORS.rst +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/LICENSE +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/MANIFEST.in +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/README.rst +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/docs/Makefile +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/docs/algorithm.rst +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/docs/automatic-releases/cronjobs.rst +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/docs/automatic-releases/index.rst +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/docs/automatic-releases/travis.rst +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/docs/commands.rst +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/docs/contributing.rst +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/docs/contributors.rst +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/docs/make.bat +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/docs/multibranch_releases.rst +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/docs/strict_mode.rst +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/docs/troubleshooting.rst +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/setup.cfg +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/python_semantic_release.egg-info/dependency_links.txt +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/python_semantic_release.egg-info/entry_points.txt +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/python_semantic_release.egg-info/top_level.txt +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/__main__.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/changelog/__init__.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/__init__.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/commands/__init__.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/commands/generate_config.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/commands/main.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/const.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/masking_filter.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/cli/util.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/commit_parser/__init__.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/commit_parser/tag.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/const.py +0 -0
- {python_semantic_release-9.14.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.14.0 → python_semantic_release-9.15.0}/src/semantic_release/data/templates/angular/md/.components/changelog_init.md.j2 +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/data/templates/angular/md/.components/changelog_update.md.j2 +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/data/templates/angular/md/.components/first_release.md.j2 +0 -0
- {python_semantic_release-9.14.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.14.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.14.0 → python_semantic_release-9.15.0}/src/semantic_release/data/templates/angular/md/CHANGELOG.md.j2 +0 -0
- {python_semantic_release-9.14.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.14.0 → python_semantic_release-9.15.0}/src/semantic_release/data/templates/angular/rst/.components/changelog_init.rst.j2 +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/data/templates/angular/rst/.components/changelog_update.rst.j2 +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/data/templates/angular/rst/.components/first_release.rst.j2 +0 -0
- {python_semantic_release-9.14.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.14.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.14.0 → python_semantic_release-9.15.0}/src/semantic_release/data/templates/angular/rst/CHANGELOG.rst.j2 +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/enums.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/globals.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/helpers.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/hvcs/__init__.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/hvcs/token_auth.py +0 -0
- /python_semantic_release-9.14.0/tests/__init__.py → /python_semantic_release-9.15.0/src/semantic_release/py.typed +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/version/__init__.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/version/declaration.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/version/translator.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/src/semantic_release/version/version.py +0 -0
- {python_semantic_release-9.14.0/tests/e2e → python_semantic_release-9.15.0/tests}/__init__.py +0 -0
- {python_semantic_release-9.14.0/tests/e2e/cmd_changelog → python_semantic_release-9.15.0/tests/e2e}/__init__.py +0 -0
- {python_semantic_release-9.14.0/tests/e2e/cmd_config → python_semantic_release-9.15.0/tests/e2e/cmd_changelog}/__init__.py +0 -0
- {python_semantic_release-9.14.0/tests/e2e/cmd_publish → python_semantic_release-9.15.0/tests/e2e/cmd_config}/__init__.py +0 -0
- {python_semantic_release-9.14.0/tests/e2e/cmd_version → python_semantic_release-9.15.0/tests/e2e/cmd_publish}/__init__.py +0 -0
- {python_semantic_release-9.14.0/tests/unit → python_semantic_release-9.15.0/tests/e2e/cmd_version}/__init__.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/e2e/conftest.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/fixtures/__init__.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/fixtures/commit_parsers.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/fixtures/repos/__init__.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/fixtures/repos/github_flow/__init__.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/fixtures/repos/trunk_based_dev/__init__.py +0 -0
- {python_semantic_release-9.14.0/tests/unit/semantic_release → python_semantic_release-9.15.0/tests/unit}/__init__.py +0 -0
- {python_semantic_release-9.14.0/tests/unit/semantic_release/changelog → python_semantic_release-9.15.0/tests/unit/semantic_release}/__init__.py +0 -0
- {python_semantic_release-9.14.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.14.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/changelog/test_changelog_context.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/changelog/test_template_render.py +0 -0
- {python_semantic_release-9.14.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.14.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/cli/test_masking_filter.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/cli/test_util.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/cli/test_version.py +0 -0
- {python_semantic_release-9.14.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.14.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/commit_parser/test_util.py +0 -0
- {python_semantic_release-9.14.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.14.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/hvcs/test__base.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/hvcs/test_bitbucket.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/hvcs/test_gitea.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/hvcs/test_github.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/hvcs/test_token_auth.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/hvcs/test_util.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/test_helpers.py +0 -0
- {python_semantic_release-9.14.0 → python_semantic_release-9.15.0}/tests/unit/semantic_release/version/test_declaration.py +0 -0
- {python_semantic_release-9.14.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"
|
|
@@ -60,6 +64,7 @@ Requires-Dist: ruff==0.6.1; extra == "dev"
|
|
|
60
64
|
Provides-Extra: mypy
|
|
61
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.14.0 → python_semantic_release-9.15.0}/docs/changelog_templates.rst
RENAMED
|
@@ -557,7 +557,7 @@ author, you are free to customize how these are presented in the rendered templa
|
|
|
557
557
|
|
|
558
558
|
.. note::
|
|
559
559
|
If you are using a custom commit parser following the guide at
|
|
560
|
-
:ref:`
|
|
560
|
+
:ref:`commit_parser-custom_parser`, your custom implementations of
|
|
561
561
|
:py:class:`ParseResult <semantic_release.commit_parser.token.ParseResult>`,
|
|
562
562
|
:py:class:`ParseError <semantic_release.commit_parser.token.ParseError>`
|
|
563
563
|
and :py:class:`ParsedCommit <semantic_release.commit_parser.token.ParsedCommit>`
|
|
@@ -569,7 +569,7 @@ are of type :py:class:`Version <semantic_release.version.version.Version>`. You
|
|
|
569
569
|
use the ``as_tag()`` method to render these as the Git tag that they correspond to
|
|
570
570
|
inside your template.
|
|
571
571
|
|
|
572
|
-
A :py:class:`Release <semantic_release.changelog.release_history.Release>`object
|
|
572
|
+
A :py:class:`Release <semantic_release.changelog.release_history.Release>` object
|
|
573
573
|
has an ``elements`` attribute, which has the same structure as the ``unreleased``
|
|
574
574
|
attribute of a
|
|
575
575
|
:py:class:`ReleaseHistory <semantic_release.changelog.release_history.ReleaseHistory>`;
|
|
@@ -592,7 +592,8 @@ type, it's recommended to use Jinja's
|
|
|
592
592
|
`dictsort <https://jinja.palletsprojects.com/en/3.1.x/templates/#jinja-filters.dictsort>`_
|
|
593
593
|
filter.
|
|
594
594
|
|
|
595
|
-
Each
|
|
595
|
+
Each :py:class:`Release <semantic_release.changelog.release_history.Release>`
|
|
596
|
+
object also has the following attributes:
|
|
596
597
|
|
|
597
598
|
* ``tagger: git.Actor``: The tagger who tagged the release.
|
|
598
599
|
|
|
@@ -601,8 +602,8 @@ Each ``Release`` object also has the following attributes:
|
|
|
601
602
|
* ``tagged_date: datetime``: The date and time at which the release was tagged.
|
|
602
603
|
|
|
603
604
|
.. seealso::
|
|
604
|
-
* :ref:`
|
|
605
|
-
* :ref:`Commit Parser Tokens <
|
|
605
|
+
* :ref:`commit_parser-builtin`
|
|
606
|
+
* :ref:`Commit Parser Tokens <commit_parser-tokens>`
|
|
606
607
|
* `git.Actor <https://gitpython.readthedocs.io/en/stable/reference.html#git.objects.util.Actor>`_
|
|
607
608
|
* `datetime.strftime Format Codes <https://docs.python.org/3/library/datetime.html#strftime-and-strptime-format-codes>`_
|
|
608
609
|
|
|
@@ -632,6 +633,8 @@ The filters provided vary based on the VCS configured and available features:
|
|
|
632
633
|
|
|
633
634
|
{{ "This is a long string that needs to be wrapped to a specific width" | autofit_text_width(40, 4) }}
|
|
634
635
|
|
|
636
|
+
**Markdown Output:**
|
|
637
|
+
|
|
635
638
|
.. code:: markdown
|
|
636
639
|
|
|
637
640
|
This is a long string that needs to be
|
|
@@ -669,6 +672,8 @@ The filters provided vary based on the VCS configured and available features:
|
|
|
669
672
|
{{ "example/repo.git" | create_server_url }}
|
|
670
673
|
{{ "example/repo" | create_server_url(None, "results=1", "section-header") }}
|
|
671
674
|
|
|
675
|
+
**Markdown Output:**
|
|
676
|
+
|
|
672
677
|
.. code:: markdown
|
|
673
678
|
|
|
674
679
|
https://example.com/example/repo.git
|
|
@@ -690,6 +695,8 @@ The filters provided vary based on the VCS configured and available features:
|
|
|
690
695
|
{{ "releases/tags/v1.0.0" | create_repo_url }}
|
|
691
696
|
{{ "issues" | create_repo_url("q=is%3Aissue+is%3Aclosed") }}
|
|
692
697
|
|
|
698
|
+
**Markdown Output:**
|
|
699
|
+
|
|
693
700
|
.. code:: markdown
|
|
694
701
|
|
|
695
702
|
https://example.com/example/repo/releases/tags/v1.0.0
|
|
@@ -706,6 +713,8 @@ The filters provided vary based on the VCS configured and available features:
|
|
|
706
713
|
|
|
707
714
|
{{ commit.hexsha | commit_hash_url }}
|
|
708
715
|
|
|
716
|
+
**Markdown Output:**
|
|
717
|
+
|
|
709
718
|
.. code:: markdown
|
|
710
719
|
|
|
711
720
|
https://example.com/example/repo/commit/a1b2c3d435657f5d339ba10c7b1ed81b460af51d
|
|
@@ -722,13 +731,15 @@ The filters provided vary based on the VCS configured and available features:
|
|
|
722
731
|
|
|
723
732
|
{{ "v1.0.0" | compare_url("v1.1.0") }}
|
|
724
733
|
|
|
734
|
+
**Markdown Output:**
|
|
735
|
+
|
|
725
736
|
.. code:: markdown
|
|
726
737
|
|
|
727
738
|
https://example.com/example/repo/compare/v1.0.0...v1.1.0
|
|
728
739
|
|
|
729
740
|
* ``issue_url (Callable[[IssueNumStr | IssueNumInt], UrlStr])``: given an issue
|
|
730
741
|
number, return a URL to the issue on the remote vcs. In v9.12.2, this filter
|
|
731
|
-
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``)
|
|
732
743
|
and will strip the prefix before generating the URL.
|
|
733
744
|
|
|
734
745
|
*Introduced in v9.6.0, Modified in v9.12.2.*
|
|
@@ -737,11 +748,19 @@ The filters provided vary based on the VCS configured and available features:
|
|
|
737
748
|
|
|
738
749
|
.. code:: jinja
|
|
739
750
|
|
|
740
|
-
{
|
|
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:**
|
|
741
760
|
|
|
742
761
|
.. code:: markdown
|
|
743
762
|
|
|
744
|
-
https://example.com/example/repo/issues/
|
|
763
|
+
- [#32](https://example.com/example/repo/issues/32)
|
|
745
764
|
|
|
746
765
|
* ``merge_request_url (Callable[[MergeReqStr | MergeReqInt], UrlStr])``: given a
|
|
747
766
|
merge request number, return a URL to the merge request in the remote. This is
|
|
@@ -764,6 +783,8 @@ The filters provided vary based on the VCS configured and available features:
|
|
|
764
783
|
}}
|
|
765
784
|
{# commit.linked_merge_request is only available in v9.13.0 or greater #}
|
|
766
785
|
|
|
786
|
+
**Markdown Output:**
|
|
787
|
+
|
|
767
788
|
.. code:: markdown
|
|
768
789
|
|
|
769
790
|
[#29](https://example.com/example/repo/-/merge_requests/29)
|
|
@@ -781,13 +802,16 @@ The filters provided vary based on the VCS configured and available features:
|
|
|
781
802
|
|
|
782
803
|
.. code:: jinja
|
|
783
804
|
|
|
784
|
-
{
|
|
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
|
+
#}{{
|
|
785
808
|
"[%s](%s)" | format(
|
|
786
809
|
commit.linked_merge_request,
|
|
787
810
|
commit.linked_merge_request | pull_request_url
|
|
788
811
|
)
|
|
789
812
|
}}
|
|
790
|
-
|
|
813
|
+
|
|
814
|
+
**Markdown Output:**
|
|
791
815
|
|
|
792
816
|
.. code:: markdown
|
|
793
817
|
|