diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml index e4d88ace..49d470fc 100644 --- a/.github/workflows/makefile.yml +++ b/.github/workflows/makefile.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.8.18, 3.10.10, 3.12.1] + python-version: [3.8.18, 3.10.10, 3.12.1, 3.14.0] name: Run lint and install checks steps: - name: Install pandoc diff --git a/README.md b/README.md index e1e0e6fd..dfc3b2c6 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@

Source Code Issues -Python 3.8 | 3.9 | 3.10 +Python 3.8 | 3.9 | 3.10 | 3.11 | 3.12 | 3.13 | 3.14 PyPI MIT License

@@ -44,7 +44,7 @@ Follow instructions [here](https://git-scm.com/downloads) to get the latest git Install with `pip` or your favorite package manager. ```sh -python3.8 -m pip install revup +python3 -m pip install revup ``` Verify that installation was successful by showing the help page. diff --git a/revup/git.py b/revup/git.py index 94e016ee..4c2ca7fe 100644 --- a/revup/git.py +++ b/revup/git.py @@ -1,3 +1,5 @@ +from __future__ import annotations + import asyncio import copy import logging @@ -5,7 +7,7 @@ import re import shutil import tempfile -from typing import Any, Dict, List, Optional, Pattern, Tuple, cast +from typing import Any, Dict, List, Optional, Tuple, cast from async_lru import alru_cache as lru_cache @@ -54,7 +56,7 @@ def parse_commit_header(raw_header: str) -> CommitHeader: - def _search_group(raw_header: str, regex: Pattern[str], group: str) -> str: + def _search_group(raw_header: str, regex: re.Pattern[str], group: str) -> str: m = regex.search(raw_header) assert m return m.group(group) diff --git a/setup.cfg b/setup.cfg index f05bc122..4c61c196 100644 --- a/setup.cfg +++ b/setup.cfg @@ -27,6 +27,8 @@ classifiers = Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 + Programming Language :: Python :: 3.13 + Programming Language :: Python :: 3.14 Programming Language :: Python :: 3 :: Only Environment :: Console Typing :: Typed