python-semantic-release 9.14.0__tar.gz → 9.15.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 (203) hide show
  1. {python_semantic_release-9.14.0/src/python_semantic_release.egg-info → python_semantic_release-9.15.1}/PKG-INFO +6 -1
  2. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/docs/automatic-releases/github-actions.rst +7 -7
  3. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/docs/changelog_templates.rst +34 -10
  4. python_semantic_release-9.15.1/docs/commit_parsing.rst +488 -0
  5. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/docs/conf.py +10 -8
  6. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/docs/configuration.rst +5 -5
  7. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/docs/index.rst +1 -1
  8. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/docs/migrating_from_v7.rst +2 -2
  9. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/pyproject.toml +18 -9
  10. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1/src/python_semantic_release.egg-info}/PKG-INFO +6 -1
  11. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/python_semantic_release.egg-info/SOURCES.txt +5 -1
  12. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/python_semantic_release.egg-info/requires.txt +4 -0
  13. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/__init__.py +1 -1
  14. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/changelog/context.py +1 -1
  15. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/changelog/release_history.py +19 -1
  16. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/changelog/template.py +1 -1
  17. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/cli/changelog_writer.py +1 -1
  18. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/cli/cli_context.py +1 -1
  19. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/cli/commands/changelog.py +2 -2
  20. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/cli/commands/publish.py +2 -2
  21. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/cli/commands/version.py +6 -6
  22. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/cli/config.py +3 -3
  23. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/cli/github_actions_output.py +1 -1
  24. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/commit_parser/_base.py +1 -1
  25. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/commit_parser/angular.py +98 -15
  26. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/commit_parser/emoji.py +121 -19
  27. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/commit_parser/scipy.py +16 -2
  28. python_semantic_release-9.15.1/src/semantic_release/commit_parser/token.py +202 -0
  29. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/commit_parser/util.py +24 -5
  30. python_semantic_release-9.15.1/src/semantic_release/data/templates/angular/md/.components/changes.md.j2 +92 -0
  31. python_semantic_release-9.15.1/src/semantic_release/data/templates/angular/md/.components/macros.md.j2 +164 -0
  32. python_semantic_release-9.15.1/src/semantic_release/data/templates/angular/md/.release_notes.md.j2 +58 -0
  33. python_semantic_release-9.15.1/src/semantic_release/data/templates/angular/rst/.components/changes.rst.j2 +129 -0
  34. python_semantic_release-9.15.1/src/semantic_release/data/templates/angular/rst/.components/macros.rst.j2 +191 -0
  35. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/errors.py +4 -0
  36. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/gitproject.py +1 -1
  37. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/hvcs/_base.py +1 -1
  38. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/hvcs/bitbucket.py +1 -1
  39. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/hvcs/gitea.py +1 -1
  40. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/hvcs/github.py +1 -1
  41. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/hvcs/gitlab.py +1 -1
  42. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/hvcs/remote_hvcs_base.py +1 -1
  43. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/hvcs/util.py +1 -1
  44. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/version/algorithm.py +1 -1
  45. python_semantic_release-9.15.1/tests/conftest.py +488 -0
  46. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/const.py +36 -4
  47. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/e2e/cmd_changelog/test_changelog.py +97 -67
  48. python_semantic_release-9.15.1/tests/e2e/cmd_changelog/test_changelog_custom_parser.py +85 -0
  49. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/e2e/cmd_config/test_generate_config.py +1 -1
  50. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/e2e/cmd_publish/test_publish.py +17 -7
  51. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/e2e/cmd_version/test_version.py +24 -20
  52. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/e2e/cmd_version/test_version_build.py +23 -13
  53. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/e2e/cmd_version/test_version_bump.py +201 -87
  54. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/e2e/cmd_version/test_version_changelog.py +309 -88
  55. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/e2e/cmd_version/test_version_github_actions.py +2 -2
  56. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/e2e/cmd_version/test_version_print.py +61 -65
  57. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/e2e/cmd_version/test_version_release_notes.py +4 -4
  58. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/e2e/cmd_version/test_version_stamp.py +7 -6
  59. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/e2e/cmd_version/test_version_strict.py +15 -18
  60. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/e2e/test_help.py +9 -4
  61. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/e2e/test_main.py +26 -11
  62. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/fixtures/example_project.py +129 -89
  63. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/fixtures/git_repo.py +781 -183
  64. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/fixtures/repos/git_flow/__init__.py +2 -0
  65. python_semantic_release-9.15.1/tests/fixtures/repos/git_flow/repo_w_1_release_channel.py +830 -0
  66. python_semantic_release-9.15.1/tests/fixtures/repos/git_flow/repo_w_2_release_channels.py +870 -0
  67. python_semantic_release-9.15.1/tests/fixtures/repos/git_flow/repo_w_3_release_channels.py +959 -0
  68. python_semantic_release-9.15.1/tests/fixtures/repos/git_flow/repo_w_4_release_channels.py +878 -0
  69. python_semantic_release-9.15.1/tests/fixtures/repos/github_flow/repo_w_default_release.py +489 -0
  70. python_semantic_release-9.15.1/tests/fixtures/repos/github_flow/repo_w_release_channels.py +548 -0
  71. python_semantic_release-9.15.1/tests/fixtures/repos/repo_initial_commit.py +201 -0
  72. python_semantic_release-9.15.1/tests/fixtures/repos/trunk_based_dev/repo_w_no_tags.py +274 -0
  73. python_semantic_release-9.15.1/tests/fixtures/repos/trunk_based_dev/repo_w_prereleases.py +402 -0
  74. python_semantic_release-9.15.1/tests/fixtures/repos/trunk_based_dev/repo_w_tags.py +322 -0
  75. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/fixtures/scipy.py +1 -1
  76. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/unit/conftest.py +2 -0
  77. python_semantic_release-9.15.1/tests/unit/semantic_release/changelog/conftest.py +248 -0
  78. python_semantic_release-9.15.1/tests/unit/semantic_release/changelog/test_default_changelog.py +578 -0
  79. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/unit/semantic_release/changelog/test_release_history.py +58 -82
  80. python_semantic_release-9.15.1/tests/unit/semantic_release/changelog/test_release_notes.py +452 -0
  81. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/unit/semantic_release/changelog/test_template.py +2 -2
  82. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/unit/semantic_release/cli/test_config.py +2 -2
  83. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/unit/semantic_release/cli/test_github_actions_output.py +1 -1
  84. python_semantic_release-9.15.1/tests/unit/semantic_release/commit_parser/test_angular.py +528 -0
  85. python_semantic_release-9.15.1/tests/unit/semantic_release/commit_parser/test_emoji.py +420 -0
  86. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/unit/semantic_release/commit_parser/test_parsed_commit.py +1 -1
  87. python_semantic_release-9.15.1/tests/unit/semantic_release/commit_parser/test_scipy.py +470 -0
  88. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/unit/semantic_release/hvcs/test_gitlab.py +4 -114
  89. python_semantic_release-9.15.1/tests/unit/semantic_release/version/__init__.py +0 -0
  90. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/unit/semantic_release/version/test_algorithm.py +1 -1
  91. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/unit/semantic_release/version/test_translator.py +10 -13
  92. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/util.py +34 -12
  93. python_semantic_release-9.14.0/docs/commit-parsing.rst +0 -388
  94. python_semantic_release-9.14.0/src/semantic_release/commit_parser/token.py +0 -94
  95. python_semantic_release-9.14.0/src/semantic_release/data/templates/angular/md/.components/changes.md.j2 +0 -44
  96. python_semantic_release-9.14.0/src/semantic_release/data/templates/angular/md/.components/macros.md.j2 +0 -69
  97. python_semantic_release-9.14.0/src/semantic_release/data/templates/angular/md/.release_notes.md.j2 +0 -13
  98. python_semantic_release-9.14.0/src/semantic_release/data/templates/angular/rst/.components/changes.rst.j2 +0 -76
  99. python_semantic_release-9.14.0/src/semantic_release/data/templates/angular/rst/.components/macros.rst.j2 +0 -97
  100. python_semantic_release-9.14.0/tests/conftest.py +0 -224
  101. python_semantic_release-9.14.0/tests/fixtures/repos/git_flow/repo_w_2_release_channels.py +0 -865
  102. python_semantic_release-9.14.0/tests/fixtures/repos/git_flow/repo_w_3_release_channels.py +0 -1003
  103. python_semantic_release-9.14.0/tests/fixtures/repos/github_flow/repo_w_default_release.py +0 -485
  104. python_semantic_release-9.14.0/tests/fixtures/repos/github_flow/repo_w_release_channels.py +0 -569
  105. python_semantic_release-9.14.0/tests/fixtures/repos/repo_initial_commit.py +0 -178
  106. python_semantic_release-9.14.0/tests/fixtures/repos/trunk_based_dev/repo_w_no_tags.py +0 -253
  107. python_semantic_release-9.14.0/tests/fixtures/repos/trunk_based_dev/repo_w_prereleases.py +0 -394
  108. python_semantic_release-9.14.0/tests/fixtures/repos/trunk_based_dev/repo_w_tags.py +0 -293
  109. python_semantic_release-9.14.0/tests/unit/semantic_release/changelog/conftest.py +0 -114
  110. python_semantic_release-9.14.0/tests/unit/semantic_release/changelog/test_default_changelog.py +0 -248
  111. python_semantic_release-9.14.0/tests/unit/semantic_release/changelog/test_release_notes.py +0 -188
  112. python_semantic_release-9.14.0/tests/unit/semantic_release/commit_parser/test_angular.py +0 -242
  113. python_semantic_release-9.14.0/tests/unit/semantic_release/commit_parser/test_emoji.py +0 -128
  114. python_semantic_release-9.14.0/tests/unit/semantic_release/commit_parser/test_scipy.py +0 -184
  115. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/AUTHORS.rst +0 -0
  116. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/LICENSE +0 -0
  117. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/MANIFEST.in +0 -0
  118. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/README.rst +0 -0
  119. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/docs/Makefile +0 -0
  120. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/docs/algorithm.rst +0 -0
  121. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/docs/automatic-releases/cronjobs.rst +0 -0
  122. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/docs/automatic-releases/index.rst +0 -0
  123. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/docs/automatic-releases/travis.rst +0 -0
  124. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/docs/commands.rst +0 -0
  125. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/docs/contributing.rst +0 -0
  126. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/docs/contributors.rst +0 -0
  127. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/docs/make.bat +0 -0
  128. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/docs/multibranch_releases.rst +0 -0
  129. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/docs/strict_mode.rst +0 -0
  130. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/docs/troubleshooting.rst +0 -0
  131. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/setup.cfg +0 -0
  132. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/python_semantic_release.egg-info/dependency_links.txt +0 -0
  133. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/python_semantic_release.egg-info/entry_points.txt +0 -0
  134. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/python_semantic_release.egg-info/top_level.txt +0 -0
  135. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/__main__.py +0 -0
  136. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/changelog/__init__.py +0 -0
  137. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/cli/__init__.py +0 -0
  138. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/cli/commands/__init__.py +0 -0
  139. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/cli/commands/generate_config.py +0 -0
  140. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/cli/commands/main.py +0 -0
  141. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/cli/const.py +0 -0
  142. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/cli/masking_filter.py +0 -0
  143. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/cli/util.py +0 -0
  144. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/commit_parser/__init__.py +0 -0
  145. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/commit_parser/tag.py +0 -0
  146. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/const.py +0 -0
  147. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/data/templates/angular/md/.components/changelog_header.md.j2 +0 -0
  148. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/data/templates/angular/md/.components/changelog_init.md.j2 +0 -0
  149. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/data/templates/angular/md/.components/changelog_update.md.j2 +0 -0
  150. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/data/templates/angular/md/.components/first_release.md.j2 +0 -0
  151. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/data/templates/angular/md/.components/unreleased_changes.md.j2 +0 -0
  152. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/data/templates/angular/md/.components/versioned_changes.md.j2 +0 -0
  153. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/data/templates/angular/md/CHANGELOG.md.j2 +0 -0
  154. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/data/templates/angular/rst/.components/changelog_header.rst.j2 +0 -0
  155. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/data/templates/angular/rst/.components/changelog_init.rst.j2 +0 -0
  156. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/data/templates/angular/rst/.components/changelog_update.rst.j2 +0 -0
  157. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/data/templates/angular/rst/.components/first_release.rst.j2 +0 -0
  158. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/data/templates/angular/rst/.components/unreleased_changes.rst.j2 +0 -0
  159. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/data/templates/angular/rst/.components/versioned_changes.rst.j2 +0 -0
  160. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/data/templates/angular/rst/CHANGELOG.rst.j2 +0 -0
  161. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/enums.py +0 -0
  162. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/globals.py +0 -0
  163. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/helpers.py +0 -0
  164. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/hvcs/__init__.py +0 -0
  165. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/hvcs/token_auth.py +0 -0
  166. /python_semantic_release-9.14.0/tests/__init__.py → /python_semantic_release-9.15.1/src/semantic_release/py.typed +0 -0
  167. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/version/__init__.py +0 -0
  168. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/version/declaration.py +0 -0
  169. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/version/translator.py +0 -0
  170. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/src/semantic_release/version/version.py +0 -0
  171. {python_semantic_release-9.14.0/tests/e2e → python_semantic_release-9.15.1/tests}/__init__.py +0 -0
  172. {python_semantic_release-9.14.0/tests/e2e/cmd_changelog → python_semantic_release-9.15.1/tests/e2e}/__init__.py +0 -0
  173. {python_semantic_release-9.14.0/tests/e2e/cmd_config → python_semantic_release-9.15.1/tests/e2e/cmd_changelog}/__init__.py +0 -0
  174. {python_semantic_release-9.14.0/tests/e2e/cmd_publish → python_semantic_release-9.15.1/tests/e2e/cmd_config}/__init__.py +0 -0
  175. {python_semantic_release-9.14.0/tests/e2e/cmd_version → python_semantic_release-9.15.1/tests/e2e/cmd_publish}/__init__.py +0 -0
  176. {python_semantic_release-9.14.0/tests/unit → python_semantic_release-9.15.1/tests/e2e/cmd_version}/__init__.py +0 -0
  177. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/e2e/conftest.py +0 -0
  178. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/fixtures/__init__.py +0 -0
  179. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/fixtures/commit_parsers.py +0 -0
  180. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/fixtures/repos/__init__.py +0 -0
  181. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/fixtures/repos/github_flow/__init__.py +0 -0
  182. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/fixtures/repos/trunk_based_dev/__init__.py +0 -0
  183. {python_semantic_release-9.14.0/tests/unit/semantic_release → python_semantic_release-9.15.1/tests/unit}/__init__.py +0 -0
  184. {python_semantic_release-9.14.0/tests/unit/semantic_release/changelog → python_semantic_release-9.15.1/tests/unit/semantic_release}/__init__.py +0 -0
  185. {python_semantic_release-9.14.0/tests/unit/semantic_release/cli → python_semantic_release-9.15.1/tests/unit/semantic_release/changelog}/__init__.py +0 -0
  186. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/unit/semantic_release/changelog/test_changelog_context.py +0 -0
  187. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/unit/semantic_release/changelog/test_template_render.py +0 -0
  188. {python_semantic_release-9.14.0/tests/unit/semantic_release/commit_parser → python_semantic_release-9.15.1/tests/unit/semantic_release/cli}/__init__.py +0 -0
  189. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/unit/semantic_release/cli/test_masking_filter.py +0 -0
  190. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/unit/semantic_release/cli/test_util.py +0 -0
  191. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/unit/semantic_release/cli/test_version.py +0 -0
  192. {python_semantic_release-9.14.0/tests/unit/semantic_release/hvcs → python_semantic_release-9.15.1/tests/unit/semantic_release/commit_parser}/__init__.py +0 -0
  193. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/unit/semantic_release/commit_parser/test_util.py +0 -0
  194. {python_semantic_release-9.14.0/tests/unit/semantic_release/version → python_semantic_release-9.15.1/tests/unit/semantic_release/hvcs}/__init__.py +0 -0
  195. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/unit/semantic_release/hvcs/test__base.py +0 -0
  196. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/unit/semantic_release/hvcs/test_bitbucket.py +0 -0
  197. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/unit/semantic_release/hvcs/test_gitea.py +0 -0
  198. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/unit/semantic_release/hvcs/test_github.py +0 -0
  199. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/unit/semantic_release/hvcs/test_token_auth.py +0 -0
  200. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/unit/semantic_release/hvcs/test_util.py +0 -0
  201. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/unit/semantic_release/test_helpers.py +0 -0
  202. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/tests/unit/semantic_release/version/test_declaration.py +0 -0
  203. {python_semantic_release-9.14.0 → python_semantic_release-9.15.1}/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.14.0
3
+ Version: 9.15.1
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.14.0
340
+ - uses: python-semantic-release/python-semantic-release@v9.15.1
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.14.0
687
+ uses: python-semantic-release/python-semantic-release@v9.15.1
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.14.0
747
+ uses: python-semantic-release/python-semantic-release@v9.15.1
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.14.0
775
+ uses: python-semantic-release/python-semantic-release@v9.15.1
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.14.0
781
+ uses: python-semantic-release/python-semantic-release@v9.15.1
782
782
  with:
783
783
  directory: ./project2
784
784
  github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -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:`commit-parser-writing-your-own-parser`, your custom implementations of
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 ``Release`` object also has the following attributes:
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:`commit-parser-builtin`
605
- * :ref:`Commit Parser Tokens <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. ``#29``)
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
- {{ "29" | issue_url }}
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/29
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
- {# commit.linked_merge_request is only available in v9.13.0 or greater #}
813
+
814
+ **Markdown Output:**
791
815
 
792
816
  .. code:: markdown
793
817