Skip to content

Commit 11cb3c5

Browse files
bjoernricksgreenbonebot
authored andcommitted
Change: Require Python >= 3.10 and support Python 3.14
Python 3.9 is End-of-Life and it's already not supported anymore by many libraries.
1 parent c83200e commit 11cb3c5

3 files changed

Lines changed: 17 additions & 146 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
strategy:
1414
matrix:
1515
python-version:
16-
- "3.9"
1716
- "3.10"
1817
- "3.11"
1918
- "3.12"
2019
- "3.13"
20+
- "3.14"
2121
steps:
2222
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2323
- name: Check and lint python packages
@@ -34,11 +34,11 @@ jobs:
3434
strategy:
3535
matrix:
3636
python-version:
37-
- "3.9"
3837
- "3.10"
3938
- "3.11"
4039
- "3.12"
4140
- "3.13"
41+
- "3.14"
4242
steps:
4343
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4444
- name: Set up Python ${{ matrix.python-version }}
@@ -55,11 +55,11 @@ jobs:
5555
strategy:
5656
matrix:
5757
python-version:
58-
- "3.9"
5958
- "3.10"
6059
- "3.11"
6160
- "3.12"
6261
- "3.13"
62+
- "3.14"
6363
steps:
6464
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6565
- name: Set up Python ${{ matrix.python-version }}

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ name = "python-gvm"
77
version = "26.11.2.dev1"
88
description = "Library to communicate with remote servers over GMP or OSP"
99
authors = [{ name = "Greenbone AG", email = "info@greenbone.net" }]
10-
requires-python = ">=3.9.2,<4"
10+
requires-python = ">=3.10,<4"
1111
readme = "README.md"
1212
license = "GPL-3.0-or-later"
1313
classifiers = [
1414
"Development Status :: 5 - Production/Stable",
1515
"Environment :: Console",
1616
"Intended Audience :: Developers",
1717
"Programming Language :: Python :: 3",
18-
"Programming Language :: Python :: 3.9",
1918
"Programming Language :: Python :: 3.10",
2019
"Programming Language :: Python :: 3.11",
2120
"Programming Language :: Python :: 3.12",
2221
"Programming Language :: Python :: 3.13",
22+
"Programming Language :: Python :: 3.14",
2323
"Operating System :: OS Independent",
2424
"Topic :: Software Development :: Libraries :: Python Modules",
2525
]
@@ -56,7 +56,7 @@ wheel-exclude = ["tests"]
5656

5757
[tool.black]
5858
line-length = 80
59-
target-version = ['py39', 'py310', 'py311', 'py312', 'py313']
59+
target-version = ['py310', 'py311', 'py312', 'py313', 'py314']
6060
exclude = '''
6161
/(
6262
\.git
@@ -72,7 +72,7 @@ exclude = '''
7272

7373
[tool.ruff]
7474
line-length = 80
75-
target-version = "py39"
75+
target-version = "py310"
7676

7777
[tool.ruff.lint]
7878
extend-select = ["I", "PLE", "PLW"]
@@ -172,7 +172,7 @@ commit_parsers = [
172172
{ message = "^[d|D]oc", group = "<!-- 5 -->:books: Documentation" },
173173
{ message = "^[t|T]est", group = "<!-- 6 -->:white_check_mark: Testing" },
174174
{ message = "^[c|C]hore", group = "<!-- 7 -->:wrench: Miscellaneous" },
175-
{ message = "^[c|C]i", group = "<!-- 7 -->:wrench: Miscellaneous" },
175+
{ message = "^[c|C]i", group = "<!-- 7 -->:wrench: Miscellaneous" },
176176
{ message = "^[m|M]isc", group = "<!-- 7 -->:wrench: Miscellaneous" },
177177
{ message = "^[d|D]eps", group = "<!-- 8 -->:ship: Dependencies" },
178178
]

0 commit comments

Comments
 (0)