diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 8fb5746..810b448 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 diff --git a/pyproject.toml b/pyproject.toml index 9ab5b32..8e4f292 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ classifiers = [ ] keywords = ["changelog", "changelog-generator", "commit-style"] dependencies = [ - "git-changelog >= 2.0.0", + "git-changelog >= 2.5.0", ] requires-python = ">=3.7" diff --git a/src/rhenvision_changelog/commit_check.py b/src/rhenvision_changelog/commit_check.py index 4868df0..bab68e9 100644 --- a/src/rhenvision_changelog/commit_check.py +++ b/src/rhenvision_changelog/commit_check.py @@ -1,6 +1,6 @@ import sys -def check_commit(commit, jira_project, length_limit=70) -> int: +def check_commit(commit, jira_project, length_limit=135) -> int: if len(commit.subject) > length_limit: sys.stderr.write("ERROR: Commit subject is too long (limit is " + str(length_limit) + "): " + commit.subject + "\n") return 1 diff --git a/tests/test_changelog.py b/tests/test_changelog.py index 788ef83..f955372 100644 --- a/tests/test_changelog.py +++ b/tests/test_changelog.py @@ -12,6 +12,7 @@ jdoe@test.com 1669736056 HEAD -> branch, origin/branch +701eca9b345a940c8da0bab7fe601666ca9985b9 """ class StubbedChangelog(ProvisioningChangelog): diff --git a/tests/test_commmit_check.py b/tests/test_commmit_check.py index 4b6181c..6775f62 100644 --- a/tests/test_commmit_check.py +++ b/tests/test_commmit_check.py @@ -12,6 +12,7 @@ jdoe@test.com 1669736056 HEAD -> branch, origin/branch +701eca9b345a940c8da0bab7fe601666ca9985b9 """ class StubbedChangelog(ProvisioningChangelog):