python-semantic-release 7.33.4__py3-none-any.whl → 7.34.0__py3-none-any.whl
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-7.33.4.dist-info → python_semantic_release-7.34.0.dist-info}/METADATA +2 -2
- {python_semantic_release-7.33.4.dist-info → python_semantic_release-7.34.0.dist-info}/RECORD +12 -12
- semantic_release/__init__.py +1 -1
- semantic_release/defaults.cfg +3 -2
- semantic_release/settings.py +1 -0
- semantic_release/vcs_helpers.py +4 -1
- tests/parsers/test_tag.py +4 -4
- {python_semantic_release-7.33.4.dist-info → python_semantic_release-7.34.0.dist-info}/AUTHORS.rst +0 -0
- {python_semantic_release-7.33.4.dist-info → python_semantic_release-7.34.0.dist-info}/LICENSE +0 -0
- {python_semantic_release-7.33.4.dist-info → python_semantic_release-7.34.0.dist-info}/WHEEL +0 -0
- {python_semantic_release-7.33.4.dist-info → python_semantic_release-7.34.0.dist-info}/entry_points.txt +0 -0
- {python_semantic_release-7.33.4.dist-info → python_semantic_release-7.34.0.dist-info}/top_level.txt +0 -0
{python_semantic_release-7.33.4.dist-info → python_semantic_release-7.34.0.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-semantic-release
|
|
3
|
-
Version: 7.
|
|
3
|
+
Version: 7.34.0
|
|
4
4
|
Summary: Automatic Semantic Versioning for Python projects
|
|
5
5
|
Home-page: http://github.com/relekang/python-semantic-release
|
|
6
6
|
Author: Rolf Erik Lekang
|
|
@@ -33,7 +33,7 @@ Requires-Dist: tox ; extra == 'dev'
|
|
|
33
33
|
Requires-Dist: isort ; extra == 'dev'
|
|
34
34
|
Requires-Dist: black ; extra == 'dev'
|
|
35
35
|
Provides-Extra: docs
|
|
36
|
-
Requires-Dist: Sphinx (==1.
|
|
36
|
+
Requires-Dist: Sphinx (==1.8.6) ; extra == 'docs'
|
|
37
37
|
Requires-Dist: Jinja2 (==3.0.3) ; extra == 'docs'
|
|
38
38
|
Provides-Extra: mypy
|
|
39
39
|
Requires-Dist: mypy ; extra == 'mypy'
|
{python_semantic_release-7.33.4.dist-info → python_semantic_release-7.34.0.dist-info}/RECORD
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
semantic_release/__init__.py,sha256=
|
|
1
|
+
semantic_release/__init__.py,sha256=k1uBkxnfalnmYdYlP6k-V4NaVc8RPa2XxRlYaznicdA,450
|
|
2
2
|
semantic_release/__main__.py,sha256=94I1R7R7vNASIPsH7XGi8FVeWtX184Ys8vvRSeMALzo,63
|
|
3
3
|
semantic_release/ci_checks.py,sha256=o9WoKZBeYtkFnfsqrjRCgRYzxDevFNc1yOsCxqshKk8,3999
|
|
4
4
|
semantic_release/cli.py,sha256=n6SmsVStjjJwOtbswgOuwad4VEJTOeC6TgCyPcEVnEg,15629
|
|
5
|
-
semantic_release/defaults.cfg,sha256=
|
|
5
|
+
semantic_release/defaults.cfg,sha256=26MczydKVAl2TxoI8s78Ksq134ZiAWr5qkRa3rThERo,2574
|
|
6
6
|
semantic_release/dist.py,sha256=0pKIKO8UY8jEe-dAdmNEtst6vQuCqMr6TFbJlcuh2lQ,924
|
|
7
7
|
semantic_release/errors.py,sha256=wq4GgStJyGfnbLpquN5S1QDFZRD65EKdnCajSMMcbLQ,425
|
|
8
8
|
semantic_release/helpers.py,sha256=HMxc1r8W4ooeZL4NyGgOBEL_hGX25ENjmXKWlGS_8NQ,2764
|
|
9
9
|
semantic_release/hvcs.py,sha256=E0AvTFgr3BmQ2A4iAauLO1tWQ-0A08VkcBX-a-R4px8,27917
|
|
10
10
|
semantic_release/pre_commit.py,sha256=_CuduM2BJQxP-1J6KUH3Qw2aRkqjQwDGMsLErkIJgHo,385
|
|
11
11
|
semantic_release/repository.py,sha256=xuQ9HXK8xIQRfaOBXPi7X0xrYZdBmwTVC3ABYF1zgBA,6659
|
|
12
|
-
semantic_release/settings.py,sha256=
|
|
13
|
-
semantic_release/vcs_helpers.py,sha256=
|
|
12
|
+
semantic_release/settings.py,sha256=7hy9Tum282ybJQOD1n2H4XDSDokb6LyNbqSRSIF3OY0,4200
|
|
13
|
+
semantic_release/vcs_helpers.py,sha256=Ow9N5_PQFhdiVEn-ErIUrX__6-pDuTQhoBxVnyEQpGs,9428
|
|
14
14
|
semantic_release/changelog/__init__.py,sha256=BqOSJKXf_J8AhcGrGYOf59NKXDffdC4zAnd_flquJxc,1788
|
|
15
15
|
semantic_release/changelog/changelog.py,sha256=eYWLJpEm9x1Om1CZa9LTfKLIGQxIHtxF8xSC6NY1qIg,2764
|
|
16
16
|
semantic_release/changelog/compare.py,sha256=5KYYXZsILEgKlgF2N6hnHTJ8h_MVPAmQo9QqAoqu4uA,994
|
|
@@ -42,11 +42,11 @@ tests/parsers/test_angular.py,sha256=S6k1OLowGPeRu-TdIt0j4J_NRyyhi6YR0jFcS6J7DLg
|
|
|
42
42
|
tests/parsers/test_emoji.py,sha256=xwBieli8dyXvdUkLFEWVIMoljYcPbFoOtw613eVz8FI,3088
|
|
43
43
|
tests/parsers/test_helpers.py,sha256=DGfkpmLUZcnLYjrrYDyt6VvQIV_H1h_NsKL04INgByk,584
|
|
44
44
|
tests/parsers/test_scipy.py,sha256=U3qWK8IPnkKF5v2Mt7s68RjzCLt979Lj4JIIjdXiEfo,496
|
|
45
|
-
tests/parsers/test_tag.py,sha256=
|
|
46
|
-
python_semantic_release-7.
|
|
47
|
-
python_semantic_release-7.
|
|
48
|
-
python_semantic_release-7.
|
|
49
|
-
python_semantic_release-7.
|
|
50
|
-
python_semantic_release-7.
|
|
51
|
-
python_semantic_release-7.
|
|
52
|
-
python_semantic_release-7.
|
|
45
|
+
tests/parsers/test_tag.py,sha256=KONxBpB0s6FcefAkV_VGmw-JQLaNOcpuj_Bds5A9rUM,1678
|
|
46
|
+
python_semantic_release-7.34.0.dist-info/AUTHORS.rst,sha256=XOReVvpymEFUPsS2QPH97jlfJBVrxwS2eu8-jVAe4gk,230
|
|
47
|
+
python_semantic_release-7.34.0.dist-info/LICENSE,sha256=voJCmfa04Ed8O6nJzzXXKUnjYOQz0kdxEsRxJyjNaSo,1084
|
|
48
|
+
python_semantic_release-7.34.0.dist-info/METADATA,sha256=kb7B6Bz_qWyL6eU6kGpptCXWAlbCDgRSH2qr0YVkOM8,1799
|
|
49
|
+
python_semantic_release-7.34.0.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
|
50
|
+
python_semantic_release-7.34.0.dist-info/entry_points.txt,sha256=3rdQHd07pKu3fprAvQ7ZpSZHlvk4MZV2ynOvUvsw3Ug,64
|
|
51
|
+
python_semantic_release-7.34.0.dist-info/top_level.txt,sha256=8VPb52xVkJTzNFnUdd1oVgPwHUex1IDPRh5XLR_9Xp0,23
|
|
52
|
+
python_semantic_release-7.34.0.dist-info/RECORD,,
|
semantic_release/__init__.py
CHANGED
semantic_release/defaults.cfg
CHANGED
|
@@ -10,7 +10,7 @@ changelog_components=semantic_release.changelog.changelog_headers
|
|
|
10
10
|
changelog_file=CHANGELOG.md
|
|
11
11
|
changelog_placeholder=<!--next-version-placeholder-->
|
|
12
12
|
changelog_scope=true
|
|
13
|
-
changelog_sections=feature,fix,breaking,documentation,performance,:boom:,:sparkles:,:
|
|
13
|
+
changelog_sections=feature,fix,breaking,documentation,performance,:boom:,:sparkles:,:zap:,:bug:,:ambulance:,:lipstick:,:lock:,:arrow_down:,:arrow_up:,:pushpin:,:chart_with_upwards_trend:,:heavy_plus_sign:,:heavy_minus_sign:,:wrench:,:globe_with_meridians:,:pencil2:,:rewind:,:package:,:alien:,:bento:,:wheelchair:,:speech_balloon:,:card_file_box:,:children_crossing:,:iphone:,:egg:,:alembic:,:mag:,:label:,:triangular_flag_on_post:,:goal_net:,:dizzy:,:wastebasket:,:passport_control:,:adhesive_bandage:,:necktie:,Other
|
|
14
14
|
use_textual_changelog_sections=false
|
|
15
15
|
check_build_status=false
|
|
16
16
|
include_additional_files=
|
|
@@ -18,7 +18,7 @@ commit_message=Automatically generated by python-semantic-release
|
|
|
18
18
|
commit_parser=semantic_release.history.angular_parser
|
|
19
19
|
commit_subject={version}
|
|
20
20
|
dist_path=dist
|
|
21
|
-
fix_tag=:
|
|
21
|
+
fix_tag=:wrench:
|
|
22
22
|
github_token_var=GH_TOKEN
|
|
23
23
|
gitlab_token_var=GL_TOKEN
|
|
24
24
|
gitea_token_var=GITEA_TOKEN
|
|
@@ -46,3 +46,4 @@ upload_to_pypi=true
|
|
|
46
46
|
upload_to_release=true
|
|
47
47
|
version_source=commit
|
|
48
48
|
prerelease_tag=beta
|
|
49
|
+
use_only_cwd_commits=false
|
semantic_release/settings.py
CHANGED
semantic_release/vcs_helpers.py
CHANGED
|
@@ -17,8 +17,11 @@ from .helpers import LoggedFunction
|
|
|
17
17
|
from .settings import config
|
|
18
18
|
|
|
19
19
|
_repo: Optional[Repo]
|
|
20
|
+
_sub_directory = "."
|
|
20
21
|
try:
|
|
21
22
|
_repo = Repo(".", search_parent_directories=True)
|
|
23
|
+
if config.get("use_only_cwd_commits") and config.get("version_source") == "commit":
|
|
24
|
+
_sub_directory = os.path.relpath(os.getcwd(), _repo.working_dir)
|
|
22
25
|
except InvalidGitRepositoryError:
|
|
23
26
|
_repo = None
|
|
24
27
|
|
|
@@ -79,7 +82,7 @@ def get_commit_log(from_rev=None, to_rev=None):
|
|
|
79
82
|
elif to_rev:
|
|
80
83
|
rev = f"{to_rev}..."
|
|
81
84
|
|
|
82
|
-
for commit in repo().iter_commits(rev):
|
|
85
|
+
for commit in repo().iter_commits(rev, paths=_sub_directory):
|
|
83
86
|
yield (commit.hexsha, commit.message.replace("\r\n", "\n"))
|
|
84
87
|
|
|
85
88
|
|
tests/parsers/test_tag.py
CHANGED
|
@@ -24,7 +24,7 @@ def test_parser_return_minor_bump_level():
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
def test_parser_return_patch_bump_level():
|
|
27
|
-
assert tag_parser(":
|
|
27
|
+
assert tag_parser(":wrench: Fix regex in angular parser")[0] == 1
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
def test_parser_return_type_breaking_from_commit_message():
|
|
@@ -37,7 +37,7 @@ def test_parser_return_type_feature_from_commit_message():
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
def test_parser_return_type_fix_from_commit_message():
|
|
40
|
-
assert tag_parser(":
|
|
40
|
+
assert tag_parser(":wrench: ...")[1] == "fix"
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
def test_parser_return_subject_from_commit_message():
|
|
@@ -45,10 +45,10 @@ def test_parser_return_subject_from_commit_message():
|
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
def test_parser_return_text_from_commit_message():
|
|
48
|
-
commit = ":
|
|
48
|
+
commit = ":wrench: Fix regex in an parser\n\n{}".format(text)
|
|
49
49
|
assert tag_parser(commit)[3][1] == text
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
def test_parser_return_footer_from_commit_message():
|
|
53
|
-
commit = ":
|
|
53
|
+
commit = ":wrench: Fix env \n\n{t[text]}\n\n{t[footer]}".format(t=globals())
|
|
54
54
|
assert tag_parser(commit)[3][2] == footer
|
{python_semantic_release-7.33.4.dist-info → python_semantic_release-7.34.0.dist-info}/AUTHORS.rst
RENAMED
|
File without changes
|
{python_semantic_release-7.33.4.dist-info → python_semantic_release-7.34.0.dist-info}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_semantic_release-7.33.4.dist-info → python_semantic_release-7.34.0.dist-info}/top_level.txt
RENAMED
|
File without changes
|