Skip to content

Commit dd1ac15

Browse files
committed
Remove Python 3.8 and 3.9 support
1 parent 59c301d commit dd1ac15

File tree

10 files changed

+295
-1222
lines changed

10 files changed

+295
-1222
lines changed

.github/workflows/main.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
name: linters
88
strategy:
99
matrix:
10-
python-version: [ '3.9' ]
10+
python-version: [ '3.13' ]
1111
platform: [ubuntu-latest]
1212
runs-on: ${{ matrix.platform }}
1313
steps:
@@ -35,7 +35,7 @@ jobs:
3535
strategy:
3636
fail-fast: false
3737
matrix:
38-
python-version: [ '3.9', '3.10', '3.11', '3.12' ]
38+
python-version: [ '3.10', '3.11', '3.12', '3.13' ]
3939
platform: [ubuntu-latest, macos-13, windows-latest]
4040
runs-on: ${{ matrix.platform }}
4141
steps:
@@ -61,7 +61,7 @@ jobs:
6161
strategy:
6262
fail-fast: false
6363
matrix:
64-
python-version: [ '3.9', '3.10', '3.11', '3.12' ]
64+
python-version: [ '3.10', '3.11', '3.12', '3.13' ]
6565
platform: [ubuntu-latest, macos-13, windows-latest]
6666
extra: [ 'jinja', 'ttp', 'jsonpatch']
6767
runs-on: ${{ matrix.platform }}
@@ -92,7 +92,7 @@ jobs:
9292
uses: astral-sh/setup-uv@v6
9393
with:
9494
enable-cache: true
95-
python-version: "3.9"
95+
python-version: "3.13"
9696

9797
- name: prepare release
9898
run: make fiximageurls

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG PYTHON
2-
FROM python:3.9
2+
FROM python:3.13
33

44
WORKDIR /workspace
55

pyproject.toml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@ authors = [{ name = "ubaumann", email = "[email protected]" }]
77
license = { text = "Apache 2.0" }
88
classifiers = [
99
"License :: OSI Approved :: Apache Software License",
10-
"Programming Language :: Python :: 3.8",
11-
"Programming Language :: Python :: 3.9",
1210
"Programming Language :: Python :: 3.10",
1311
"Programming Language :: Python :: 3.11",
1412
"Programming Language :: Python :: 3.12",
13+
"Programming Language :: Python :: 3.13",
1514
]
16-
requires-python = ">=3.8"
15+
requires-python = ">=3.10"
1716
dependencies = [
1817
"typer>=0.9",
1918
"rich>=12,>=13",
@@ -90,7 +89,7 @@ dev = [
9089
]
9190

9291
[tool.mypy]
93-
python_version = "3.8"
92+
python_version = "3.13"
9493
check_untyped_defs = true
9594
disallow_any_generics = true
9695
disallow_untyped_calls = true
@@ -108,3 +107,11 @@ warn_redundant_casts = true
108107
[[tool.mypy.overrides]]
109108
module = "nornir.core"
110109
ignore_errors = true
110+
111+
[tool.pytest.ini_options]
112+
markers = [
113+
"jinja",
114+
"jsonpatch",
115+
"ttp",
116+
"yaml",
117+
]

tests/test_ipaddress_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from typer.testing import CliRunner
22
from nettowel.cli.ip import app
33

4-
runner = CliRunner(mix_stderr=False)
4+
runner = CliRunner()
55

66

77
def test_help() -> None:

tests/test_jinja_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from nettowel.cli.jinja import app
44

55
pytestmark = pytest.mark.jinja
6-
runner = CliRunner(mix_stderr=False)
6+
runner = CliRunner()
77

88

99
def test_help() -> None:

tests/test_jsonpatch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from nettowel.cli.jsonpatch import app
77

88
pytestmark = pytest.mark.jsonpatch
9-
runner = CliRunner(mix_stderr=False)
9+
runner = CliRunner()
1010

1111

1212
def test_help() -> None:

tests/test_main_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from typer.testing import CliRunner
33
from nettowel.cli.main import app
44

5-
runner = CliRunner(mix_stderr=False)
5+
runner = CliRunner()
66

77

88
def test_help() -> None:

tests/test_ttp_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from nettowel.cli.ttp import app
44

55
pytestmark = pytest.mark.ttp
6-
runner = CliRunner(mix_stderr=False)
6+
runner = CliRunner()
77

88

99
def test_help() -> None:

tests/test_yaml_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from nettowel.cli.yaml import app
44

55
pytestmark = pytest.mark.yaml
6-
runner = CliRunner(mix_stderr=False)
6+
runner = CliRunner()
77

88

99
def test_help() -> None:

uv.lock

Lines changed: 273 additions & 1207 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)