git-commit-msg-ai 1.8.0__tar.gz → 2.0.1__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 (22) hide show
  1. {git_commit_msg_ai-1.8.0 → git_commit_msg_ai-2.0.1}/PKG-INFO +4 -4
  2. {git_commit_msg_ai-1.8.0 → git_commit_msg_ai-2.0.1}/README.md +2 -2
  3. {git_commit_msg_ai-1.8.0 → git_commit_msg_ai-2.0.1}/git_commit_msg_ai/ai_client.py +1 -1
  4. {git_commit_msg_ai-1.8.0 → git_commit_msg_ai-2.0.1}/git_commit_msg_ai/cli.py +1 -1
  5. {git_commit_msg_ai-1.8.0 → git_commit_msg_ai-2.0.1}/git_commit_msg_ai.egg-info/PKG-INFO +4 -4
  6. {git_commit_msg_ai-1.8.0 → git_commit_msg_ai-2.0.1}/pyproject.toml +4 -4
  7. {git_commit_msg_ai-1.8.0 → git_commit_msg_ai-2.0.1}/git_commit_msg_ai/__init__.py +0 -0
  8. {git_commit_msg_ai-1.8.0 → git_commit_msg_ai-2.0.1}/git_commit_msg_ai/editor.py +0 -0
  9. {git_commit_msg_ai-1.8.0 → git_commit_msg_ai-2.0.1}/git_commit_msg_ai/exceptions.py +0 -0
  10. {git_commit_msg_ai-1.8.0 → git_commit_msg_ai-2.0.1}/git_commit_msg_ai/git_ops.py +0 -0
  11. {git_commit_msg_ai-1.8.0 → git_commit_msg_ai-2.0.1}/git_commit_msg_ai.egg-info/SOURCES.txt +0 -0
  12. {git_commit_msg_ai-1.8.0 → git_commit_msg_ai-2.0.1}/git_commit_msg_ai.egg-info/dependency_links.txt +0 -0
  13. {git_commit_msg_ai-1.8.0 → git_commit_msg_ai-2.0.1}/git_commit_msg_ai.egg-info/entry_points.txt +0 -0
  14. {git_commit_msg_ai-1.8.0 → git_commit_msg_ai-2.0.1}/git_commit_msg_ai.egg-info/requires.txt +0 -0
  15. {git_commit_msg_ai-1.8.0 → git_commit_msg_ai-2.0.1}/git_commit_msg_ai.egg-info/top_level.txt +0 -0
  16. {git_commit_msg_ai-1.8.0 → git_commit_msg_ai-2.0.1}/setup.cfg +0 -0
  17. {git_commit_msg_ai-1.8.0 → git_commit_msg_ai-2.0.1}/tests/test_ai_client.py +0 -0
  18. {git_commit_msg_ai-1.8.0 → git_commit_msg_ai-2.0.1}/tests/test_cli.py +0 -0
  19. {git_commit_msg_ai-1.8.0 → git_commit_msg_ai-2.0.1}/tests/test_editor.py +0 -0
  20. {git_commit_msg_ai-1.8.0 → git_commit_msg_ai-2.0.1}/tests/test_exceptions.py +0 -0
  21. {git_commit_msg_ai-1.8.0 → git_commit_msg_ai-2.0.1}/tests/test_generate_release_notes.py +0 -0
  22. {git_commit_msg_ai-1.8.0 → git_commit_msg_ai-2.0.1}/tests/test_git_ops.py +0 -0
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: git-commit-msg-ai
3
- Version: 1.8.0
3
+ Version: 2.0.1
4
4
  Summary: AI-powered git commit message generator following Conventional Commits
5
5
  License-Expression: MIT
6
- Requires-Python: >=3.10
6
+ Requires-Python: >=3.14
7
7
  Description-Content-Type: text/markdown
8
8
  Requires-Dist: anthropic
9
9
  Provides-Extra: dev
@@ -20,7 +20,7 @@ AI-powered git commit message generator that follows the [Conventional Commits](
20
20
 
21
21
  ## Prerequisites
22
22
 
23
- - Python 3.10+
23
+ - Python 3.14+
24
24
  - An Anthropic API key set as an environment variable:
25
25
 
26
26
  ```sh
@@ -123,7 +123,7 @@ Pushing a version tag (e.g. `v1.5.2`) triggers the CD pipeline:
123
123
  1. Tests are re-run as a gate
124
124
  2. The tag version is verified to match the version in `pyproject.toml`
125
125
  3. The package is built and published to [PyPI](https://pypi.org/project/git-commit-msg-ai/)
126
- 4. A GitHub Release is created with release notes generated by Claude Haiku from the commit log
126
+ 4. A GitHub Release is created with release notes generated by Claude Sonnet from the commit log
127
127
 
128
128
  **Releasing a new version:**
129
129
 
@@ -4,7 +4,7 @@ AI-powered git commit message generator that follows the [Conventional Commits](
4
4
 
5
5
  ## Prerequisites
6
6
 
7
- - Python 3.10+
7
+ - Python 3.14+
8
8
  - An Anthropic API key set as an environment variable:
9
9
 
10
10
  ```sh
@@ -107,7 +107,7 @@ Pushing a version tag (e.g. `v1.5.2`) triggers the CD pipeline:
107
107
  1. Tests are re-run as a gate
108
108
  2. The tag version is verified to match the version in `pyproject.toml`
109
109
  3. The package is built and published to [PyPI](https://pypi.org/project/git-commit-msg-ai/)
110
- 4. A GitHub Release is created with release notes generated by Claude Haiku from the commit log
110
+ 4. A GitHub Release is created with release notes generated by Claude Sonnet from the commit log
111
111
 
112
112
  **Releasing a new version:**
113
113
 
@@ -16,7 +16,7 @@ SYSTEM_PROMPT: Final[str] = textwrap.dedent("""\
16
16
  - If there is a breaking change, add a blank line after the body followed by "BREAKING CHANGE: <description of what breaks and why>
17
17
  Types: feat, fix, docs, style, refactor, test, chore""")
18
18
 
19
- MODEL: Final[str] = "claude-haiku-4-5-20251001"
19
+ MODEL: Final[str] = "claude-sonnet-4-6"
20
20
  MAX_TOKENS: Final[int] = 1024
21
21
 
22
22
 
@@ -50,7 +50,7 @@ def main() -> None:
50
50
  except GitCommitAIError as error:
51
51
  logging.error(str(error))
52
52
  sys.exit(1)
53
- except (KeyboardInterrupt, EOFError):
53
+ except KeyboardInterrupt, EOFError:
54
54
  print(ABORTED_MESSAGE)
55
55
  sys.exit(1)
56
56
 
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: git-commit-msg-ai
3
- Version: 1.8.0
3
+ Version: 2.0.1
4
4
  Summary: AI-powered git commit message generator following Conventional Commits
5
5
  License-Expression: MIT
6
- Requires-Python: >=3.10
6
+ Requires-Python: >=3.14
7
7
  Description-Content-Type: text/markdown
8
8
  Requires-Dist: anthropic
9
9
  Provides-Extra: dev
@@ -20,7 +20,7 @@ AI-powered git commit message generator that follows the [Conventional Commits](
20
20
 
21
21
  ## Prerequisites
22
22
 
23
- - Python 3.10+
23
+ - Python 3.14+
24
24
  - An Anthropic API key set as an environment variable:
25
25
 
26
26
  ```sh
@@ -123,7 +123,7 @@ Pushing a version tag (e.g. `v1.5.2`) triggers the CD pipeline:
123
123
  1. Tests are re-run as a gate
124
124
  2. The tag version is verified to match the version in `pyproject.toml`
125
125
  3. The package is built and published to [PyPI](https://pypi.org/project/git-commit-msg-ai/)
126
- 4. A GitHub Release is created with release notes generated by Claude Haiku from the commit log
126
+ 4. A GitHub Release is created with release notes generated by Claude Sonnet from the commit log
127
127
 
128
128
  **Releasing a new version:**
129
129
 
@@ -4,11 +4,11 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "git-commit-msg-ai"
7
- version = "1.8.0"
7
+ version = "2.0.1"
8
8
  description = "AI-powered git commit message generator following Conventional Commits"
9
9
  readme = "README.md"
10
10
  license = "MIT"
11
- requires-python = ">=3.10"
11
+ requires-python = ">=3.14"
12
12
  dependencies = ["anthropic"]
13
13
 
14
14
  [project.scripts]
@@ -18,14 +18,14 @@ git-commit-msg-ai = "git_commit_msg_ai.cli:main"
18
18
  dev = ["mypy", "ruff", "pytest", "pytest-cov", "build", "twine"]
19
19
 
20
20
  [tool.ruff]
21
- target-version = "py310"
21
+ target-version = "py314"
22
22
  line-length = 320
23
23
 
24
24
  [tool.ruff.lint]
25
25
  select = ["E", "F", "I"]
26
26
 
27
27
  [tool.mypy]
28
- python_version = "3.10"
28
+ python_version = "3.14"
29
29
  strict = true
30
30
 
31
31
  [tool.pytest.ini_options]