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.
- {python-semantic-release-8.0.7/python_semantic_release.egg-info → python-semantic-release-8.0.8}/PKG-INFO +1 -1
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/pyproject.toml +3 -2
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8/python_semantic_release.egg-info}/PKG-INFO +1 -1
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/python_semantic_release.egg-info/requires.txt +2 -1
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/__init__.py +1 -1
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/helpers.py +1 -1
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/changelog/test_template.py +4 -4
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/hvcs/test_gitea.py +0 -12
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/AUTHORS.rst +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/LICENSE +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/MANIFEST.in +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/README.rst +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/python_semantic_release.egg-info/SOURCES.txt +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/python_semantic_release.egg-info/dependency_links.txt +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/python_semantic_release.egg-info/entry_points.txt +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/python_semantic_release.egg-info/top_level.txt +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/__main__.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/changelog/__init__.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/changelog/context.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/changelog/release_history.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/changelog/template.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/__init__.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/commands/__init__.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/commands/changelog.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/commands/generate_config.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/commands/main.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/commands/publish.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/commands/version.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/common.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/config.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/const.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/github_actions_output.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/masking_filter.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/util.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/commit_parser/__init__.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/commit_parser/_base.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/commit_parser/angular.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/commit_parser/emoji.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/commit_parser/scipy.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/commit_parser/tag.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/commit_parser/token.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/commit_parser/util.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/const.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/data/templates/CHANGELOG.md.j2 +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/data/templates/release_notes.md.j2 +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/enums.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/errors.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/hvcs/__init__.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/hvcs/_base.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/hvcs/gitea.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/hvcs/github.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/hvcs/gitlab.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/hvcs/token_auth.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/hvcs/util.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/version/__init__.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/version/algorithm.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/version/declaration.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/version/translator.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/version/version.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/setup.cfg +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/setup.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/command_line/__init__.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/command_line/conftest.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/command_line/test_changelog.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/command_line/test_generate_config.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/command_line/test_help.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/command_line/test_main.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/command_line/test_publish.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/command_line/test_version.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/fixtures/__init__.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/fixtures/commit_parsers.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/fixtures/example_project.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/fixtures/git_repo.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/fixtures/scipy.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/scenario/__init__.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/scenario/test_next_version.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/scenario/test_release_history.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/scenario/test_template_render.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/__init__.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/__init__.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/changelog/__init__.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/changelog/test_changelog_context.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/changelog/test_default_changelog.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/changelog/test_release_notes.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/cli/__init__.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/cli/test_config.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/cli/test_github_actions_output.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/cli/test_masking_filter.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/cli/test_util.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/cli/test_version.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/commit_parser/__init__.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/commit_parser/helper.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/commit_parser/test_angular.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/commit_parser/test_emoji.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/commit_parser/test_scipy.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/commit_parser/test_tag.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/commit_parser/test_token.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/commit_parser/test_util.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/hvcs/__init__.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/hvcs/test__base.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/hvcs/test_github.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/hvcs/test_gitlab.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/hvcs/test_token_auth.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/hvcs/test_util.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/version/__init__.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/version/test_algorithm.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/version/test_declaration.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/version/test_translator.py +0 -0
- {python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/unit/semantic_release/version/test_version.py +0 -0
|
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
|
|
|
7
7
|
|
|
8
8
|
[project]
|
|
9
9
|
name = "python-semantic-release"
|
|
10
|
-
version = "8.0.
|
|
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
|
|
66
|
+
dev = ["pre-commit", "tox", "black", "ruff==0.0.286"]
|
|
66
67
|
mypy = ["mypy", "types-requests"]
|
|
67
68
|
|
|
68
69
|
[tool.pytest.ini_options]
|
|
@@ -14,7 +14,7 @@ shellingham>=1.5.0.post1
|
|
|
14
14
|
pre-commit
|
|
15
15
|
tox
|
|
16
16
|
black
|
|
17
|
-
ruff
|
|
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
|
|
@@ -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,
|
|
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(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/__main__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/common.py
RENAMED
|
File without changes
|
{python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/config.py
RENAMED
|
File without changes
|
{python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/const.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/cli/util.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/hvcs/__init__.py
RENAMED
|
File without changes
|
{python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/hvcs/_base.py
RENAMED
|
File without changes
|
{python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/hvcs/gitea.py
RENAMED
|
File without changes
|
{python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/hvcs/github.py
RENAMED
|
File without changes
|
{python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/hvcs/gitlab.py
RENAMED
|
File without changes
|
{python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/hvcs/token_auth.py
RENAMED
|
File without changes
|
{python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/hvcs/util.py
RENAMED
|
File without changes
|
{python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/version/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/semantic_release/version/version.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/command_line/__init__.py
RENAMED
|
File without changes
|
{python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/command_line/conftest.py
RENAMED
|
File without changes
|
{python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/command_line/test_changelog.py
RENAMED
|
File without changes
|
|
File without changes
|
{python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/command_line/test_help.py
RENAMED
|
File without changes
|
{python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/command_line/test_main.py
RENAMED
|
File without changes
|
{python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/command_line/test_publish.py
RENAMED
|
File without changes
|
{python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/command_line/test_version.py
RENAMED
|
File without changes
|
|
File without changes
|
{python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/fixtures/commit_parsers.py
RENAMED
|
File without changes
|
{python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/fixtures/example_project.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python-semantic-release-8.0.7 → python-semantic-release-8.0.8}/tests/scenario/test_next_version.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|