From ab62d9a3f028024185396a5b840a3f2387f6a2b2 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Tue, 8 Oct 2024 17:35:50 +0100 Subject: [PATCH] POC: Add ansible-rulebook as part of ansible-dev-tools package Fixes: #242 --- .config/constraints.txt | 23 ++++++++++++++++++++--- .config/requirements-lock.txt | 19 +++++++++++++++++++ .config/requirements.in | 1 + .pre-commit-config.yaml | 4 ++-- 4 files changed, 42 insertions(+), 5 deletions(-) diff --git a/.config/constraints.txt b/.config/constraints.txt index c59c7e2..12ce71f 100644 --- a/.config/constraints.txt +++ b/.config/constraints.txt @@ -4,6 +4,9 @@ # # pip-compile --all-extras --no-annotate --output-file=.config/constraints.txt --strip-extras --unsafe-package=ansible-dev-tools --unsafe-package=distribute --unsafe-package=pip --unsafe-package=setuptools .config/requirements.in pyproject.toml # +aiohappyeyeballs==2.4.3 +aiohttp==3.10.9 +aiosignal==1.3.1 ansible-builder==3.1.0 ansible-compat==24.9.1 ansible-core==2.17.4 @@ -11,13 +14,14 @@ ansible-creator==24.9.0 ansible-dev-environment==24.9.0 ansible-lint==24.9.2 ansible-navigator==24.9.0 +ansible-rulebook==1.1.1 ansible-runner==2.4.0 ansible-sign==0.1.1 asgiref==3.8.1 astroid==3.3.5 +async-timeout==4.0.3 attrs==24.2.0 babel==2.16.0 -backports-strenum==1.3.1 beautifulsoup4==4.12.3 bindep==2.11.0 black==24.8.0 @@ -48,10 +52,13 @@ django-stubs-ext==5.1.0 dnspython==2.7.0 docstring-parser-fork==0.0.9 docutils==0.21.2 +dpath==2.2.0 +drools-jpy==0.3.9 enrich==1.2.7 exceptiongroup==1.2.2 execnet==2.1.1 filelock==3.16.1 +frozenlist==1.4.1 ghp-import==2.1.0 griffe==1.3.2 gunicorn==23.0.0 @@ -62,7 +69,9 @@ importlib-metadata==8.5.0 iniconfig==2.0.0 isodate==0.6.1 isort==5.13.2 +janus==1.0.0 jinja2==3.1.4 +jpy==0.18.0 jsmin==3.0.1 jsonschema==4.23.0 jsonschema-path==0.3.3 @@ -79,7 +88,7 @@ markupsafe==2.1.5 mccabe==0.7.0 mdurl==0.1.2 mergedeep==1.3.4 -mkdocs==1.6.0 +mkdocs==1.6.1 mkdocs-ansible==24.3.1 mkdocs-autorefs==1.2.0 mkdocs-gen-files==0.5.0 @@ -94,6 +103,7 @@ mkdocstrings==0.26.1 mkdocstrings-python==1.11.1 molecule==24.9.0 more-itertools==10.5.0 +multidict==6.1.0 mypy==1.11.2 mypy-extensions==1.0.0 nodeenv==1.9.1 @@ -114,13 +124,17 @@ pip-tools==7.4.1 pipdeptree==2.23.4 platformdirs==4.3.6 pluggy==1.5.0 -pre-commit==4.0.0 +pre-commit==4.0.1 +propcache==0.2.0 +psycopg==3.2.3 +psycopg-binary==3.2.3 ptyprocess==0.7.0 pycparser==2.22 pydoclint==0.5.9 pygments==2.18.0 pylint==3.3.1 pymdown-extensions==10.11.2 +pyparsing==3.1.4 pyproject-api==1.8.0 pyproject-hooks==1.2.0 pytest==8.3.3 @@ -163,9 +177,12 @@ virtualenv==20.26.6 watchdog==5.0.3 wcmatch==10.0 webencodings==0.5.1 +websockets==13.1 werkzeug==3.0.4 wheel==0.44.0 +xxhash==3.5.0 yamllint==1.35.1 +yarl==1.14.0 zipp==3.20.2 # The following packages are considered to be unsafe in a requirements file: diff --git a/.config/requirements-lock.txt b/.config/requirements-lock.txt index dc23da3..8e1de2f 100644 --- a/.config/requirements-lock.txt +++ b/.config/requirements-lock.txt @@ -4,6 +4,9 @@ # # pip-compile --constraint=.config/constraints.txt --extra=server --no-annotate --output-file=.config/requirements-lock.txt --strip-extras --unsafe-package=distribute --unsafe-package=pip --unsafe-package=setuptools .config/requirements.in pyproject.toml # +aiohappyeyeballs==2.4.3 +aiohttp==3.10.9 +aiosignal==1.3.1 ansible-builder==3.1.0 ansible-compat==24.9.1 ansible-core==2.17.4 @@ -11,9 +14,11 @@ ansible-creator==24.9.0 ansible-dev-environment==24.9.0 ansible-lint==24.9.2 ansible-navigator==24.9.0 +ansible-rulebook==1.1.1 ansible-runner==2.4.0 ansible-sign==0.1.1 asgiref==3.8.1 +async-timeout==4.0.3 attrs==24.2.0 bindep==2.11.0 black==24.8.0 @@ -31,16 +36,21 @@ distlib==0.3.8 distro==1.9.0 django==5.1.1 docutils==0.21.2 +dpath==2.2.0 +drools-jpy==0.3.9 enrich==1.2.7 exceptiongroup==1.2.2 execnet==2.1.1 filelock==3.16.1 +frozenlist==1.4.1 gunicorn==23.0.0 idna==3.10 importlib-metadata==8.5.0 iniconfig==2.0.0 isodate==0.6.1 +janus==1.0.0 jinja2==3.1.4 +jpy==0.18.0 jsonschema==4.23.0 jsonschema-path==0.3.3 jsonschema-specifications==2023.12.1 @@ -51,6 +61,7 @@ markupsafe==2.1.5 mdurl==0.1.2 molecule==24.9.0 more-itertools==10.5.0 +multidict==6.1.0 mypy-extensions==1.0.0 onigurumacffi==1.3.0 openapi-core==0.19.4 @@ -65,9 +76,13 @@ pbr==6.1.0 pexpect==4.9.0 platformdirs==4.3.6 pluggy==1.5.0 +propcache==0.2.0 +psycopg==3.2.3 +psycopg-binary==3.2.3 ptyprocess==0.7.0 pycparser==2.22 pygments==2.18.0 +pyparsing==3.1.4 pyproject-api==1.8.0 pytest==8.3.3 pytest-ansible==24.9.0 @@ -93,9 +108,13 @@ typing-extensions==4.12.2 tzdata==2024.2 urllib3==2.2.3 virtualenv==20.26.6 +watchdog==5.0.3 wcmatch==10.0 +websockets==13.1 werkzeug==3.0.4 +xxhash==3.5.0 yamllint==1.35.1 +yarl==1.14.0 zipp==3.20.2 # The following packages are considered to be unsafe in a requirements file: diff --git a/.config/requirements.in b/.config/requirements.in index 90148e6..7dac30c 100644 --- a/.config/requirements.in +++ b/.config/requirements.in @@ -3,6 +3,7 @@ ansible-creator>=24.4.1 ansible-dev-environment ansible-lint ansible-navigator +ansible-rulebook>=1.1.1 ansible-sign molecule pytest-ansible diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cd91bae..35f7b28 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -71,12 +71,12 @@ repos: types_or: [python, pyi] - repo: https://github.com/psf/black # must be after ruff - rev: 24.8.0 + rev: 24.10.0 hooks: - id: black - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v8.13.3 + rev: v8.14.0 hooks: - id: cspell name: Spell check with cspell