python-semantic-release 9.19.0__tar.gz → 9.19.1__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.
Files changed (204) hide show
  1. {python_semantic_release-9.19.0/src/python_semantic_release.egg-info → python_semantic_release-9.19.1}/PKG-INFO +2 -2
  2. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/docs/algorithm.rst +1 -1
  3. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/docs/automatic-releases/github-actions.rst +7 -7
  4. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/docs/automatic-releases/index.rst +2 -0
  5. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/docs/changelog_templates.rst +3 -3
  6. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/docs/commands.rst +5 -4
  7. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/docs/commit_parsing.rst +4 -4
  8. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/docs/configuration.rst +9 -10
  9. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/docs/index.rst +1 -1
  10. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/docs/multibranch_releases.rst +3 -3
  11. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/docs/strict_mode.rst +1 -1
  12. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/docs/troubleshooting.rst +2 -3
  13. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/pyproject.toml +3 -3
  14. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1/src/python_semantic_release.egg-info}/PKG-INFO +2 -2
  15. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/python_semantic_release.egg-info/requires.txt +1 -1
  16. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/__init__.py +1 -1
  17. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/__main__.py +7 -3
  18. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/cli/commands/main.py +3 -6
  19. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/cli/config.py +11 -0
  20. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/data/templates/angular/md/.components/changes.md.j2 +4 -4
  21. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/data/templates/angular/md/.release_notes.md.j2 +2 -2
  22. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/data/templates/angular/rst/.components/changes.rst.j2 +4 -4
  23. python_semantic_release-9.19.1/src/semantic_release/globals.py +8 -0
  24. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/helpers.py +6 -0
  25. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/fixtures/git_repo.py +3 -3
  26. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/changelog/test_default_changelog.py +6 -6
  27. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/changelog/test_release_notes.py +6 -6
  28. python_semantic_release-9.19.0/src/semantic_release/globals.py +0 -6
  29. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/AUTHORS.rst +0 -0
  30. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/LICENSE +0 -0
  31. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/MANIFEST.in +0 -0
  32. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/README.rst +0 -0
  33. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/docs/Makefile +0 -0
  34. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/docs/automatic-releases/cronjobs.rst +0 -0
  35. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/docs/automatic-releases/travis.rst +0 -0
  36. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/docs/conf.py +0 -0
  37. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/docs/contributing.rst +0 -0
  38. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/docs/contributors.rst +0 -0
  39. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/docs/make.bat +0 -0
  40. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/docs/migrating_from_v7.rst +0 -0
  41. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/docs/psr_changelog.rst +0 -0
  42. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/setup.cfg +0 -0
  43. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/python_semantic_release.egg-info/SOURCES.txt +0 -0
  44. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/python_semantic_release.egg-info/dependency_links.txt +0 -0
  45. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/python_semantic_release.egg-info/entry_points.txt +0 -0
  46. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/python_semantic_release.egg-info/top_level.txt +0 -0
  47. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/changelog/__init__.py +0 -0
  48. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/changelog/context.py +0 -0
  49. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/changelog/release_history.py +0 -0
  50. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/changelog/template.py +0 -0
  51. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/cli/__init__.py +0 -0
  52. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/cli/changelog_writer.py +0 -0
  53. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/cli/cli_context.py +0 -0
  54. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/cli/commands/__init__.py +0 -0
  55. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/cli/commands/changelog.py +0 -0
  56. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/cli/commands/generate_config.py +0 -0
  57. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/cli/commands/publish.py +0 -0
  58. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/cli/commands/version.py +0 -0
  59. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/cli/const.py +0 -0
  60. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/cli/github_actions_output.py +0 -0
  61. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/cli/masking_filter.py +0 -0
  62. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/cli/util.py +0 -0
  63. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/commit_parser/__init__.py +0 -0
  64. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/commit_parser/_base.py +0 -0
  65. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/commit_parser/angular.py +0 -0
  66. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/commit_parser/conventional.py +0 -0
  67. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/commit_parser/emoji.py +0 -0
  68. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/commit_parser/scipy.py +0 -0
  69. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/commit_parser/tag.py +0 -0
  70. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/commit_parser/token.py +0 -0
  71. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/commit_parser/util.py +0 -0
  72. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/const.py +0 -0
  73. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/data/templates/angular/md/.components/changelog_header.md.j2 +0 -0
  74. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/data/templates/angular/md/.components/changelog_init.md.j2 +0 -0
  75. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/data/templates/angular/md/.components/changelog_update.md.j2 +0 -0
  76. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/data/templates/angular/md/.components/first_release.md.j2 +0 -0
  77. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/data/templates/angular/md/.components/macros.md.j2 +0 -0
  78. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/data/templates/angular/md/.components/unreleased_changes.md.j2 +0 -0
  79. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/data/templates/angular/md/.components/versioned_changes.md.j2 +0 -0
  80. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/data/templates/angular/md/CHANGELOG.md.j2 +0 -0
  81. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/data/templates/angular/rst/.components/changelog_header.rst.j2 +0 -0
  82. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/data/templates/angular/rst/.components/changelog_init.rst.j2 +0 -0
  83. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/data/templates/angular/rst/.components/changelog_update.rst.j2 +0 -0
  84. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/data/templates/angular/rst/.components/first_release.rst.j2 +0 -0
  85. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/data/templates/angular/rst/.components/macros.rst.j2 +0 -0
  86. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/data/templates/angular/rst/.components/unreleased_changes.rst.j2 +0 -0
  87. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/data/templates/angular/rst/.components/versioned_changes.rst.j2 +0 -0
  88. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/data/templates/angular/rst/CHANGELOG.rst.j2 +0 -0
  89. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/enums.py +0 -0
  90. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/errors.py +0 -0
  91. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/gitproject.py +0 -0
  92. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/hvcs/__init__.py +0 -0
  93. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/hvcs/_base.py +0 -0
  94. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/hvcs/bitbucket.py +0 -0
  95. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/hvcs/gitea.py +0 -0
  96. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/hvcs/github.py +0 -0
  97. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/hvcs/gitlab.py +0 -0
  98. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/hvcs/remote_hvcs_base.py +0 -0
  99. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/hvcs/token_auth.py +0 -0
  100. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/hvcs/util.py +0 -0
  101. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/py.typed +0 -0
  102. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/version/__init__.py +0 -0
  103. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/version/algorithm.py +0 -0
  104. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/version/declaration.py +0 -0
  105. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/version/translator.py +0 -0
  106. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/src/semantic_release/version/version.py +0 -0
  107. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/__init__.py +0 -0
  108. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/conftest.py +0 -0
  109. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/const.py +0 -0
  110. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/__init__.py +0 -0
  111. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_changelog/__init__.py +0 -0
  112. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_changelog/test_changelog.py +0 -0
  113. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_changelog/test_changelog_custom_parser.py +0 -0
  114. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_changelog/test_changelog_parsing.py +0 -0
  115. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_changelog/test_changelog_release_notes.py +0 -0
  116. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_config/__init__.py +0 -0
  117. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_config/test_generate_config.py +0 -0
  118. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_publish/__init__.py +0 -0
  119. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_publish/test_publish.py +0 -0
  120. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/__init__.py +0 -0
  121. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/bump_version/__init__.py +0 -0
  122. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/bump_version/conftest.py +0 -0
  123. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/bump_version/git_flow/__init__.py +0 -0
  124. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/bump_version/git_flow/test_repo_1_channel.py +0 -0
  125. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/bump_version/git_flow/test_repo_2_channels.py +0 -0
  126. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/bump_version/git_flow/test_repo_3_channels.py +0 -0
  127. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/bump_version/git_flow/test_repo_4_channels.py +0 -0
  128. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/bump_version/github_flow/__init__.py +0 -0
  129. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/bump_version/github_flow/test_repo_1_channel.py +0 -0
  130. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/bump_version/github_flow/test_repo_2_channels.py +0 -0
  131. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/bump_version/trunk_based_dev/__init__.py +0 -0
  132. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/bump_version/trunk_based_dev/test_repo_trunk.py +0 -0
  133. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/bump_version/trunk_based_dev/test_repo_trunk_dual_version_support.py +0 -0
  134. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/bump_version/trunk_based_dev/test_repo_trunk_dual_version_support_w_prereleases.py +0 -0
  135. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/bump_version/trunk_based_dev/test_repo_trunk_w_prereleases.py +0 -0
  136. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/test_version.py +0 -0
  137. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/test_version_build.py +0 -0
  138. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/test_version_bump.py +0 -0
  139. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/test_version_changelog.py +0 -0
  140. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/test_version_changelog_custom_commit_msg.py +0 -0
  141. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/test_version_github_actions.py +0 -0
  142. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/test_version_print.py +0 -0
  143. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/test_version_release_notes.py +0 -0
  144. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/test_version_stamp.py +0 -0
  145. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/cmd_version/test_version_strict.py +0 -0
  146. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/conftest.py +0 -0
  147. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/test_help.py +0 -0
  148. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/e2e/test_main.py +0 -0
  149. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/fixtures/__init__.py +0 -0
  150. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/fixtures/commit_parsers.py +0 -0
  151. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/fixtures/example_project.py +0 -0
  152. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/fixtures/repos/__init__.py +0 -0
  153. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/fixtures/repos/git_flow/__init__.py +0 -0
  154. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/fixtures/repos/git_flow/repo_w_1_release_channel.py +0 -0
  155. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/fixtures/repos/git_flow/repo_w_2_release_channels.py +0 -0
  156. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/fixtures/repos/git_flow/repo_w_3_release_channels.py +0 -0
  157. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/fixtures/repos/git_flow/repo_w_4_release_channels.py +0 -0
  158. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/fixtures/repos/github_flow/__init__.py +0 -0
  159. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/fixtures/repos/github_flow/repo_w_default_release.py +0 -0
  160. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/fixtures/repos/github_flow/repo_w_release_channels.py +0 -0
  161. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/fixtures/repos/repo_initial_commit.py +0 -0
  162. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/fixtures/repos/trunk_based_dev/__init__.py +0 -0
  163. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/fixtures/repos/trunk_based_dev/repo_w_dual_version_support.py +0 -0
  164. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/fixtures/repos/trunk_based_dev/repo_w_dual_version_support_w_prereleases.py +0 -0
  165. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/fixtures/repos/trunk_based_dev/repo_w_no_tags.py +0 -0
  166. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/fixtures/repos/trunk_based_dev/repo_w_prereleases.py +0 -0
  167. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/fixtures/repos/trunk_based_dev/repo_w_tags.py +0 -0
  168. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/fixtures/scipy.py +0 -0
  169. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/__init__.py +0 -0
  170. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/conftest.py +0 -0
  171. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/__init__.py +0 -0
  172. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/changelog/__init__.py +0 -0
  173. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/changelog/conftest.py +0 -0
  174. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/changelog/test_changelog_context.py +0 -0
  175. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/changelog/test_release_history.py +0 -0
  176. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/changelog/test_template.py +0 -0
  177. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/changelog/test_template_render.py +0 -0
  178. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/cli/__init__.py +0 -0
  179. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/cli/test_config.py +0 -0
  180. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/cli/test_github_actions_output.py +0 -0
  181. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/cli/test_masking_filter.py +0 -0
  182. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/cli/test_util.py +0 -0
  183. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/cli/test_version.py +0 -0
  184. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/commit_parser/__init__.py +0 -0
  185. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/commit_parser/test_conventional.py +0 -0
  186. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/commit_parser/test_emoji.py +0 -0
  187. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/commit_parser/test_parsed_commit.py +0 -0
  188. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/commit_parser/test_scipy.py +0 -0
  189. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/commit_parser/test_util.py +0 -0
  190. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/hvcs/__init__.py +0 -0
  191. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/hvcs/test__base.py +0 -0
  192. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/hvcs/test_bitbucket.py +0 -0
  193. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/hvcs/test_gitea.py +0 -0
  194. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/hvcs/test_github.py +0 -0
  195. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/hvcs/test_gitlab.py +0 -0
  196. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/hvcs/test_token_auth.py +0 -0
  197. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/hvcs/test_util.py +0 -0
  198. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/test_helpers.py +0 -0
  199. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/version/__init__.py +0 -0
  200. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/version/test_algorithm.py +0 -0
  201. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/version/test_declaration.py +0 -0
  202. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/version/test_translator.py +0 -0
  203. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/unit/semantic_release/version/test_version.py +0 -0
  204. {python_semantic_release-9.19.0 → python_semantic_release-9.19.1}/tests/util.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-semantic-release
3
- Version: 9.19.0
3
+ Version: 9.19.1
4
4
  Summary: Automatic Semantic Versioning for Python projects
5
5
  Author-email: Rolf Erik Lekang <me@rolflekang.com>
6
6
  License: MIT
@@ -62,7 +62,7 @@ Requires-Dist: pre-commit~=3.5; extra == "dev"
62
62
  Requires-Dist: tox~=4.11; extra == "dev"
63
63
  Requires-Dist: ruff==0.6.1; extra == "dev"
64
64
  Provides-Extra: mypy
65
- Requires-Dist: mypy==1.14.1; extra == "mypy"
65
+ Requires-Dist: mypy==1.15.0; extra == "mypy"
66
66
  Requires-Dist: types-requests~=2.32.0; extra == "mypy"
67
67
  Requires-Dist: types-pyyaml~=6.0; extra == "mypy"
68
68
 
@@ -35,7 +35,7 @@ Implementation
35
35
 
36
36
  1. Parse all the Git tags of the repository into semantic versions, and **sort**
37
37
  in descending (most recent first) order according to `semver precedence`_.
38
- Ignore any tags which do not correspond to valid semantic vesrions according
38
+ Ignore any tags which do not correspond to valid semantic versions according
39
39
  to ``tag_format``.
40
40
 
41
41
 
@@ -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.18.1
340
+ - uses: python-semantic-release/python-semantic-release@v9.19.0
341
341
  with:
342
342
  root_options: "-vv --noop"
343
343
 
@@ -576,7 +576,7 @@ before the :ref:`publish <cmd-publish>` subcommand.
576
576
 
577
577
  .. code:: yaml
578
578
 
579
- - uses: python-semantic-release/publish-action@v9.18.1
579
+ - uses: python-semantic-release/publish-action@v9.19.0
580
580
  with:
581
581
  root_options: "-vv --noop"
582
582
 
@@ -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.18.1
687
+ uses: python-semantic-release/python-semantic-release@v9.19.0
688
688
  with:
689
689
  github_token: ${{ secrets.GITHUB_TOKEN }}
690
690
  git_committer_name: "github-actions"
@@ -695,7 +695,7 @@ to the GitHub Release Assets as well.
695
695
  if: steps.release.outputs.released == 'true'
696
696
 
697
697
  - name: Publish | Upload to GitHub Release Assets
698
- uses: python-semantic-release/publish-action@v9.18.1
698
+ uses: python-semantic-release/publish-action@v9.19.0
699
699
  if: steps.release.outputs.released == 'true'
700
700
  with:
701
701
  github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -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.18.1
747
+ uses: python-semantic-release/python-semantic-release@v9.19.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.18.1
775
+ uses: python-semantic-release/python-semantic-release@v9.19.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.18.1
781
+ uses: python-semantic-release/python-semantic-release@v9.19.0
782
782
  with:
783
783
  directory: ./project2
784
784
  github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -13,6 +13,8 @@ Guides
13
13
  ^^^^^^
14
14
 
15
15
  .. toctree::
16
+ :maxdepth: 2
17
+
16
18
  travis
17
19
  github-actions
18
20
  cronjobs
@@ -49,7 +49,7 @@ PSR provides two default changelog output formats:
49
49
  Both formats are kept in sync with one another to display the equivalent information
50
50
  in the respective format. The default changelog template is located in the
51
51
  ``data/templates/`` directory within the PSR package. The templates are written in
52
- modular style (ie. multiple files) and during the render proccess are ultimately
52
+ modular style (ie. multiple files) and during the render process are ultimately
53
53
  combined together to render the final changelog output. The rendering start point
54
54
  is the ``CHANGELOG.{FORMAT_EXT}.j2`` underneath the respective format directory.
55
55
 
@@ -144,7 +144,7 @@ newly created changelog file.
144
144
 
145
145
  .. tip::
146
146
  We have accomplished changelog updating through the use of the `Jinja`_ templating
147
- and addtional context filters and context variables. This is notable because
147
+ and additional context filters and context variables. This is notable because
148
148
  in the case that you want to customize your changelog template, you now can use the
149
149
  same logic to enable changelog updates of your custom template!
150
150
 
@@ -1220,7 +1220,7 @@ __ https://github.com/python-semantic-release/python-semantic-release/tree/maste
1220
1220
  maintain any content that should be included before the new release information.
1221
1221
  See ``data/templates/*/md/.components/changelog_update.md.j2`` for reference.
1222
1222
 
1223
- 5. **Print your insertion flag.** This is impartive to ensure that the resulting
1223
+ 5. **Print your insertion flag.** This is imperative to ensure that the resulting
1224
1224
  changelog can be updated in the future. See
1225
1225
  ``data/templates/*/md/.components/changelog_update.md.j2`` for reference.
1226
1226
 
@@ -272,8 +272,8 @@ the flag.
272
272
  This can be useful when making a single prerelease on a branch that would typically release
273
273
  normal versions.
274
274
 
275
- If not specified in :ref:`cmd-version-option-prerelease-token`, the prerelease token is idenitified using the
276
- :ref:`Multibranch Release Configuration <multibranch-releases-configuring>`
275
+ If not specified in :ref:`cmd-version-option-prerelease-token`, the prerelease token is identified
276
+ using the :ref:`Multibranch Release Configuration <multibranch-releases-configuring>`
277
277
 
278
278
  See the examples alongside :ref:`cmd-version-option-force-level` for how to use this flag.
279
279
 
@@ -282,8 +282,9 @@ See the examples alongside :ref:`cmd-version-option-force-level` for how to use
282
282
  ``--prerelease-token [VALUE]``
283
283
  ******************************
284
284
 
285
- Force the next version to use the value as the prerelease token. This overrides the configured value if one is
286
- present. If not used during a release producing a prerelease version, this option has no effect.
285
+ Force the next version to use the value as the prerelease token. This overrides the configured
286
+ value if one is present. If not used during a release producing a prerelease version, this
287
+ option has no effect.
287
288
 
288
289
  .. _cmd-version-option-build-metadata:
289
290
 
@@ -49,7 +49,7 @@ Built-in Commit Parsers
49
49
  The following parsers are built in to Python Semantic Release:
50
50
 
51
51
  - :ref:`ConventionalCommitParser <commit_parser-builtin-conventional>`
52
- - :ref:`AngularCommitParser <commit_parser-builtin-angular>` *(deprecated in ${NEW_RELEASE_TAG})*
52
+ - :ref:`AngularCommitParser <commit_parser-builtin-angular>` *(deprecated in v9.19.0)*
53
53
  - :ref:`EmojiCommitParser <commit_parser-builtin-emoji>`
54
54
  - :ref:`ScipyCommitParser <commit_parser-builtin-scipy>`
55
55
  - :ref:`TagCommitParser <commit_parser-builtin-tag>` *(deprecated in v9.12.0)*
@@ -61,7 +61,7 @@ The following parsers are built in to Python Semantic Release:
61
61
  Conventional Commits Parser
62
62
  """""""""""""""""""""""""""
63
63
 
64
- *Introduced in ${NEW_RELEASE_TAG}*
64
+ *Introduced in v9.19.0*
65
65
 
66
66
  A parser that is designed to parse commits formatted according to the
67
67
  `Conventional Commits Specification`_. The parser is implemented with the following
@@ -140,7 +140,7 @@ Angular Commit Parser
140
140
  """""""""""""""""""""
141
141
 
142
142
  .. warning::
143
- This parser was deprecated in ``${NEW_RELEASE_TAG}``. It will be removed in a future release.
143
+ This parser was deprecated in ``v9.19.0``. It will be removed in a future release.
144
144
  This parser is being replaced by the :ref:`commit_parser-builtin-conventional`.
145
145
 
146
146
  A parser that is designed to parse commits formatted according to the
@@ -423,7 +423,7 @@ a ``release_notices`` attribute that is a tuple of string paragraphs to identify
423
423
  release notice.
424
424
 
425
425
  In the default changelog and release notes template, these release notices will be
426
- formatted into their own section called **ADDITIONAL RELEASE INFORMATION**. Each will
426
+ formatted into their own section called **Additional Release Information**. Each will
427
427
  include any commit scope defined and each release notice in alphabetical order.
428
428
 
429
429
  ----
@@ -88,9 +88,12 @@ environment variable is:
88
88
  default = "default value"
89
89
 
90
90
  In this structure:
91
+
91
92
  * ``env`` represents the environment variable that Python Semantic Release will search for
93
+
92
94
  * ``default_env`` is a fallback environment variable to read in case the variable specified
93
95
  by ``env`` is not set. This is optional - if not specified then no fallback will be used.
96
+
94
97
  * ``default`` is a default value to use in case the environment variable specified by ``env``
95
98
  is not set. This is optional - if ``default`` is not specified then the environment variable
96
99
  specified by ``env`` is considered required.
@@ -105,7 +108,7 @@ configuration setting. If there are type mis-matches, PSR will throw validation
105
108
  If a setting is not provided, than PSR will fill in the value with the default value.
106
109
 
107
110
  Python Semantic Release expects a root level key to start the configuration definition. Make
108
- sure to use the correct root key dependending on the configuration format you are using.
111
+ sure to use the correct root key depending on the configuration format you are using.
109
112
 
110
113
  .. note:: If you are using ``pyproject.toml``, this heading should include the ``tool`` prefix
111
114
  as specified within PEP 517, resulting in ``[tool.semantic_release]``.
@@ -405,7 +408,7 @@ This setting is used to specify the output format the default changelog template
405
408
  will use when rendering the changelog. PSR supports both Markdown (``md``) and
406
409
  reStructuredText (``rst``) formats.
407
410
 
408
- This setting will take presendence over the file extension of the
411
+ This setting will take precedence over the file extension of the
409
412
  :ref:`config-changelog-default_templates-changelog_file` setting. If this setting is
410
413
  omitted, the file extension of the :ref:`config-changelog-default_templates-changelog_file`
411
414
  setting will be used to determine the output format. If the file extension is not recognized,
@@ -695,10 +698,6 @@ A string that will be used to identify where the new version should be inserted
695
698
  changelog file (as defined by :ref:`config-changelog-changelog_file`) when the changelog mode
696
699
  is set to ``update``.
697
700
 
698
- When the changelog mode is set to ``init``, this string will be included as part of the
699
- header of the changelog file to initialize the changelog with a format that will be condusive
700
- for future version insertions.
701
-
702
701
  If you modify this value in your config, you will need to manually update any saved changelog
703
702
  file to match the new insertion flag if you use the ``update`` mode. In ``init`` mode, the
704
703
  changelog file will be overwritten as normal.
@@ -790,8 +789,8 @@ Specify which commit parser Python Semantic Release should use to parse the comm
790
789
  within the Git repository.
791
790
 
792
791
  Built-in parsers:
793
- * ``angular`` - :ref:`AngularCommitParser <commit_parser-builtin-angular>` *(deprecated in ${NEW_RELEASE_TAG})*
794
- * ``conventional`` - :ref:`ConventionalCommitParser <commit_parser-builtin-conventional>` *(available in ${NEW_RELEASE_TAG}+)*
792
+ * ``angular`` - :ref:`AngularCommitParser <commit_parser-builtin-angular>` *(deprecated in v9.19.0)*
793
+ * ``conventional`` - :ref:`ConventionalCommitParser <commit_parser-builtin-conventional>` *(available in v9.19.0+)*
795
794
  * ``emoji`` - :ref:`EmojiCommitParser <commit_parser-builtin-emoji>`
796
795
  * ``scipy`` - :ref:`ScipyCommitParser <commit_parser-builtin-scipy>`
797
796
  * ``tag`` - :ref:`TagCommitParser <commit_parser-builtin-tag>` *(deprecated in v9.12.0)*
@@ -965,7 +964,7 @@ calls rather than the primary domain (ex. ``api.github.com``).
965
964
 
966
965
  **Most on-premise HVCS installations will NOT use this setting!** Whether or not
967
966
  this value is used depends on the HVCS configured (and your server administration)
968
- in the :ref:`remote.type <config-remote-type>` setting and used in tadem with the
967
+ in the :ref:`remote.type <config-remote-type>` setting and used in tandem with the
969
968
  :ref:`remote.domain <config-remote-domain>` setting.
970
969
 
971
970
  When using a custom :ref:`remote.domain <config-remote-domain>` and a HVCS
@@ -1058,7 +1057,7 @@ used for the connection. If the protocol scheme is provided in the field value,
1058
1057
  match this setting or it will throw an error.
1059
1058
 
1060
1059
  The purpose of this flag is to prevent any typos in provided ``domain`` and ``api_domain``
1061
- values that accidently specify an insecure connection but allow users to toggle the protection
1060
+ values that accidentally specify an insecure connection but allow users to toggle the protection
1062
1061
  scheme off when desired.
1063
1062
 
1064
1063
  **Default:** ``false``
@@ -219,7 +219,7 @@ and changelogs. The user has three options to push changes to the repository:
219
219
  - :ref:`Changelog <config-changelog>` - customize your project's changelog.
220
220
  - :ref:`changelog-templates-custom_release_notes` - customize the published release notes
221
221
  - :ref:`upload_to_vcs_release <config-publish-upload_to_vcs_release>` -
222
- enable/disable uploading artefacts to VCS releases
222
+ enable/disable uploading artifacts to VCS releases
223
223
  - :ref:`version --vcs-release/--no-vcs-release <cmd-version-option-vcs-release>` - enable/disable VCS release
224
224
  creation.
225
225
  - `upload-to-gh-release`_, a GitHub Action for running ``semantic-release publish``
@@ -45,12 +45,12 @@ a situation may occur in the following scenario:
45
45
  Suppose that Python Semantic Release has been configured to use the same
46
46
  prerelease token ``"alpha"`` for all ``feature-*`` branches, and the default tag
47
47
  format ``"v{version}"``. In this case, running a pre-release from branch ``feature-1``
48
- will recognise that since the last release, ``1.1.0``, a **feature** has been
48
+ will recognize that since the last release, ``1.1.0``, a **feature** has been
49
49
  introduced and therefore the next tag to be applied to ``feature-1`` will be
50
50
  ``v1.2.0-alpha.1``.
51
51
 
52
52
  However, suppose we then try to run a release against ``feature-2``. This will also
53
- recognise that a **feature** has been introduced against the last released version of
53
+ recognize that a **feature** has been introduced against the last released version of
54
54
  ``v1.1.0`` and therefore will try to create the tag ``v1.2.0-alpha.1``, leading to an
55
55
  error as this tag was already created against ``feature-1``.
56
56
 
@@ -91,7 +91,7 @@ Each release group is configured as a nested mapping under the
91
91
  ``tool.semantic_release.branches`` key in ``pyproject.toml``, or the equivalent
92
92
  structure in other formats. the mapping requires a single key that is used as a
93
93
  name for the release group, which can help to identify it in log messages but has
94
- no effect on the behaviour of the release. For example, Python Semantic Release has
94
+ no effect on the behavior of the release. For example, Python Semantic Release has
95
95
  only one release group by default with the name ``main``.
96
96
 
97
97
  Inside each release group, the following key-value pairs can be set:
@@ -4,7 +4,7 @@ Strict Mode
4
4
  ===========
5
5
 
6
6
  Strict Mode is enabled by use of the :ref:`strict <cmd-main-option-strict>` parameter
7
- to the main command for Python Semantic Release. Strict Mode alters the behaviour of
7
+ to the main command for Python Semantic Release. Strict Mode alters the behavior of
8
8
  Python Semantic Release when certain conditions are encountered that prevent Python
9
9
  Semantic Release from performing an action. Typically, this will result in a warning
10
10
  becoming an error, or a different exit code (0 vs non-zero) being produced when Python
@@ -10,7 +10,8 @@ Troubleshooting
10
10
  .. _troubleshooting-verbosity:
11
11
 
12
12
  Increasing Verbosity
13
- ====================
13
+ --------------------
14
+
14
15
  If you are having trouble with Python Semantic Release or would like to see additional
15
16
  information about the actions that it is taking, you can use the top-level
16
17
  :ref:`cmd-main-option-verbosity` option. This can be supplied multiple times to increase
@@ -24,12 +25,10 @@ For example::
24
25
 
25
26
  semantic-release -vv version --print
26
27
 
27
-
28
28
  .. note::
29
29
  The :ref:`cmd-main-option-verbosity` option must be supplied to the top-level
30
30
  ``semantic-release`` command, before the name of any sub-command.
31
31
 
32
-
33
32
  .. warning::
34
33
  The volume of logs when using ``DEBUG`` verbosity may be significantly increased,
35
34
  compared to ``INFO`` or the default ``WARNING``, and as a result executing commands
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
6
6
 
7
7
  [project]
8
8
  name = "python-semantic-release"
9
- version = "9.19.0"
9
+ version = "9.19.1"
10
10
  description = "Automatic Semantic Versioning for Python projects"
11
11
  requires-python = ">=3.8"
12
12
  license = { text = "MIT" }
@@ -82,7 +82,7 @@ dev = [
82
82
  "ruff == 0.6.1"
83
83
  ]
84
84
  mypy = [
85
- "mypy == 1.14.1",
85
+ "mypy == 1.15.0",
86
86
  "types-requests ~= 2.32.0",
87
87
  "types-pyyaml ~= 6.0",
88
88
  ]
@@ -398,7 +398,7 @@ ignore_names = ["change_to_ex_proj_dir", "init_example_project"]
398
398
 
399
399
  [tool.semantic_release]
400
400
  logging_use_named_masks = true
401
- commit_parser = "angular"
401
+ commit_parser = "conventional"
402
402
  commit_parser_options = { parse_squash_commits = true, ignore_merge_commits = true }
403
403
  build_command = """
404
404
  python -m pip install -e .[build]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-semantic-release
3
- Version: 9.19.0
3
+ Version: 9.19.1
4
4
  Summary: Automatic Semantic Versioning for Python projects
5
5
  Author-email: Rolf Erik Lekang <me@rolflekang.com>
6
6
  License: MIT
@@ -62,7 +62,7 @@ Requires-Dist: pre-commit~=3.5; extra == "dev"
62
62
  Requires-Dist: tox~=4.11; extra == "dev"
63
63
  Requires-Dist: ruff==0.6.1; extra == "dev"
64
64
  Provides-Extra: mypy
65
- Requires-Dist: mypy==1.14.1; extra == "mypy"
65
+ Requires-Dist: mypy==1.15.0; extra == "mypy"
66
66
  Requires-Dist: types-requests~=2.32.0; extra == "mypy"
67
67
  Requires-Dist: types-pyyaml~=6.0; extra == "mypy"
68
68
 
@@ -26,7 +26,7 @@ sphinx-autobuild==2024.2.4
26
26
  furo~=2024.1
27
27
 
28
28
  [mypy]
29
- mypy==1.14.1
29
+ mypy==1.15.0
30
30
  types-requests~=2.32.0
31
31
  types-pyyaml~=6.0
32
32
 
@@ -24,7 +24,7 @@ from semantic_release.version import (
24
24
  tags_and_versions,
25
25
  )
26
26
 
27
- __version__ = "9.19.0"
27
+ __version__ = "9.19.1"
28
28
 
29
29
  __all__ = [
30
30
  "CommitParser",
@@ -8,6 +8,7 @@ from traceback import format_exception
8
8
 
9
9
  from semantic_release import globals
10
10
  from semantic_release.cli.commands.main import main as cli_main
11
+ from semantic_release.enums import SemanticReleaseLogLevels
11
12
 
12
13
 
13
14
  def main() -> None:
@@ -18,7 +19,7 @@ def main() -> None:
18
19
  print("\n-- User Abort! --", file=sys.stderr)
19
20
  sys.exit(127)
20
21
  except Exception as err: # noqa: BLE001, graceful error handling across application
21
- if globals.debug:
22
+ if globals.log_level <= SemanticReleaseLogLevels.DEBUG:
22
23
  print(f"{err.__class__.__name__}: {err}\n", file=sys.stderr)
23
24
  etype, value, traceback = sys.exc_info()
24
25
  print(
@@ -35,9 +36,12 @@ def main() -> None:
35
36
  file=sys.stderr,
36
37
  )
37
38
 
38
- print(f"::ERROR:: {err}", file=sys.stderr)
39
+ print(
40
+ str.join("\n", [f"::ERROR:: {line}" for line in str(err).splitlines()]),
41
+ file=sys.stderr,
42
+ )
39
43
 
40
- if not globals.debug:
44
+ if globals.log_level > SemanticReleaseLogLevels.DEBUG:
41
45
  print(
42
46
  "Run semantic-release in very verbose mode (-vv) to see the full traceback.",
43
47
  file=sys.stderr,
@@ -116,10 +116,10 @@ def main(
116
116
  SemanticReleaseLogLevels.SILLY,
117
117
  ]
118
118
 
119
- log_level = log_levels[verbosity]
119
+ globals.log_level = log_levels[verbosity]
120
120
 
121
121
  logging.basicConfig(
122
- level=log_level,
122
+ level=globals.log_level,
123
123
  format=FORMAT,
124
124
  datefmt="[%X]",
125
125
  handlers=[
@@ -130,10 +130,7 @@ def main(
130
130
  )
131
131
 
132
132
  logger = logging.getLogger(__name__)
133
- logger.debug("logging level set to: %s", logging.getLevelName(log_level))
134
-
135
- if log_level <= logging.DEBUG:
136
- globals.debug = True
133
+ logger.debug("logging level set to: %s", logging.getLevelName(globals.log_level))
137
134
 
138
135
  if noop:
139
136
  rprint(
@@ -665,6 +665,17 @@ class RuntimeContext:
665
665
  if raw.commit_parser in _known_commit_parsers
666
666
  else dynamic_import(raw.commit_parser)
667
667
  )
668
+ except ValueError as err:
669
+ raise ParserLoadError(
670
+ str.join(
671
+ "\n",
672
+ [
673
+ f"Unrecognized commit parser value: {raw.commit_parser!r}.",
674
+ str(err),
675
+ "Unable to load the given parser! Check your configuration!",
676
+ ],
677
+ )
678
+ ) from err
668
679
  except ModuleNotFoundError as err:
669
680
  raise ParserLoadError(
670
681
  str.join(
@@ -18,7 +18,7 @@ EXAMPLE:
18
18
  - Fix bug ([#11](https://domain.com/namespace/repo/pull/11),
19
19
  [`abcdef1`](https://domain.com/namespace/repo/commit/HASH))
20
20
 
21
- ### BREAKING CHANGES
21
+ ### Breaking Changes
22
22
 
23
23
  - With the change _____, the change causes ___ effect. Ultimately, this section
24
24
  it is a more detailed description of the breaking change. With an optional
@@ -27,7 +27,7 @@ EXAMPLE:
27
27
  - **scope**: this breaking change has a scope to identify the part of the code that
28
28
  this breaking change applies to for better context.
29
29
 
30
- ### ADDITIONAL RELEASE INFORMATION
30
+ ### Additional Release Information
31
31
 
32
32
  - This is a release note that provides additional information about the release
33
33
  that is not a breaking change or a feature/bug fix.
@@ -96,7 +96,7 @@ EXAMPLE:
96
96
  %}{#
97
97
  # # PRINT BREAKING CHANGE DESCRIPTIONS (header & descriptions)
98
98
  #}{{ "\n"
99
- }}{{ "### BREAKING CHANGES\n"
99
+ }}{{ "### Breaking Changes\n"
100
100
  }}{{
101
101
  "\n%s\n" | format(brking_descriptions | unique | join("\n\n"))
102
102
  }}{#
@@ -129,7 +129,7 @@ EXAMPLE:
129
129
  %}{#
130
130
  # # PRINT RELEASE NOTICE INFORMATION (header & descriptions)
131
131
  #}{{ "\n"
132
- }}{{ "### ADDITIONAL RELEASE INFORMATION\n"
132
+ }}{{ "### Additional Release Information\n"
133
133
  }}{{
134
134
  "\n%s\n" | format(release_notices | unique | join("\n\n"))
135
135
  }}{#
@@ -14,13 +14,13 @@ _This release is published under the MIT License._
14
14
 
15
15
  - Fix bug (#11, [`abcdef1`](https://domain.com/namespace/repo/commit/HASH))
16
16
 
17
- ### BREAKING CHANGES
17
+ ### Breaking Changes
18
18
 
19
19
  - With the change _____, the change causes ___ effect. Ultimately, this section it is a more detailed description of the breaking change. With an optional scope prefix like the commit messages above.
20
20
 
21
21
  - **scope**: this breaking change has a scope to identify the part of the code that this breaking change applies to for better context.
22
22
 
23
- ### ADDITIONAL RELEASE INFORMATION
23
+ ### Additional Release Information
24
24
 
25
25
  - This is a release note that provides additional information about the release that is not a breaking change or a feature/bug fix.
26
26
 
@@ -18,7 +18,7 @@ Bug Fixes
18
18
 
19
19
  * Fix bug (`#11`_, `8a7b8ec`_)
20
20
 
21
- BREAKING CHANGES
21
+ Breaking Changes
22
22
  ----------------
23
23
 
24
24
  * With the change _____, the change causes ___ effect. Ultimately, this section
@@ -28,7 +28,7 @@ BREAKING CHANGES
28
28
  * **scope**: this breaking change has a scope to identify the part of the code that
29
29
  this breaking change applies to for better context.
30
30
 
31
- ADDITIONAL RELEASE INFORMATION
31
+ Additional Release Information
32
32
  ------------------------------
33
33
 
34
34
  * This is a release note that provides additional information about the release
@@ -124,7 +124,7 @@ ADDITIONAL RELEASE INFORMATION
124
124
  %}{#
125
125
  # # PRINT BREAKING CHANGE DESCRIPTIONS (header & descriptions)
126
126
  #}{{ "\n"
127
- }}{{ "BREAKING CHANGES\n"
127
+ }}{{ "Breaking Changes\n"
128
128
  }}{{ '----------------\n'
129
129
  }}{{
130
130
  "\n%s\n" | format(brking_descriptions | unique | join("\n\n"))
@@ -158,7 +158,7 @@ ADDITIONAL RELEASE INFORMATION
158
158
  %}{#
159
159
  # # PRINT RELEASE NOTICE INFORMATION (header & descriptions)
160
160
  #}{{ "\n"
161
- }}{{ "ADDITIONAL RELEASE INFORMATION\n"
161
+ }}{{ "Additional Release Information\n"
162
162
  }}{{ "------------------------------\n"
163
163
  }}{{
164
164
  "\n%s\n" | format(release_notices | unique | join("\n\n"))
@@ -0,0 +1,8 @@
1
+ """Semantic Release Global Variables."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from semantic_release.enums import SemanticReleaseLogLevels
6
+
7
+ log_level: SemanticReleaseLogLevels = SemanticReleaseLogLevels.WARNING
8
+ """int: Logging level for semantic-release"""
@@ -157,6 +157,12 @@ def dynamic_import(import_path: str) -> Any:
157
157
  Dynamically import an object from a conventionally formatted "module:attribute"
158
158
  string
159
159
  """
160
+ if ":" not in import_path:
161
+ raise ValueError(
162
+ f"Invalid import path {import_path!r}, must use 'module:Class' format"
163
+ )
164
+
165
+ # Split the import path into module and attribute
160
166
  module_name, attr = import_path.split(":", maxsplit=1)
161
167
 
162
168
  # Check if the module is a file path, if it can be resolved and exists on disk then import as a file
@@ -1689,7 +1689,7 @@ def simulate_default_changelog_creation( # noqa: C901
1689
1689
 
1690
1690
  # Add breaking changes to the end of the version entry
1691
1691
  if brking_descriptions:
1692
- version_entry.append("### BREAKING CHANGES\n")
1692
+ version_entry.append("### Breaking Changes\n")
1693
1693
  version_entry.extend([*sorted(brking_descriptions), ""])
1694
1694
 
1695
1695
  return str.join("\n", version_entry)
@@ -1822,7 +1822,7 @@ def simulate_default_changelog_creation( # noqa: C901
1822
1822
 
1823
1823
  # Add breaking changes to the end of the version entry
1824
1824
  if brking_descriptions:
1825
- version_entry.append("BREAKING CHANGES")
1825
+ version_entry.append("Breaking Changes")
1826
1826
  version_entry.append("-" * len(version_entry[-1]) + "\n")
1827
1827
  version_entry.extend([*sorted(brking_descriptions), ""])
1828
1828
 
@@ -2067,7 +2067,7 @@ def generate_default_release_notes_from_def( # noqa: C901
2067
2067
 
2068
2068
  # Add breaking changes to the end of the version entry
2069
2069
  if brking_descriptions:
2070
- version_entry.append("### BREAKING CHANGES\n")
2070
+ version_entry.append("### Breaking Changes\n")
2071
2071
  version_entry.extend([*sorted(brking_descriptions), ""])
2072
2072
 
2073
2073
  return str.join("\n", version_entry)