python-semantic-release 9.8.5__tar.gz → 9.8.6__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 (147) hide show
  1. {python_semantic_release-9.8.5/python_semantic_release.egg-info → python_semantic_release-9.8.6}/PKG-INFO +1 -1
  2. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/docs/configuration.rst +1 -1
  3. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/pyproject.toml +1 -1
  4. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6/python_semantic_release.egg-info}/PKG-INFO +1 -1
  5. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/__init__.py +1 -1
  6. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/cli/commands/version.py +11 -1
  7. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/command_line/test_version.py +3 -3
  8. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/AUTHORS.rst +0 -0
  9. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/LICENSE +0 -0
  10. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/MANIFEST.in +0 -0
  11. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/README.rst +0 -0
  12. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/docs/Makefile +0 -0
  13. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/docs/algorithm.rst +0 -0
  14. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/docs/automatic-releases/cronjobs.rst +0 -0
  15. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/docs/automatic-releases/github-actions.rst +0 -0
  16. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/docs/automatic-releases/index.rst +0 -0
  17. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/docs/automatic-releases/travis.rst +0 -0
  18. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/docs/changelog_templates.rst +0 -0
  19. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/docs/commands.rst +0 -0
  20. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/docs/commit-parsing.rst +0 -0
  21. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/docs/conf.py +0 -0
  22. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/docs/contributing.rst +0 -0
  23. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/docs/contributors.rst +0 -0
  24. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/docs/github-action.rst +0 -0
  25. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/docs/index.rst +0 -0
  26. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/docs/make.bat +0 -0
  27. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/docs/migrating_from_v7.rst +0 -0
  28. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/docs/multibranch_releases.rst +0 -0
  29. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/docs/strict_mode.rst +0 -0
  30. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/docs/troubleshooting.rst +0 -0
  31. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/python_semantic_release.egg-info/SOURCES.txt +0 -0
  32. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/python_semantic_release.egg-info/dependency_links.txt +0 -0
  33. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/python_semantic_release.egg-info/entry_points.txt +0 -0
  34. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/python_semantic_release.egg-info/requires.txt +0 -0
  35. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/python_semantic_release.egg-info/top_level.txt +0 -0
  36. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/__main__.py +0 -0
  37. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/changelog/__init__.py +0 -0
  38. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/changelog/context.py +0 -0
  39. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/changelog/release_history.py +0 -0
  40. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/changelog/template.py +0 -0
  41. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/cli/__init__.py +0 -0
  42. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/cli/changelog_writer.py +0 -0
  43. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/cli/cli_context.py +0 -0
  44. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/cli/commands/__init__.py +0 -0
  45. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/cli/commands/changelog.py +0 -0
  46. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/cli/commands/generate_config.py +0 -0
  47. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/cli/commands/main.py +0 -0
  48. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/cli/commands/publish.py +0 -0
  49. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/cli/config.py +0 -0
  50. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/cli/const.py +0 -0
  51. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/cli/github_actions_output.py +0 -0
  52. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/cli/masking_filter.py +0 -0
  53. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/cli/util.py +0 -0
  54. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/commit_parser/__init__.py +0 -0
  55. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/commit_parser/_base.py +0 -0
  56. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/commit_parser/angular.py +0 -0
  57. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/commit_parser/emoji.py +0 -0
  58. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/commit_parser/scipy.py +0 -0
  59. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/commit_parser/tag.py +0 -0
  60. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/commit_parser/token.py +0 -0
  61. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/commit_parser/util.py +0 -0
  62. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/const.py +0 -0
  63. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/data/templates/CHANGELOG.md.j2 +0 -0
  64. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/data/templates/release_notes.md.j2 +0 -0
  65. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/enums.py +0 -0
  66. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/errors.py +0 -0
  67. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/gitproject.py +0 -0
  68. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/helpers.py +0 -0
  69. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/hvcs/__init__.py +0 -0
  70. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/hvcs/_base.py +0 -0
  71. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/hvcs/bitbucket.py +0 -0
  72. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/hvcs/gitea.py +0 -0
  73. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/hvcs/github.py +0 -0
  74. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/hvcs/gitlab.py +0 -0
  75. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/hvcs/remote_hvcs_base.py +0 -0
  76. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/hvcs/token_auth.py +0 -0
  77. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/hvcs/util.py +0 -0
  78. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/version/__init__.py +0 -0
  79. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/version/algorithm.py +0 -0
  80. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/version/declaration.py +0 -0
  81. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/version/translator.py +0 -0
  82. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/semantic_release/version/version.py +0 -0
  83. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/setup.cfg +0 -0
  84. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/__init__.py +0 -0
  85. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/command_line/__init__.py +0 -0
  86. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/command_line/conftest.py +0 -0
  87. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/command_line/test_changelog.py +0 -0
  88. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/command_line/test_generate_config.py +0 -0
  89. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/command_line/test_help.py +0 -0
  90. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/command_line/test_main.py +0 -0
  91. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/command_line/test_publish.py +0 -0
  92. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/conftest.py +0 -0
  93. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/const.py +0 -0
  94. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/fixtures/__init__.py +0 -0
  95. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/fixtures/commit_parsers.py +0 -0
  96. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/fixtures/example_project.py +0 -0
  97. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/fixtures/git_repo.py +0 -0
  98. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/fixtures/repos/__init__.py +0 -0
  99. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/fixtures/repos/git_flow/__init__.py +0 -0
  100. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/fixtures/repos/git_flow/repo_w_2_release_channels.py +0 -0
  101. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/fixtures/repos/git_flow/repo_w_3_release_channels.py +0 -0
  102. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/fixtures/repos/github_flow/__init__.py +0 -0
  103. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/fixtures/repos/github_flow/repo_w_release_channels.py +0 -0
  104. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/fixtures/repos/trunk_based_dev/__init__.py +0 -0
  105. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/fixtures/repos/trunk_based_dev/repo_w_no_tags.py +0 -0
  106. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/fixtures/repos/trunk_based_dev/repo_w_prereleases.py +0 -0
  107. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/fixtures/repos/trunk_based_dev/repo_w_tags.py +0 -0
  108. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/fixtures/scipy.py +0 -0
  109. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/scenario/__init__.py +0 -0
  110. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/scenario/test_next_version.py +0 -0
  111. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/scenario/test_release_history.py +0 -0
  112. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/scenario/test_template_render.py +0 -0
  113. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/__init__.py +0 -0
  114. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/__init__.py +0 -0
  115. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/changelog/__init__.py +0 -0
  116. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/changelog/test_changelog_context.py +0 -0
  117. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/changelog/test_default_changelog.py +0 -0
  118. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/changelog/test_release_notes.py +0 -0
  119. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/changelog/test_template.py +0 -0
  120. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/cli/__init__.py +0 -0
  121. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/cli/test_config.py +0 -0
  122. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/cli/test_github_actions_output.py +0 -0
  123. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/cli/test_masking_filter.py +0 -0
  124. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/cli/test_util.py +0 -0
  125. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/cli/test_version.py +0 -0
  126. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/commit_parser/__init__.py +0 -0
  127. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/commit_parser/test_angular.py +0 -0
  128. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/commit_parser/test_emoji.py +0 -0
  129. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/commit_parser/test_parsed_commit.py +0 -0
  130. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/commit_parser/test_scipy.py +0 -0
  131. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/commit_parser/test_tag.py +0 -0
  132. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/commit_parser/test_util.py +0 -0
  133. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/hvcs/__init__.py +0 -0
  134. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/hvcs/test__base.py +0 -0
  135. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/hvcs/test_bitbucket.py +0 -0
  136. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/hvcs/test_gitea.py +0 -0
  137. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/hvcs/test_github.py +0 -0
  138. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/hvcs/test_gitlab.py +0 -0
  139. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/hvcs/test_token_auth.py +0 -0
  140. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/hvcs/test_util.py +0 -0
  141. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/test_helpers.py +0 -0
  142. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/version/__init__.py +0 -0
  143. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/version/test_algorithm.py +0 -0
  144. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/version/test_declaration.py +0 -0
  145. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/version/test_translator.py +0 -0
  146. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/unit/semantic_release/version/test_version.py +0 -0
  147. {python_semantic_release-9.8.5 → python_semantic_release-9.8.6}/tests/util.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-semantic-release
3
- Version: 9.8.5
3
+ Version: 9.8.6
4
4
  Summary: Automatic Semantic Versioning for Python projects
5
5
  Author-email: Rolf Erik Lekang <me@rolflekang.com>
6
6
  License: MIT
@@ -561,7 +561,7 @@ Author used in commits in the format ``name <email>``.
561
561
  .. note::
562
562
  If you are using the built-in GitHub Action, the default value is set to
563
563
  ``github-actions <actions@github.com>``. You can modify this with the
564
- ``git_committer_name`` and ``git_committer_name`` inputs.
564
+ ``git_committer_name`` and ``git_committer_email`` inputs.
565
565
 
566
566
  .. seealso::
567
567
  - :ref:`github-actions`
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
6
6
 
7
7
  [project]
8
8
  name = "python-semantic-release"
9
- version = "9.8.5"
9
+ version = "9.8.6"
10
10
  description = "Automatic Semantic Versioning for Python projects"
11
11
  requires-python = ">=3.8"
12
12
  license = { text = "MIT" }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-semantic-release
3
- Version: 9.8.5
3
+ Version: 9.8.6
4
4
  Summary: Automatic Semantic Versioning for Python projects
5
5
  Author-email: Rolf Erik Lekang <me@rolflekang.com>
6
6
  License: MIT
@@ -24,7 +24,7 @@ from semantic_release.version import (
24
24
  tags_and_versions,
25
25
  )
26
26
 
27
- __version__ = "9.8.5"
27
+ __version__ = "9.8.6"
28
28
 
29
29
  __all__ = [
30
30
  "CommitParser",
@@ -4,6 +4,7 @@ import logging
4
4
  import os
5
5
  import subprocess
6
6
  import sys
7
+ from collections import defaultdict
7
8
  from datetime import datetime
8
9
  from typing import TYPE_CHECKING
9
10
 
@@ -160,8 +161,17 @@ def shell(
160
161
  if not shell:
161
162
  raise TypeError("'shell' is None")
162
163
 
164
+ shell_cmd_param = defaultdict(
165
+ lambda: "-c",
166
+ {
167
+ "cmd": "/c",
168
+ "powershell": "-Command",
169
+ "pwsh": "-Command",
170
+ },
171
+ )
172
+
163
173
  return subprocess.run( # noqa: S603
164
- [shell, "-c" if shell != "cmd" else "/c", cmd],
174
+ [shell, shell_cmd_param[shell], cmd],
165
175
  env=(env or {}),
166
176
  check=check,
167
177
  )
@@ -658,7 +658,7 @@ def test_version_version_no_verify(
658
658
  assert head_before in repo_with_single_branch_angular_commits.head.commit.parents
659
659
 
660
660
 
661
- @pytest.mark.parametrize("shell", ("/usr/bin/bash", "/usr/bin/zsh", "powershell"))
661
+ @pytest.mark.parametrize("shell", ("/usr/bin/bash", "/usr/bin/zsh"))
662
662
  def test_version_runs_build_command(
663
663
  repo_with_git_flow_angular_commits: Repo,
664
664
  cli_runner: CliRunner,
@@ -739,7 +739,7 @@ def test_version_runs_build_command(
739
739
  )
740
740
 
741
741
 
742
- @pytest.mark.parametrize("shell", ("powershell", "cmd"))
742
+ @pytest.mark.parametrize("shell", ("powershell", "pwsh", "cmd"))
743
743
  def test_version_runs_build_command_windows(
744
744
  repo_with_git_flow_angular_commits: Repo,
745
745
  cli_runner: CliRunner,
@@ -801,7 +801,7 @@ def test_version_runs_build_command_windows(
801
801
  # Evaluate
802
802
  assert_successful_exit_code(result, cli_cmd)
803
803
  patched_subprocess_run.assert_called_once_with(
804
- [exe, "-c" if shell != "cmd" else "/c", build_command],
804
+ [exe, "/c" if shell == "cmd" else "-Command", build_command],
805
805
  check=True,
806
806
  env={
807
807
  "NEW_VERSION": "1.2.1", # injected into environment