Skip to content

Commit d4a7cd0

Browse files
committed
Remove Python 3.9 and 3.8 support: update CI, pyproject.toml, and setup.py to require Python 3.10+ and drop 3.8/3.9 classifiers.
1 parent d44aca1 commit d4a7cd0

4 files changed

Lines changed: 5 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-latest, windows-latest, macos-latest]
15-
python-version: ['3.9', '3.10', '3.11', '3.12']
15+
python-version: ['3.10', '3.11', '3.12']
1616

1717
steps:
1818
- uses: actions/checkout@v4

git_safe/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,8 @@ def _git_filter_diff(filename: str) -> int:
563563
def create_parser() -> argparse.ArgumentParser:
564564
"""Create the argument parser."""
565565
parser = argparse.ArgumentParser(
566-
prog="git-safe", description="Effortless file encryption for your git repos—pattern-matched, secure, and keyfile-flexible."
566+
prog="git-safe",
567+
description="Effortless file encryption for your git repos—pattern-matched, secure, and keyfile-flexible.",
567568
)
568569

569570
subparsers = parser.add_subparsers(dest="command", help="Available commands")

pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,12 @@ authors = [
1111
description = "Effortless file encryption for your git repos—pattern-matched, secure, and keyfile-flexible."
1212
readme = "README.md"
1313
license = {text = "MIT"}
14-
requires-python = ">=3.9"
14+
requires-python = ">=3.10"
1515
classifiers = [
1616
"Development Status :: 4 - Beta",
1717
"Intended Audience :: Developers",
1818
"License :: OSI Approved :: MIT License",
1919
"Operating System :: OS Independent",
20-
"Programming Language :: Python :: 3",
21-
"Programming Language :: Python :: 3.8",
22-
"Programming Language :: Python :: 3.9",
2320
"Programming Language :: Python :: 3.10",
2421
"Programming Language :: Python :: 3.11",
2522
"Programming Language :: Python :: 3.12",

setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@
2727
"Intended Audience :: Developers",
2828
"License :: OSI Approved :: MIT License",
2929
"Operating System :: OS Independent",
30-
"Programming Language :: Python :: 3",
31-
"Programming Language :: Python :: 3.8",
32-
"Programming Language :: Python :: 3.9",
3330
"Programming Language :: Python :: 3.10",
3431
"Programming Language :: Python :: 3.11",
3532
"Programming Language :: Python :: 3.12",
@@ -38,7 +35,7 @@
3835
"Topic :: System :: Archiving :: Backup",
3936
"Topic :: Utilities",
4037
],
41-
python_requires=">=3.8",
38+
python_requires=">=3.10",
4239
install_requires=requirements,
4340
extras_require={
4441
"dev": [

0 commit comments

Comments
 (0)