Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<p align="center">
<a href="https://github.com/Skydio/revup"><img alt="Source Code" src="https://img.shields.io/badge/source-code-blue"/></a>
<a href="https://github.com/Skydio/revup/issues"><img alt="Issues" src="https://img.shields.io/badge/issue-tracker-blue"/></a>
<img alt="Python 3.8 | 3.9 | 3.10" src="https://img.shields.io/pypi/pyversions/revup"/>
<img alt="Python 3.8 | 3.9 | 3.10 | 3.11 | 3.12 | 3.13 | 3.14" src="https://img.shields.io/pypi/pyversions/revup"/>
<a href="https://pypi.org/project/revup/"><img alt="PyPI" src="https://img.shields.io/pypi/v/revup"/></a>
<a href="https://github.com/Skydio/revup/tree/main/LICENSE"><img alt="MIT License" src="https://img.shields.io/pypi/l/revup"/></a>
</p>
Expand Down Expand Up @@ -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.
Expand Down
6 changes: 4 additions & 2 deletions revup/git.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
from __future__ import annotations

import asyncio
import copy
import logging
import os
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

Expand Down Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading