commitizen 4.13.8__tar.gz → 4.13.10__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 (73) hide show
  1. {commitizen-4.13.8 → commitizen-4.13.10}/PKG-INFO +5 -25
  2. commitizen-4.13.10/commitizen/__version__.py +1 -0
  3. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/changelog.py +1 -1
  4. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/exceptions.py +3 -0
  5. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/project_info.py +2 -2
  6. {commitizen-4.13.8 → commitizen-4.13.10}/pyproject.toml +7 -7
  7. commitizen-4.13.8/commitizen/__version__.py +0 -1
  8. {commitizen-4.13.8 → commitizen-4.13.10}/LICENSE +0 -0
  9. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/__init__.py +0 -0
  10. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/__main__.py +0 -0
  11. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/bump.py +0 -0
  12. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/changelog_formats/__init__.py +0 -0
  13. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/changelog_formats/asciidoc.py +0 -0
  14. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/changelog_formats/base.py +0 -0
  15. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/changelog_formats/markdown.py +0 -0
  16. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/changelog_formats/restructuredtext.py +0 -0
  17. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/changelog_formats/textile.py +0 -0
  18. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/cli.py +0 -0
  19. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/cmd.py +0 -0
  20. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/commands/__init__.py +0 -0
  21. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/commands/bump.py +0 -0
  22. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/commands/changelog.py +0 -0
  23. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/commands/check.py +0 -0
  24. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/commands/commit.py +0 -0
  25. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/commands/example.py +0 -0
  26. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/commands/info.py +0 -0
  27. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/commands/init.py +0 -0
  28. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/commands/list_cz.py +0 -0
  29. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/commands/schema.py +0 -0
  30. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/commands/version.py +0 -0
  31. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/config/__init__.py +0 -0
  32. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/config/base_config.py +0 -0
  33. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/config/factory.py +0 -0
  34. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/config/json_config.py +0 -0
  35. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/config/toml_config.py +0 -0
  36. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/config/yaml_config.py +0 -0
  37. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/cz/__init__.py +0 -0
  38. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/cz/base.py +0 -0
  39. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/cz/conventional_commits/__init__.py +0 -0
  40. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/cz/conventional_commits/conventional_commits.py +0 -0
  41. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/cz/conventional_commits/conventional_commits_info.txt +0 -0
  42. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/cz/customize/__init__.py +0 -0
  43. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/cz/customize/customize.py +0 -0
  44. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/cz/customize/customize_info.txt +0 -0
  45. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/cz/exceptions.py +0 -0
  46. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/cz/jira/__init__.py +0 -0
  47. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/cz/jira/jira.py +0 -0
  48. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/cz/jira/jira_info.txt +0 -0
  49. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/cz/utils.py +0 -0
  50. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/defaults.py +0 -0
  51. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/factory.py +0 -0
  52. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/git.py +0 -0
  53. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/hooks.py +0 -0
  54. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/out.py +0 -0
  55. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/providers/__init__.py +0 -0
  56. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/providers/base_provider.py +0 -0
  57. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/providers/cargo_provider.py +0 -0
  58. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/providers/commitizen_provider.py +0 -0
  59. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/providers/composer_provider.py +0 -0
  60. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/providers/npm_provider.py +0 -0
  61. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/providers/pep621_provider.py +0 -0
  62. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/providers/poetry_provider.py +0 -0
  63. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/providers/scm_provider.py +0 -0
  64. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/providers/uv_provider.py +0 -0
  65. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/py.typed +0 -0
  66. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/question.py +0 -0
  67. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/tags.py +0 -0
  68. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/templates/CHANGELOG.adoc.j2 +0 -0
  69. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/templates/CHANGELOG.md.j2 +0 -0
  70. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/templates/CHANGELOG.rst.j2 +0 -0
  71. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/templates/CHANGELOG.textile.j2 +0 -0
  72. {commitizen-4.13.8 → commitizen-4.13.10}/commitizen/version_schemes.py +0 -0
  73. {commitizen-4.13.8 → commitizen-4.13.10}/docs/README.md +0 -0
@@ -1,31 +1,12 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: commitizen
3
- Version: 4.13.8
3
+ Version: 4.13.10
4
4
  Summary: Python commitizen client tool
5
5
  Keywords: commitizen,conventional,commits,git
6
6
  Author: Santiago Fraire
7
7
  Author-email: Santiago Fraire <santiwilly@gmail.com>
8
- License: MIT License
9
-
10
- Copyright (c) 2017 Santiago
11
-
12
- Permission is hereby granted, free of charge, to any person obtaining a copy
13
- of this software and associated documentation files (the "Software"), to deal
14
- in the Software without restriction, including without limitation the rights
15
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
16
- copies of the Software, and to permit persons to whom the Software is
17
- furnished to do so, subject to the following conditions:
18
-
19
- The above copyright notice and this permission notice shall be included in all
20
- copies or substantial portions of the Software.
21
-
22
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28
- SOFTWARE.
8
+ License-Expression: MIT
9
+ License-File: LICENSE
29
10
  Classifier: Development Status :: 5 - Production/Stable
30
11
  Classifier: Environment :: Console
31
12
  Classifier: Intended Audience :: Developers
@@ -39,13 +20,12 @@ Classifier: Programming Language :: Python :: 3.12
39
20
  Classifier: Programming Language :: Python :: 3.13
40
21
  Classifier: Programming Language :: Python :: 3.14
41
22
  Classifier: Programming Language :: Python :: Implementation :: CPython
42
- Classifier: License :: OSI Approved :: MIT License
43
23
  Requires-Dist: questionary>=2.0,<3.0
44
24
  Requires-Dist: prompt-toolkit!=3.0.52
45
25
  Requires-Dist: decli>=0.6.0,<1.0
46
26
  Requires-Dist: colorama>=0.4.1,<1.0
47
27
  Requires-Dist: termcolor>=1.1.0,<4.0.0
48
- Requires-Dist: packaging>=19
28
+ Requires-Dist: packaging>=26
49
29
  Requires-Dist: tomlkit>=0.8.0,<1.0.0
50
30
  Requires-Dist: jinja2>=2.10.3
51
31
  Requires-Dist: pyyaml>=3.8
@@ -0,0 +1 @@
1
+ __version__ = "4.13.10"
@@ -193,7 +193,7 @@ def process_commit_message(
193
193
  messages = [processed_msg] if isinstance(processed_msg, dict) else processed_msg
194
194
  for msg in messages:
195
195
  change_type = msg.pop("change_type", None)
196
- if change_type_map:
196
+ if change_type_map and change_type:
197
197
  change_type = change_type_map.get(change_type, change_type)
198
198
  ref_changes[change_type].append(msg)
199
199
 
@@ -49,6 +49,9 @@ class ExitCode(IntEnum):
49
49
 
50
50
 
51
51
  class CommitizenException(Exception):
52
+ exit_code: ExitCode
53
+ message: str
54
+
52
55
  def __init__(self, *args: str, **kwargs: Any) -> None:
53
56
  self.output_method = kwargs.get("output_method") or out.error
54
57
  self.exit_code: ExitCode = self.__class__.exit_code
@@ -39,9 +39,9 @@ def get_default_config_filename() -> Literal["pyproject.toml", ".cz.toml"]:
39
39
  return "pyproject.toml" if Path("pyproject.toml").is_file() else ".cz.toml"
40
40
 
41
41
 
42
- def get_default_version_scheme() -> Literal["pep440", "semver"]:
42
+ def get_default_version_scheme() -> Literal["pep440", "semver2"]:
43
43
  return (
44
44
  "pep440"
45
45
  if Path("pyproject.toml").is_file() or Path("setup.py").is_file()
46
- else "semver"
46
+ else "semver2"
47
47
  )
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "commitizen"
3
- version = "4.13.8"
3
+ version = "4.13.10"
4
4
  description = "Python commitizen client tool"
5
5
  authors = [{ name = "Santiago Fraire", email = "santiwilly@gmail.com" }]
6
6
  maintainers = [
@@ -8,7 +8,8 @@ maintainers = [
8
8
  { name = "Axel H.", email = "noirbizarre@gmail.com" },
9
9
  { name = "Tim Hsiung", email = "bear890707@gmail.com" },
10
10
  ]
11
- license = { file = "LICENSE" }
11
+ license = "MIT"
12
+ license-files = ["LICENSE"]
12
13
  readme = "docs/README.md"
13
14
  requires-python = ">=3.10,<4.0"
14
15
  dependencies = [
@@ -18,7 +19,7 @@ dependencies = [
18
19
  "decli (>=0.6.0,<1.0)",
19
20
  "colorama (>=0.4.1,<1.0)",
20
21
  "termcolor (>=1.1.0,<4.0.0)",
21
- "packaging>=19",
22
+ "packaging>=26",
22
23
  "tomlkit (>=0.8.0,<1.0.0)",
23
24
  "jinja2>=2.10.3",
24
25
  "pyyaml>=3.08",
@@ -45,7 +46,6 @@ classifiers = [
45
46
  "Programming Language :: Python :: 3.13",
46
47
  "Programming Language :: Python :: 3.14",
47
48
  "Programming Language :: Python :: Implementation :: CPython",
48
- "License :: OSI Approved :: MIT License",
49
49
  ]
50
50
 
51
51
  [project.urls]
@@ -122,7 +122,7 @@ linters = [
122
122
  ]
123
123
 
124
124
  documentation = [
125
- "mkdocs>=1.4.2",
125
+ "mkdocs>=1.4.2,<2",
126
126
  "mkdocs-git-revision-date-localized-plugin>=1.5.0",
127
127
  "mkdocs-material>=9.1.6",
128
128
  ]
@@ -133,7 +133,7 @@ script = [
133
133
  ]
134
134
 
135
135
  [build-system]
136
- requires = ["uv_build >= 0.9.17, <0.10.0"]
136
+ requires = ["uv_build >= 0.9.17, <0.12"]
137
137
  build-backend = "uv_build"
138
138
 
139
139
 
@@ -145,7 +145,7 @@ version_files = [
145
145
  ]
146
146
  version_provider = "uv"
147
147
  version_scheme = "pep440"
148
-
148
+ annotated_tag = true
149
149
 
150
150
  [tool.uv.build-backend]
151
151
  module-name = "commitizen"
@@ -1 +0,0 @@
1
- __version__ = "4.13.8"
File without changes
File without changes