Skip to content

Commit

Permalink
Merge pull request #297 from callowayproject/296-python-38-support
Browse files Browse the repository at this point in the history
Fix Python 3.8 support
  • Loading branch information
coordt authored Feb 10, 2025
2 parents 4c7de4d + e1fb9fa commit 3ce578e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- ubuntu-latest
- windows-latest
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
Expand Down
4 changes: 2 additions & 2 deletions bumpversion/aliases.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import rich_click as click
from click import Context
from rich_click.rich_group import RichGroup
from rich_click.rich_command import RichGroup

from bumpversion.ui import print_warning

Expand All @@ -13,7 +13,7 @@ class AliasedGroup(RichGroup):
"""
This following example implements a subclass of Group that accepts a prefix for a command.
If there were a command called ``push``, it would accept ``pus`` as an alias (so long as it was unique)
If there were a command called `push`, it would accept `pus` as an alias (so long as it was unique)
"""

def get_command(self, ctx: Context, cmd_name: str) -> Optional[click.Command]: # type: ignore[return]
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -27,7 +28,7 @@ classifiers = [
"Topic :: System :: Software Distribution",
]
readme = "README.md"
requires-python = ">=3.9"
requires-python = ">=3.8"
license = { file = "LICENSE" }
keywords = ["bumpversion", "version", "release"]
dynamic = ["version"]
Expand Down

0 comments on commit 3ce578e

Please sign in to comment.