Skip to content

Commit

Permalink
Fixing issues with 3.9 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
coordt committed Jan 27, 2025
1 parent 6c856b6 commit cd2b193
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Test

on:
pull_request:
Expand Down
2 changes: 1 addition & 1 deletion bumpversion/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def run_command(command: list, env: Optional[dict] = None) -> CompletedProcess:
return result


def is_subpath(parent: Path | str, path: Path | str) -> bool:
def is_subpath(parent: Union[Path, str], path: Union[Path, str]) -> bool:
"""Return whether a path is inside the parent."""
normalized_parent = Path(parent)
normalized_path = Path(path)
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ 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",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Version Control",
"Topic :: System :: Software Distribution",
]
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"
license = { file = "LICENSE" }
keywords = ["bumpversion", "version", "release"]
dynamic = ["version"]
Expand Down

0 comments on commit cd2b193

Please sign in to comment.