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 64f0718 commit ad151e3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 18 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ jobs:
strategy:
matrix:
python-version:
- "3.7"
- "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
24 changes: 8 additions & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,41 +18,33 @@ classifiers = [
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Environment :: Console",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.7",
"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"},
{ include = "poetry.toml", format = "sdist"},
]
keywords = [
"git",
"formatting",
"hooks",
"isort",
{ include = "poetry.lock", format = "sdist" },
]
keywords = ["git", "formatting", "hooks", "isort"]

[tool.poetry.dependencies]
python = "^3.7"
isort = "^5.8.0"
python = "^3.9"
isort = ">=5.8.0"
autohooks = ">=21.6.0"

[tool.poetry.dev-dependencies]
autohooks-plugin-pylint = ">=21.6.0"
autohooks-plugin-black = ">=22.7.0"
coverage = "^7.2.7"
coverage = ">=7.2.7"
pontos = ">=22.7.2"
mypy = "^1.4"

[tool.black]
line-length = 80
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
target-version = ['py39', 'py310', 'py311', 'py312']
exclude = '''
/(
\.git
Expand All @@ -71,7 +63,7 @@ mode = "poetry"
pre-commit = [
'autohooks.plugins.black',
'autohooks.plugins.isort',
'autohooks.plugins.pylint'
'autohooks.plugins.pylint',
]

[tool.pontos.version]
Expand Down

0 comments on commit ad151e3

Please sign in to comment.