File tree Expand file tree Collapse file tree 6 files changed +18
-14
lines changed Expand file tree Collapse file tree 6 files changed +18
-14
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ jobs:
18
18
TOXENV : pkg
19
19
20
20
steps :
21
- - name : Switch to using Python 3.9 by default
21
+ - name : Switch to using Python 3.10 by default
22
22
uses : actions/setup-python@v5
23
23
with :
24
- python-version : 3.9
24
+ python-version : 3.10
25
25
26
26
- name : Install tox
27
27
run : python3 -m pip install --user "tox>=4.0.0"
Original file line number Diff line number Diff line change @@ -28,12 +28,13 @@ jobs:
28
28
id : generate_matrix
29
29
uses : coactions/dynamic-matrix@v1
30
30
with :
31
- min_python : " 3.9"
32
- max_python : " 3.11"
31
+ default_python : " 3.10"
32
+ min_python : " 3.10"
33
+ max_python : " 3.12"
33
34
other_names : |
34
35
lint
35
36
docs
36
- # platforms: linux,macos
37
+ platforms : linux,macos
37
38
38
39
build :
39
40
name : ${{ matrix.name }}
@@ -70,11 +71,11 @@ jobs:
70
71
examples/playbooks/collections/ansible_collections
71
72
key : galaxy-${{ hashFiles('examples/playbooks/collections/requirements.yml') }}
72
73
73
- - name : Set up Python ${{ matrix.python_version || '3.9 ' }}
74
+ - name : Set up Python ${{ matrix.python_version || '3.10 ' }}
74
75
uses : actions/setup-python@v5
75
76
with :
76
77
cache : pip
77
- python-version : ${{ matrix.python_version || '3.9 ' }}
78
+ python-version : ${{ matrix.python_version || '3.10 ' }}
78
79
79
80
- name : Install tox
80
81
run : |
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ repos:
118
118
entry : pip-compile --upgrade --resolver=backtracking -q --no-annotate --output-file=.config/requirements.txt pyproject.toml --strip-extras --unsafe-package ruamel-yaml-clib
119
119
files : ^.config\/requirements.*$
120
120
language : python
121
- language_version : " 3.9 " # minimal we support officially
121
+ language_version : " 3.10 " # minimal we support officially
122
122
pass_filenames : false
123
123
stages : [manual]
124
124
additional_dependencies :
@@ -130,7 +130,7 @@ repos:
130
130
entry : pip-compile --resolver=backtracking -q --no-annotate --output-file=.config/requirements.txt pyproject.toml --strip-extras --unsafe-package ruamel-yaml-clib
131
131
files : ^.config\/requirements.*$
132
132
language : python
133
- language_version : " 3.9 " # minimal we support officially
133
+ language_version : " 3.10 " # minimal we support officially
134
134
pass_filenames : false
135
135
additional_dependencies :
136
136
- pip>=22.3.1
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ repo_url: https://github.com/ansible/mkdocs-ansible
11
11
edit_uri : blob/main/docs/
12
12
13
13
# Copyright
14
- copyright : Copyright 2023 Red Hat Inc
14
+ copyright : Copyright 2024 Red Hat Inc
15
15
16
16
# Configuration
17
17
theme :
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ requires = [
7
7
build-backend = " setuptools.build_meta"
8
8
9
9
[project ]
10
- requires-python = " >=3.9 "
10
+ requires-python = " >=3.10 "
11
11
dynamic = [" version" , " dependencies" , " optional-dependencies" ]
12
12
name = " mkdocs-ansible"
13
13
description = " Ansible MkDocs Theme based on mkdocs-material"
@@ -22,6 +22,9 @@ classifiers = [
22
22
" License :: OSI Approved :: MIT License" ,
23
23
" Programming Language :: JavaScript" ,
24
24
" Programming Language :: Python" ,
25
+ ' Programming Language :: Python :: 3.10' ,
26
+ ' Programming Language :: Python :: 3.11' ,
27
+ ' Programming Language :: Python :: 3.12' ,
25
28
" Topic :: Documentation" ,
26
29
" Topic :: Software Development :: Documentation" ,
27
30
" Topic :: Text Processing :: Markup :: HTML" ,
@@ -39,7 +42,7 @@ ansible = "mkdocs_ansible"
39
42
40
43
[tool .mypy ]
41
44
strict = true
42
- python_version = " 3.9 "
45
+ python_version = " 3.10 "
43
46
warn_unused_configs = true
44
47
exclude = [' build' ]
45
48
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ allowlist_externals =
39
39
description = Run all linters
40
40
# pip compile includes python version in output constraints, so we want to
41
41
# be sure that version does not change randomly.
42
- basepython = python3.9
42
+ basepython = python3.10
43
43
deps =
44
44
pre-commit>=2.6.0
45
45
setuptools>=51.1.1
@@ -59,7 +59,7 @@ description = Bump all test dependencies
59
59
# we reuse the lint environment
60
60
envdir = {toxworkdir}/lint
61
61
skip_install = true
62
- basepython = python3.9
62
+ basepython = python3.10
63
63
deps =
64
64
{[testenv:lint]deps}
65
65
setenv =
You can’t perform that action at this time.
0 commit comments