Skip to content

Commit

Permalink
Change: Drop support for Python 3.8 and support Python 3.12
Browse files Browse the repository at this point in the history
Require Python 3.9 as a minimum.
  • Loading branch information
bjoernricks committed Oct 18, 2023
1 parent 423486e commit 3f17d43
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"

name: Check and test
uses: greenbone/workflows/.github/workflows/ci-python.yml@main
Expand Down
16 changes: 5 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,21 @@ classifiers = [
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Environment :: Console",
"Intended Audience :: Developers",
"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",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
]
packages = [
{ include = "autohooks" },
{ include = "poetry.lock", format = "sdist"},
]
keywords = [
"git",
"formatting",
"linting",
"hooks",
"black",
{ include = "poetry.lock", format = "sdist" },
]
keywords = ["git", "formatting", "linting", "hooks", "black"]

[tool.poetry.dependencies]
python = "^3.8"
python = "^3.9"
black = ">=20.8"
autohooks = ">=21.6.0"

Expand All @@ -52,7 +46,7 @@ pontos = ">=22.5.0"

[tool.black]
line-length = 80
target-version = ['py38', 'py39', 'py310', 'py311']
target-version = ['py39', 'py310', 'py311', 'py312']
exclude = '''
/(
\.git
Expand Down

0 comments on commit 3f17d43

Please sign in to comment.