From d0fb550f95155b5e22d4c8ca14e96503276d23ce Mon Sep 17 00:00:00 2001 From: Ivan Cvitkovic Date: Wed, 25 Oct 2023 21:56:14 -0700 Subject: [PATCH] Generate lockfile with pip-tools --- pyproject.toml | 8 +++ requirements.dev.txt | 133 +++++++++++++++++++++++++++++++++++++++++++ tox.ini | 2 +- 3 files changed, 142 insertions(+), 1 deletion(-) create mode 100644 requirements.dev.txt diff --git a/pyproject.toml b/pyproject.toml index 221eabb..bef4ef4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,6 +2,14 @@ name = "ansible-bootstrap" version = "0.1.0" requires-python = ">=3.6" +# track debian testing version of ansible (roughly) +dependencies = ["ansible==7.7.0"] + +[project.optional-dependencies] +dev = [ + "molecule==5.1.0", + "molecule-plugins[docker,vagrant]==23.5.0", +] [build-system] requires = ["setuptools"] diff --git a/requirements.dev.txt b/requirements.dev.txt new file mode 100644 index 0000000..02c4917 --- /dev/null +++ b/requirements.dev.txt @@ -0,0 +1,133 @@ +# +# This file is autogenerated by pip-compile with Python 3.11 +# by the following command: +# +# pip-compile --extra=dev --output-file=requirements.dev.txt pyproject.toml +# +ansible==7.7.0 + # via ansible-bootstrap (pyproject.toml) +ansible-compat==4.1.10 + # via molecule +ansible-core==2.14.11 + # via + # ansible + # ansible-compat + # molecule +arrow==1.3.0 + # via cookiecutter +attrs==23.1.0 + # via + # jsonschema + # referencing +binaryornot==0.4.4 + # via cookiecutter +certifi==2023.7.22 + # via requests +cffi==1.16.0 + # via cryptography +chardet==5.2.0 + # via binaryornot +charset-normalizer==3.3.1 + # via requests +click==8.1.7 + # via + # click-help-colors + # cookiecutter + # molecule +click-help-colors==0.9.2 + # via molecule +cookiecutter==2.4.0 + # via molecule +cryptography==41.0.5 + # via ansible-core +distro==1.8.0 + # via selinux +docker==6.1.3 + # via molecule-plugins +enrich==1.2.7 + # via molecule +idna==3.4 + # via requests +jinja2==3.1.2 + # via + # ansible-core + # cookiecutter + # molecule +jsonschema==4.19.1 + # via + # ansible-compat + # molecule +jsonschema-specifications==2023.7.1 + # via jsonschema +markdown-it-py==3.0.0 + # via rich +markupsafe==2.1.3 + # via jinja2 +mdurl==0.1.2 + # via markdown-it-py +molecule==5.1.0 + # via + # ansible-bootstrap (pyproject.toml) + # molecule-plugins +molecule-plugins[docker,vagrant]==23.5.0 + # via ansible-bootstrap (pyproject.toml) +packaging==23.2 + # via + # ansible-compat + # ansible-core + # docker + # molecule +pluggy==1.3.0 + # via molecule +pycparser==2.21 + # via cffi +pygments==2.16.1 + # via rich +python-dateutil==2.8.2 + # via arrow +python-slugify==8.0.1 + # via cookiecutter +python-vagrant==1.0.0 + # via molecule-plugins +pyyaml==6.0.1 + # via + # ansible-compat + # ansible-core + # cookiecutter + # molecule +referencing==0.30.2 + # via + # jsonschema + # jsonschema-specifications +requests==2.31.0 + # via + # cookiecutter + # docker + # molecule-plugins +resolvelib==0.8.1 + # via ansible-core +rich==13.6.0 + # via + # cookiecutter + # enrich + # molecule +rpds-py==0.10.6 + # via + # jsonschema + # referencing +selinux==0.3.0 + # via molecule-plugins +six==1.16.0 + # via python-dateutil +subprocess-tee==0.4.1 + # via ansible-compat +text-unidecode==1.3 + # via python-slugify +types-python-dateutil==2.8.19.14 + # via arrow +urllib3==2.0.7 + # via + # docker + # requests +websocket-client==1.6.4 + # via docker diff --git a/tox.ini b/tox.ini index d14a110..614f1af 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ skipsdist = True [testenv] description=Run default molecule scenario skip_install = True -deps = --requirement=requirements.txt +deps = --requirement=requirements.dev.txt setenv = ANSIBLE_FORCE_COLOR = 1 allowlist_externals = molecule