Skip to content

Commit b4c560d

Browse files
authored
Merge branch 'main' into patch-1
2 parents b1301c9 + 4aaf7be commit b4c560d

File tree

16 files changed

+657
-532
lines changed

16 files changed

+657
-532
lines changed

.config/dictionary.txt

Lines changed: 10 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,3 @@
1-
Chamoulaud
2-
Codeclimate
3-
FQCN
4-
FQCNs
5-
LIBYAML
6-
LINEINFILE
7-
Lineinfile
8-
Lintable
9-
MYSQLD
10-
NODEPS
11-
Octals
12-
PYTHONBREAKPOINT
13-
PYTHONIOENCODING
14-
PYTHONPYCACHEPREFIX
15-
Parseable
16-
Representer
17-
SARIF
18-
Sarif
19-
Sbarnea
20-
Sorin
21-
Tsukinowa
22-
WSLENV
231
alertmanager
242
ansiblelint
253
apport
@@ -29,6 +7,7 @@ blockinfile
297
bracketsmatchtest
308
bracketsmatchtestfile
319
cachier
10+
chamoulaud
3211
codeclimate
3312
codespell
3413
deannotate
@@ -43,6 +22,7 @@ filesspot
4322
firewalld
4423
fontawesome
4524
fqcn
25+
fqcns
4626
geerlingguy
4727
getmatches
4828
gplv
@@ -60,6 +40,7 @@ lintable
6040
lintables
6141
matchyaml
6242
mockings
43+
mysqld
6344
netcommon
6445
nodeps
6546
nomatchestest
@@ -72,17 +53,21 @@ pfexec
7253
plainexamples
7354
pmrun
7455
pymdownx
56+
pythonbreakpoint
57+
pythonioencoding
58+
pythonpycacheprefix
7559
redirections
7660
reformatter
7761
releasenotes
78-
representer
7962
rulebooks
8063
runas
8164
sarif
65+
sbarnea
8266
seealso
8367
sesu
8468
simplifiable
8569
slackpkg
70+
sorin
8671
ssbarnea
8772
sudosu
8873
supervisorctl
@@ -96,6 +81,7 @@ timesyncd
9681
tmpfs
9782
tombi
9883
tomlsort
84+
tsukinowa
9985
typehints
10086
uncook
10187
unjinja
@@ -105,5 +91,6 @@ untemplated
10591
virtnet
10692
willthames
10793
workerinput
94+
wslenv
10895
xdist
10996
yatesr

.config/requirements-lock.txt

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
# This file was autogenerated by uv via the following command:
22
# uv export --no-dev --no-emit-package ansible-core --no-emit-package resolvelib --no-emit-package ruamel-yaml-clib --no-emit-package tomli --no-emit-package typing-extensions --no-emit-project --no-hashes -o .config/requirements-lock.txt
3-
ansible-compat==25.8.2
3+
ansible-compat==25.12.0
44
# via ansible-lint
55
attrs==25.4.0
66
# via
77
# jsonschema
88
# referencing
9-
black==25.9.0
9+
black==25.11.0
1010
# via ansible-lint
1111
bracex==2.6
1212
# via wcmatch
1313
cffi==2.0.0
1414
# via
1515
# ansible-lint
1616
# cryptography
17-
click==8.3.0
17+
click==8.3.1
1818
# via black
1919
colorama==0.4.6 ; sys_platform == 'win32'
2020
# via click
@@ -26,8 +26,6 @@ distro==1.9.0
2626
# via ansible-lint
2727
filelock==3.20.0
2828
# via ansible-lint
29-
importlib-metadata==8.7.0
30-
# via ansible-lint
3129
jinja2==3.1.6
3230
# via ansible-core
3331
jsonschema==4.25.1
@@ -68,7 +66,7 @@ referencing==0.37.0
6866
# ansible-lint
6967
# jsonschema
7068
# jsonschema-specifications
71-
rpds-py==0.28.0
69+
rpds-py==0.30.0
7270
# via
7371
# jsonschema
7472
# referencing
@@ -82,5 +80,3 @@ wcmatch==10.1
8280
# via ansible-lint
8381
yamllint==1.37.1
8482
# via ansible-lint
85-
zipp==3.23.0
86-
# via importlib-metadata

.github/workflows/redirects.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
environment: release
1919
runs-on: ubuntu-24.04
2020
steps:
21-
- uses: actions/checkout@v5
21+
- uses: actions/checkout@v6
2222
- uses: actions/setup-python@v6
2323

2424
- name: Upgrade Python toolchain

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: python3 -m pip install --user "tox>=4.0.0"
4444

4545
- name: Check out src from Git
46-
uses: actions/checkout@v5
46+
uses: actions/checkout@v6
4747
with:
4848
fetch-depth: 0 # needed by setuptools-scm
4949
submodules: true

.pre-commit-config.yaml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ repos:
3030
hooks:
3131
- id: check-useless-excludes
3232
- repo: https://github.com/astral-sh/uv-pre-commit
33-
rev: 0.9.7
33+
rev: 0.9.13
3434
hooks:
3535
- id: uv-sync
3636
- id: uv-lock
@@ -58,14 +58,14 @@ repos:
5858
- "-o"
5959
- ".config/requirements-lock.txt"
6060
- repo: https://github.com/biomejs/pre-commit
61-
rev: "v2.3.2"
61+
rev: "v2.3.8"
6262
hooks:
6363
- id: biome-check
6464
name: biome
6565
alias: biome
6666
args: [--unsafe]
6767
- repo: https://github.com/streetsidesoftware/cspell-cli
68-
rev: v9.2.1
68+
rev: v9.3.3
6969
hooks:
7070
- id: cspell
7171
entry: bash
@@ -75,11 +75,11 @@ repos:
7575
"-euo",
7676
"pipefail",
7777
"-c",
78-
"cspell-cli . --relative --no-progress --no-summary && cspell-cli . --disable-dictionary=words --no-exit-code --words-only --quiet --unique | LC_ALL=C sort > .config/dictionary.txt",
78+
"cspell-cli . --relative --no-progress --no-summary && cspell-cli . --disable-dictionary=words --no-exit-code --words-only --quiet --unique | tr '[:upper:]' '[:lower:]' | LC_ALL=C sort -u > .config/dictionary.txt",
7979
]
8080
name: cspell + remove unused and sort dictionary
8181
- repo: https://github.com/python-jsonschema/check-jsonschema
82-
rev: 0.34.1
82+
rev: 0.35.0
8383
hooks:
8484
- id: check-github-workflows
8585
- repo: https://github.com/pre-commit/pre-commit-hooks.git
@@ -145,15 +145,15 @@ repos:
145145
entry: yamllint --strict
146146

147147
- repo: https://github.com/tombi-toml/tombi-pre-commit
148-
rev: v0.6.40
148+
rev: v0.7.0
149149
hooks:
150150
- id: tombi-format
151151
alias: toml
152152
- id: tombi-lint
153153
alias: toml
154154

155155
- repo: https://github.com/astral-sh/ruff-pre-commit
156-
rev: v0.14.3
156+
rev: v0.14.7
157157
hooks:
158158
- id: ruff-format
159159
alias: ruff
@@ -171,7 +171,6 @@ repos:
171171
- black>=22.10.0
172172
- cryptography>=39.0.1
173173
- filelock>=3.12.2
174-
- importlib_metadata
175174
- jinja2
176175
- license-expression >= 30.3.0
177176
- pip>=22.3.1
@@ -191,7 +190,7 @@ repos:
191190
- id: pyright
192191
additional_dependencies: *deps
193192
- repo: https://github.com/pycqa/pylint
194-
rev: v4.0.2
193+
rev: v4.0.3
195194
hooks:
196195
- id: pylint
197196
args:
@@ -201,6 +200,10 @@ repos:
201200
rev: v2.14
202201
hooks:
203202
- id: vulture
203+
- repo: https://github.com/ansible/team-devtools
204+
rev: v25.12.8
205+
hooks:
206+
- id: check-platform-constraints
204207
- # keep at bottom as these are slower
205208
repo: local
206209
hooks:

package-lock.json

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

pyproject.toml

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,17 @@ classifiers = [
3434
]
3535
dependencies = [
3636
"ansible-compat>=25.8.2",
37-
"ansible-core>=2.17.10",
37+
"ansible-core>=2.16.14",
3838
"black>=24.3.0",
39-
"cffi>=1.17.1", # indirect dependency of ruamel-yaml
39+
"cffi>=1.15.1", # indirect dependency of ruamel-yaml
4040
"cryptography>=38",
4141
"distro>=1.9.0",
4242
"filelock>=3.8.2",
43-
"importlib-metadata>=8.7.0",
4443
"jsonschema>=4.10.0",
4544
"packaging>=22.0",
4645
"pathspec>=0.10.3",
47-
"pyyaml>=6.0.2 ; python_version < '3.14'",
48-
"pyyaml>=6.0.3 ; python_version >= '3.14'", # py314 support
46+
"pyyaml>=6.0.1 ; python_version < '3.14'",
47+
"pyyaml>=6.0.1 ; python_version >= '3.14'", # py314 support
4948
"referencing>=0.36.2",
5049
"ruamel-yaml>=0.18.11",
5150
"ruamel-yaml-clib>=0.2.12 ; python_version < '3.14'",
@@ -83,13 +82,13 @@ dev = [
8382
"psutil>=7.0.0",
8483
"pylint>=3.3.8",
8584
"pyrsistent>=0.20.0",
86-
"pytest>=7.2.2",
85+
"pytest>=9",
8786
"pytest-instafail>=0.5.0",
8887
"pytest-mock>=3.15.0",
8988
"pytest-plus>=0.8.1",
9089
"pytest-sugar>=1.1.1",
9190
"pytest-xdist[psutil,setproctitle]>=2.1.0",
92-
"pyyaml>=6.0.2",
91+
"pyyaml>=6.0.1",
9392
"ruamel-yaml>=0.18.11",
9493
"ruamel-yaml-clib>=0.2.12 ; python_full_version < '3.14'",
9594
"tox>=4.24.2",
@@ -103,7 +102,7 @@ lint = [
103102
"pip>=25.2",
104103
"pre-commit>=4.1",
105104
"pre-commit-uv>=4.1.4",
106-
"pytest>=7.2.2",
105+
"pytest>=9",
107106
"setuptools>=51.1.1",
108107
]
109108
pkg = [
@@ -461,19 +460,15 @@ reportPossiblyUnboundVariable = false
461460
reportPrivateImportUsage = false
462461

463462
# spell-checker:ignore filterwarnings norecursedirs optionflags
464-
[tool.pytest.ini_options]
463+
[tool.pytest]
465464
# do not add options here as this will likely break either console runs or IDE
466465
# integration like vscode or pycharm
467-
addopts = "-p no:pytest_cov --durations=10 --failed-first"
466+
addopts = ["--durations=10", "--failed-first", "-p no:pytest_cov"]
468467
doctest_optionflags = ["ALLOW_UNICODE", "ELLIPSIS"]
469468
filterwarnings = [
470-
"error",
471-
# https://sourceforge.net/p/ruamel-yaml/tickets/452/
472-
"ignore:Deprecated call to `pkg_resources.declare_namespace:DeprecationWarning",
473-
# https://github.com/spdx/tools-python/issues/507
474-
"ignore:pkg_resources is deprecated as an API:DeprecationWarning",
475469
# We raise one non critical warning from our own conftest.py:
476470
"always::pytest.PytestWarning",
471+
"error",
477472
# py312 ansible-core
478473
# https://github.com/ansible/ansible/issues/81906
479474
"ignore:'importlib.abc.TraversableResources' is deprecated and slated for removal in Python 3.14:DeprecationWarning",
@@ -492,11 +487,11 @@ norecursedirs = [
492487
".cache",
493488
".config",
494489
".eggs",
490+
".eggs",
495491
".git",
496492
".github",
497493
".mypy_cache",
498494
".projects",
499-
".eggs",
500495
".tox",
501496
"__pycache__",
502497
"ansible_collections",
@@ -511,17 +506,17 @@ norecursedirs = [
511506
"test/schemas",
512507
]
513508
python_files = [
514-
"test_*.py",
515509
# Ref: https://docs.pytest.org/en/latest/reference.html#confval-python_files
516510
# Needed to discover legacy nose test modules:
517511
"Test*.py",
518512
# Needed to discover embedded Rule tests
519513
"rules/*.py",
514+
"test_*.py",
520515
]
521516
# Using --pyargs instead of testpath as we embed some tests
522517
# See: https://github.com/pytest-dev/pytest/issues/6451#issuecomment-687043537
523518
# testpaths =
524-
xfail_strict = true
519+
strict_xfail = true
525520

526521
[tool.ruff]
527522
cache-dir = "./.cache/.ruff"

0 commit comments

Comments
 (0)