Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 8 additions & 15 deletions .config/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
# tox run -e deps
ansi2html==1.9.2 # via molecule (pyproject.toml)
ansible-compat==25.1.4 # via ansible-lint, molecule (pyproject.toml)
ansible-lint==25.1.2 # via molecule (pyproject.toml)
ansible-lint==25.1.3 # via molecule (pyproject.toml)
astroid==3.3.8 # via pylint
attrs==25.1.0 # via jsonschema, referencing
babel==2.17.0 # via mkdocs-material
beautifulsoup4==4.13.3 # via linkchecker, mkdocs-htmlproofer-plugin
black==25.1.0 # via ansible-lint, molecule (pyproject.toml)
bracex==2.5.post1 # via wcmatch
build==1.2.2.post1 # via pip-tools
cachetools==5.5.1 # via tox
cairocffi==1.7.1 # via cairosvg
cairosvg==2.7.1 # via mkdocs-ansible
Expand All @@ -18,7 +17,7 @@ cffi==1.17.1 # via cairocffi, cryptography
cfgv==3.4.0 # via pre-commit
chardet==5.2.0 # via tox
charset-normalizer==3.4.1 # via requests
click==8.1.8 # via black, click-help-colors, mkdocs, pip-tools, pydoclint, molecule (pyproject.toml)
click==8.1.8 # via black, click-help-colors, mkdocs, pydoclint, molecule (pyproject.toml)
click-help-colors==0.9.4 # via molecule (pyproject.toml)
colorama==0.4.6 # via griffe, mkdocs-material, tox
coverage==7.6.12 # via molecule (pyproject.toml)
Expand Down Expand Up @@ -58,7 +57,7 @@ mccabe==0.7.0 # via pylint
mdurl==0.1.2 # via markdown-it-py
mergedeep==1.3.4 # via mkdocs, mkdocs-get-deps
mkdocs==1.6.1 # via mkdocs-ansible, mkdocs-autorefs, mkdocs-gen-files, mkdocs-htmlproofer-plugin, mkdocs-macros-plugin, mkdocs-material, mkdocs-minify-plugin, mkdocs-monorepo-plugin, mkdocstrings
mkdocs-ansible==24.12.0 # via molecule (pyproject.toml)
mkdocs-ansible==25.2.0 # via molecule (pyproject.toml)
mkdocs-autorefs==1.3.1 # via mkdocstrings, mkdocstrings-python
mkdocs-gen-files==0.5.0 # via mkdocs-ansible
mkdocs-get-deps==0.2.0 # via mkdocs, mkdocstrings
Expand All @@ -69,28 +68,25 @@ mkdocs-material-extensions==1.3.1 # via mkdocs-ansible, mkdocs-material
mkdocs-minify-plugin==0.8.0 # via mkdocs-ansible
mkdocs-monorepo-plugin==1.1.0 # via mkdocs-ansible
mkdocstrings==0.28.1 # via mkdocs-ansible, mkdocstrings-python
mkdocstrings-python==1.15.0 # via mkdocs-ansible
mkdocstrings-python==1.16.0 # via mkdocs-ansible
mypy==1.15.0 # via molecule (pyproject.toml)
mypy-extensions==1.0.0 # via black, mypy
nodeenv==1.9.1 # via pre-commit
packaging==24.2 # via ansible-compat, ansible-core, ansible-lint, black, build, mkdocs, mkdocs-macros-plugin, pipdeptree, pyproject-api, pytest, tox, molecule (pyproject.toml)
packaging==24.2 # via ansible-compat, ansible-core, ansible-lint, black, mkdocs, mkdocs-macros-plugin, pyproject-api, pytest, tox, molecule (pyproject.toml)
paginate==0.5.7 # via mkdocs-material
pathspec==0.12.1 # via ansible-lint, black, mkdocs, mkdocs-macros-plugin, yamllint
pexpect==4.9.0 # via molecule (pyproject.toml)
pillow==11.1.0 # via cairosvg, mkdocs-ansible
pip-tools==7.4.1 # via molecule (pyproject.toml)
pipdeptree==2.25.0 # via molecule (pyproject.toml)
platformdirs==4.3.6 # via black, mkdocs-get-deps, pylint, tox, virtualenv
pluggy==1.5.0 # via pytest, tox, molecule (pyproject.toml)
pre-commit==4.1.0 # via molecule (pyproject.toml)
ptyprocess==0.7.0 # via pexpect
pycparser==2.22 # via cffi
pydoclint==0.6.0 # via molecule (pyproject.toml)
pydoclint==0.6.2 # via molecule (pyproject.toml)
pygments==2.19.1 # via mkdocs-material, rich
pylint==3.3.4 # via molecule (pyproject.toml)
pymdown-extensions==10.14.3 # via markdown-exec, mkdocs-ansible, mkdocs-material, mkdocstrings
pyproject-api==1.9.0 # via tox
pyproject-hooks==1.2.0 # via build, pip-tools
pytest==8.3.4 # via pytest-instafail, pytest-mock, pytest-plus, pytest-testinfra, pytest-xdist, molecule (pyproject.toml)
pytest-instafail==0.5.0 # via molecule (pyproject.toml)
pytest-mock==3.14.0 # via molecule (pyproject.toml)
Expand All @@ -107,9 +103,7 @@ requests==2.32.3 # via docker, linkchecker, mkdocs-htmlproofer-plugin,
rich==13.9.4 # via enrich, molecule (pyproject.toml)
rpds-py==0.22.3 # via jsonschema, referencing
ruamel-yaml==0.18.10 # via ansible-lint
ruamel-yaml-clib==0.2.12 # via ruamel-yaml
ruff==0.9.6 # via molecule (pyproject.toml)
setuptools==75.8.0 # via pip-tools
six==1.17.0 # via python-dateutil
soupsieve==2.6 # via beautifulsoup4
subprocess-tee==0.4.2 # via ansible-compat, ansible-lint
Expand All @@ -118,7 +112,7 @@ termcolor==2.5.0 # via mkdocs-macros-plugin
text-unidecode==1.3 # via python-slugify
tinycss2==1.4.0 # via cairosvg, cssselect2
toml-sort==0.24.2 # via molecule (pyproject.toml)
tomli==2.2.1 # via black, build, coverage, mypy, pip-tools, pydoclint, pylint, pyproject-api, pytest, tox
tomli==2.2.1 # via black, coverage, mypy, pydoclint, pylint, pyproject-api, pytest, tox
tomlkit==0.13.2 # via pylint, toml-sort
tox==4.24.1 # via molecule (pyproject.toml)
types-jsonschema==4.23.0.20241208 # via molecule (pyproject.toml)
Expand All @@ -129,12 +123,11 @@ virtualenv==20.29.2 # via pre-commit, tox
watchdog==6.0.0 # via mkdocs
wcmatch==10.0 # via ansible-lint, molecule (pyproject.toml)
webencodings==0.5.1 # via cssselect2, tinycss2
wheel==0.45.1 # via pip-tools
yamllint==1.35.1 # via ansible-lint
zipp==3.21.0 # via importlib-metadata

# The following packages were excluded from the output:
# ansible-core
# pip
# resolvelib
# ruamel-yaml-clib
# typing-extensions
1 change: 0 additions & 1 deletion .config/requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
mkdocs-ansible>=24.3.0
pipdeptree>=2.4.0
linkchecker>=10.4.0
1 change: 0 additions & 1 deletion .config/requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ docker >= 7.1.0 # testing
filelock >= 3.9.0
mypy
pexpect >= 4.9.0, < 5
pip-tools
pre-commit
pydoclint
pylint
Expand Down
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ repos:
- id: pip-compile-upgrade
# To run it execute: `pre-commit run pip-compile-upgrade --hook-stage manual`
name: Upgrade constraints files and requirements
files: ^(pyproject\.toml|requirements\.txt)$
files: ^(pyproject\.toml|.config/.*)$
always_run: true
language: python
entry: python3 -m uv pip compile -q --all-extras --output-file=.config/constraints.txt pyproject.toml --upgrade
pass_filenames: false
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@ no-emit-package = [
"ansible-core",
"pip",
"resolvelib",
"ruamel-yaml-clib",
"typing_extensions",
"uv"
]
11 changes: 0 additions & 11 deletions tools/smoketest.sh

This file was deleted.

16 changes: 6 additions & 10 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
requires =
tox>=4.23.2
tox-uv>=1.20.1
tox-uv>=1.20.2
env_list =
py
deps
Expand Down Expand Up @@ -48,10 +48,7 @@ commands =
coverage xml --data-file={env:COVERAGE_COMBINED} -o {envdir}/coverage.xml --fail-under=0
coverage lcov --data-file={env:COVERAGE_COMBINED} -o {toxinidir}/.cache/.coverage/lcov.info --fail-under=0
coverage report --data-file={env:COVERAGE_COMBINED}
commands_post =
git clean -f -d
allowlist_externals =
git
rm
sh

Expand All @@ -64,8 +61,8 @@ deps =
extras =
commands_pre =
commands =
-pre-commit run --all-files --show-diff-on-failure --hook-stage manual deps
-pre-commit autoupdate
pre-commit run --all-files --show-diff-on-failure --hook-stage manual pip-compile-upgrade
pre-commit autoupdate
git diff --exit-code
env_dir = {toxworkdir}/lint

Expand Down Expand Up @@ -119,14 +116,13 @@ package = editable
pip_pre = true
deps =
molecule-plugins[azure,containers,docker,ec2,gce,podman,vagrant]>=23
pipdeptree>=2
tox-ansible>=1.5.1
uv
extras =
test
commands_pre =
commands =
pip check
pipdeptree --reverse -e pip,pbr,six,setuptools,toml,urllib3
uv pip check
uv pip tree --invert
molecule --version
molecule drivers
sh -c ./tools/smoketest.sh