python-semantic-release 8.0.7__tar.gz → 8.0.8__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 (109) hide show
  1. {python-semantic-release-8.0.7/python_semantic_release.egg-info → python-semantic-release-8.0.8}/PKG-INFO +1 -1
  2. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/pyproject.toml +3 -2
  3. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8/python_semantic_release.egg-info}/PKG-INFO +1 -1
  4. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/python_semantic_release.egg-info/requires.txt +2 -1
  5. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/__init__.py +1 -1
  6. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/helpers.py +1 -1
  7. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/changelog/test_template.py +4 -4
  8. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/hvcs/test_gitea.py +0 -12
  9. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/AUTHORS.rst +0 -0
  10. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/LICENSE +0 -0
  11. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/MANIFEST.in +0 -0
  12. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/README.rst +0 -0
  13. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/python_semantic_release.egg-info/SOURCES.txt +0 -0
  14. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/python_semantic_release.egg-info/dependency_links.txt +0 -0
  15. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/python_semantic_release.egg-info/entry_points.txt +0 -0
  16. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/python_semantic_release.egg-info/top_level.txt +0 -0
  17. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/__main__.py +0 -0
  18. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/changelog/__init__.py +0 -0
  19. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/changelog/context.py +0 -0
  20. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/changelog/release_history.py +0 -0
  21. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/changelog/template.py +0 -0
  22. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/__init__.py +0 -0
  23. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/commands/__init__.py +0 -0
  24. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/commands/changelog.py +0 -0
  25. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/commands/generate_config.py +0 -0
  26. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/commands/main.py +0 -0
  27. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/commands/publish.py +0 -0
  28. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/commands/version.py +0 -0
  29. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/common.py +0 -0
  30. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/config.py +0 -0
  31. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/const.py +0 -0
  32. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/github_actions_output.py +0 -0
  33. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/masking_filter.py +0 -0
  34. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/util.py +0 -0
  35. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/commit_parser/__init__.py +0 -0
  36. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/commit_parser/_base.py +0 -0
  37. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/commit_parser/angular.py +0 -0
  38. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/commit_parser/emoji.py +0 -0
  39. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/commit_parser/scipy.py +0 -0
  40. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/commit_parser/tag.py +0 -0
  41. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/commit_parser/token.py +0 -0
  42. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/commit_parser/util.py +0 -0
  43. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/const.py +0 -0
  44. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/data/templates/CHANGELOG.md.j2 +0 -0
  45. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/data/templates/release_notes.md.j2 +0 -0
  46. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/enums.py +0 -0
  47. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/errors.py +0 -0
  48. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/hvcs/__init__.py +0 -0
  49. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/hvcs/_base.py +0 -0
  50. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/hvcs/gitea.py +0 -0
  51. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/hvcs/github.py +0 -0
  52. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/hvcs/gitlab.py +0 -0
  53. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/hvcs/token_auth.py +0 -0
  54. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/hvcs/util.py +0 -0
  55. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/version/__init__.py +0 -0
  56. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/version/algorithm.py +0 -0
  57. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/version/declaration.py +0 -0
  58. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/version/translator.py +0 -0
  59. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/version/version.py +0 -0
  60. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/setup.cfg +0 -0
  61. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/setup.py +0 -0
  62. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/command_line/__init__.py +0 -0
  63. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/command_line/conftest.py +0 -0
  64. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/command_line/test_changelog.py +0 -0
  65. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/command_line/test_generate_config.py +0 -0
  66. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/command_line/test_help.py +0 -0
  67. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/command_line/test_main.py +0 -0
  68. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/command_line/test_publish.py +0 -0
  69. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/command_line/test_version.py +0 -0
  70. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/fixtures/__init__.py +0 -0
  71. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/fixtures/commit_parsers.py +0 -0
  72. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/fixtures/example_project.py +0 -0
  73. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/fixtures/git_repo.py +0 -0
  74. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/fixtures/scipy.py +0 -0
  75. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/scenario/__init__.py +0 -0
  76. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/scenario/test_next_version.py +0 -0
  77. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/scenario/test_release_history.py +0 -0
  78. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/scenario/test_template_render.py +0 -0
  79. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/__init__.py +0 -0
  80. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/__init__.py +0 -0
  81. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/changelog/__init__.py +0 -0
  82. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/changelog/test_changelog_context.py +0 -0
  83. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/changelog/test_default_changelog.py +0 -0
  84. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/changelog/test_release_notes.py +0 -0
  85. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/cli/__init__.py +0 -0
  86. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/cli/test_config.py +0 -0
  87. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/cli/test_github_actions_output.py +0 -0
  88. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/cli/test_masking_filter.py +0 -0
  89. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/cli/test_util.py +0 -0
  90. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/cli/test_version.py +0 -0
  91. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/commit_parser/__init__.py +0 -0
  92. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/commit_parser/helper.py +0 -0
  93. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/commit_parser/test_angular.py +0 -0
  94. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/commit_parser/test_emoji.py +0 -0
  95. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/commit_parser/test_scipy.py +0 -0
  96. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/commit_parser/test_tag.py +0 -0
  97. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/commit_parser/test_token.py +0 -0
  98. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/commit_parser/test_util.py +0 -0
  99. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/hvcs/__init__.py +0 -0
  100. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/hvcs/test__base.py +0 -0
  101. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/hvcs/test_github.py +0 -0
  102. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/hvcs/test_gitlab.py +0 -0
  103. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/hvcs/test_token_auth.py +0 -0
  104. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/hvcs/test_util.py +0 -0
  105. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/version/__init__.py +0 -0
  106. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/version/test_algorithm.py +0 -0
  107. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/version/test_declaration.py +0 -0
  108. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/version/test_translator.py +0 -0
  109. {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/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: 8.0.7
3
+ Version: 8.0.8
4
4
  Summary: Automatic Semantic Versioning for Python projects
5
5
  Author-email: Rolf Erik Lekang <me@rolflekang.com>
6
6
  License: MIT
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
7
 
8
8
  [project]
9
9
  name = "python-semantic-release"
10
- version = "8.0.7"
10
+ version = "8.0.8"
11
11
  description = "Automatic Semantic Versioning for Python projects"
12
12
  requires-python = ">=3.7"
13
13
  license = { text = "MIT" }
@@ -58,11 +58,12 @@ test = [
58
58
  "pytest-mock>=3,<4",
59
59
  "pytest-lazy-fixture~=0.6.3",
60
60
  "pytest-cov>=4,<5",
61
+ "pytest-pretty>=1.2.0,<2",
61
62
  "responses==0.23.3",
62
63
  "requests-mock>=1.10.0,<2",
63
64
  "types-pytest-lazy-fixture>=0.6.3.3",
64
65
  ]
65
- dev = ["pre-commit", "tox", "black", "ruff>=0.0.282"]
66
+ dev = ["pre-commit", "tox", "black", "ruff==0.0.286"]
66
67
  mypy = ["mypy", "types-requests"]
67
68
 
68
69
  [tool.pytest.ini_options]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-semantic-release
3
- Version: 8.0.7
3
+ Version: 8.0.8
4
4
  Summary: Automatic Semantic Versioning for Python projects
5
5
  Author-email: Rolf Erik Lekang <me@rolflekang.com>
6
6
  License: MIT
@@ -14,7 +14,7 @@ shellingham>=1.5.0.post1
14
14
  pre-commit
15
15
  tox
16
16
  black
17
- ruff>=0.0.282
17
+ ruff==0.0.286
18
18
 
19
19
  [docs]
20
20
  Sphinx<=6.0.0
@@ -33,6 +33,7 @@ pytest-xdist<4,>=2
33
33
  pytest-mock<4,>=3
34
34
  pytest-lazy-fixture~=0.6.3
35
35
  pytest-cov<5,>=4
36
+ pytest-pretty<2,>=1.2.0
36
37
  responses==0.23.3
37
38
  requests-mock<2,>=1.10.0
38
39
  types-pytest-lazy-fixture>=0.6.3.3
@@ -23,7 +23,7 @@ from semantic_release.version import (
23
23
  tags_and_versions,
24
24
  )
25
25
 
26
- __version__ = "8.0.7"
26
+ __version__ = "8.0.8"
27
27
 
28
28
 
29
29
  def setup_hook(argv: list[str]) -> None:
@@ -67,7 +67,7 @@ def dynamic_import(import_path: str) -> Any:
67
67
  string
68
68
  """
69
69
  log.debug("Trying to import %s", import_path)
70
- module_name, _, attr = import_path.split(":", maxsplit=1)
70
+ module_name, attr = import_path.split(":", maxsplit=1)
71
71
  module = importlib.import_module(module_name)
72
72
  return getattr(module, attr)
73
73
 
@@ -30,12 +30,12 @@ EXAMPLE_TEMPLATE_FORMAT_STR = """
30
30
  "comment_end_string": "#}",
31
31
  },
32
32
  {
33
- "block_start_string": "{%",
34
- "block_end_string": "%}",
33
+ "block_start_string": "{[",
34
+ "block_end_string": "]}",
35
35
  "variable_start_string": "{{",
36
36
  "variable_end_string": "}}",
37
- "comment_start_string": "{#",
38
- "comment_end_string": "#}",
37
+ "comment_start_string": "/*",
38
+ "comment_end_string": "*/",
39
39
  },
40
40
  ],
41
41
  )
@@ -127,18 +127,6 @@ def test_gitea_get_repository_owner_and_name(default_gitea_client):
127
127
  "git@gitea.com:custom/example.git",
128
128
  "https://aabbcc@gitea.com/custom/example.git",
129
129
  ),
130
- (
131
- False,
132
- "aabbcc",
133
- "git@gitea.com:custom/example.git",
134
- "git@gitea.com:custom/example.git",
135
- ),
136
- (
137
- True,
138
- "aabbcc",
139
- "git@gitea.com:custom/example.git",
140
- "https://aabbcc@gitea.com/custom/example.git",
141
- ),
142
130
  ],
143
131
  )
144
132
  def test_remote_url(