From 67a2fab0514febe1d4d119c6bb5fc1cd677bcac9 Mon Sep 17 00:00:00 2001 From: "Jiawei \"Tyler\" Gu" <47795840+tylergu@users.noreply.github.com> Date: Wed, 14 Feb 2024 16:49:38 -0600 Subject: [PATCH] Fix security alerts (#319) Signed-off-by: Tyler Gu --- pyproject.toml | 7 +++++-- requirements-dev.txt | 38 ++++++++++++++++++++++++++++++-------- requirements.txt | 14 +++++++++++++- 3 files changed, 48 insertions(+), 11 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5842c593fc..06d040d18d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,18 +16,21 @@ dependencies = [ "ruamel.yaml~=0.18", "requests~=2.31.0", "pydantic~=2.5.2", + "pytest~=7.4.0", ] [project.optional-dependencies] dev = [ "docker~=6.1.3", "prometheus_client", - "pytest~=7.4.0", "pytest-cov~=4.1.0", "tabulate~=0.9.0", "pip-tools~=7.3.0", "pre-commit~=3.6.0", - "ansible-core~=2.16.2", + "ansible-core>=2.16.3", + "cryptography>=42.0.0", + "aiohttp>=3.9.2", + "jinja2>=3.1.3", "isort", "mypy", "black", diff --git a/requirements-dev.txt b/requirements-dev.txt index 03f12df4eb..faf20395c5 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,19 +1,23 @@ # -# This file is autogenerated by pip-compile with Python 3.11 +# This file is autogenerated by pip-compile with Python 3.10 # by the following command: # # pip-compile --extra=dev --output-file=requirements-dev.txt # -aiohttp==3.9.1 - # via black +aiohttp==3.9.3 + # via + # acto (pyproject.toml) + # black aiosignal==1.3.1 # via aiohttp annotated-types==0.6.0 # via pydantic -ansible-core==2.16.2 +ansible-core==2.16.3 # via acto (pyproject.toml) astroid==3.0.2 # via pylint +async-timeout==4.0.3 + # via aiohttp attrs==23.1.0 # via # aiohttp @@ -42,8 +46,10 @@ coverage[toml]==7.3.3 # via # coverage # pytest-cov -cryptography==41.0.7 - # via ansible-core +cryptography==42.0.2 + # via + # acto (pyproject.toml) + # ansible-core deepdiff==6.3.1 # via acto (pyproject.toml) dill==0.3.7 @@ -52,6 +58,8 @@ distlib==0.3.8 # via virtualenv docker==6.1.3 # via acto (pyproject.toml) +exceptiongroup==1.2.0 + # via pytest exrex==0.11.0 # via acto (pyproject.toml) filelock==3.13.1 @@ -74,8 +82,10 @@ isort==5.13.2 # via # acto (pyproject.toml) # pylint -jinja2==3.1.2 - # via ansible-core +jinja2==3.1.3 + # via + # acto (pyproject.toml) + # ansible-core jsonpatch==1.33 # via acto (pyproject.toml) jsonpointer==2.4 @@ -190,10 +200,22 @@ six==1.16.0 # python-dateutil tabulate==0.9.0 # via acto (pyproject.toml) +tomli==2.0.1 + # via + # black + # build + # coverage + # mypy + # pip-tools + # pylint + # pyproject-hooks + # pytest tomlkit==0.12.3 # via pylint typing-extensions==4.9.0 # via + # astroid + # black # mypy # pydantic # pydantic-core diff --git a/requirements.txt b/requirements.txt index f2c1b51408..5591017de0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.9 +# This file is autogenerated by pip-compile with Python 3.10 # by the following command: # # pip-compile --output-file=requirements.txt @@ -18,12 +18,16 @@ charset-normalizer==3.3.2 # via requests deepdiff==6.3.1 # via acto (pyproject.toml) +exceptiongroup==1.2.0 + # via pytest exrex==0.11.0 # via acto (pyproject.toml) google-auth==2.25.2 # via kubernetes idna==3.6 # via requests +iniconfig==2.0.0 + # via pytest jsonpatch==1.33 # via acto (pyproject.toml) jsonpointer==2.4 @@ -38,8 +42,12 @@ oauthlib==3.2.2 # via requests-oauthlib ordered-set==4.1.0 # via deepdiff +packaging==23.2 + # via pytest pandas==2.0.3 # via acto (pyproject.toml) +pluggy==1.4.0 + # via pytest pyasn1==0.5.1 # via # pyasn1-modules @@ -52,6 +60,8 @@ pydantic-core==2.14.5 # via pydantic pyrsistent==0.20.0 # via jsonschema +pytest==7.4.4 + # via acto (pyproject.toml) python-dateutil==2.8.2 # via # kubernetes @@ -79,6 +89,8 @@ six==1.16.0 # via # kubernetes # python-dateutil +tomli==2.0.1 + # via pytest typing-extensions==4.9.0 # via # pydantic