diff options
author | pmikus <peter.mikus@protonmail.ch> | 2024-08-07 08:53:06 +0200 |
---|---|---|
committer | pmikus <peter.mikus@protonmail.ch> | 2024-08-07 08:53:06 +0200 |
commit | c9b4857a1ca0246bfc88a2f0bb33505460636a66 (patch) | |
tree | 36693b9d3b98efadc454d991574018f1e34743f4 | |
parent | 640c618dd57f442d4bc9725df8b756ec01399177 (diff) |
fix(pip): Requirements for 24.04
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I7511fb128d81f5d91fb2cc0d71f193efaefd9f41
-rw-r--r-- | fdio.infra.ansible/roles/python_env/tasks/main.yaml | 8 | ||||
-rw-r--r-- | requirements.txt | 10 | ||||
-rw-r--r-- | resources/libraries/bash/function/common.sh | 2 |
3 files changed, 10 insertions, 10 deletions
diff --git a/fdio.infra.ansible/roles/python_env/tasks/main.yaml b/fdio.infra.ansible/roles/python_env/tasks/main.yaml index 8e66da8ca3..3e76b6edad 100644 --- a/fdio.infra.ansible/roles/python_env/tasks/main.yaml +++ b/fdio.infra.ansible/roles/python_env/tasks/main.yaml @@ -22,7 +22,7 @@ name: - "ecdsa==0.19.0" - "paramiko==3.4.0" - - "pycrypto==2.6.1" + - "pycryptodome==3.20.0" - "python-dateutil==2.9.0" - "PyYAML==6.0.1" - "requests==2.32.2" @@ -40,10 +40,10 @@ - "rfc3987==1.3.8" - "pylint==3.2.6" - "astroid==3.2.4" - - "attrs==23.2.0" + - "attrs==24.2.0" - "bcrypt==4.2.0" - "certifi==2024.7.4" - - "cffi==1.16.0" + - "cffi==1.17.0" - "charset-normalizer==3.3.2" - "cryptography==43.0.0" - "idna==3.7" @@ -59,7 +59,7 @@ - "PyNaCl==1.5.0" - "referencing==0.35.1" - "resolvelib==1.0.1" - - "rpds-py==0.19.1" + - "rpds-py==0.20.0" - "six==1.16.0" - "tomli==2.0.1" - "tomlkit==0.13.0" diff --git a/requirements.txt b/requirements.txt index 22d0f88418..c038cd5a73 100644 --- a/requirements.txt +++ b/requirements.txt @@ -19,7 +19,7 @@ # CSIT Core dependencies ecdsa==0.19.0 paramiko==3.4.0 -pycrypto==2.6.1 +pycryptodome==3.20.0 python-dateutil==2.9.0 PyYAML==6.0.1 requests==2.32.2 @@ -49,10 +49,10 @@ pylint==3.2.6 # Other PIP freeze dependencies. astroid==3.2.4 -attrs==23.2.0 +attrs==24.2.0 bcrypt==4.2.0 certifi==2024.7.4 -cffi==1.16.0 +cffi==1.17.0 charset-normalizer==3.3.2 cryptography==43.0.0 idna==3.7 @@ -68,9 +68,9 @@ pycparser==2.22 PyNaCl==1.5.0 referencing==0.35.1 resolvelib==1.0.1 -rpds-py==0.19.1 +rpds-py==0.20.0 six==1.16.0 tomli==2.0.1 tomlkit==0.13.0 typing_extensions==4.12.2 -urllib3==2.2.2 +urllib3==2.2.2
\ No newline at end of file diff --git a/resources/libraries/bash/function/common.sh b/resources/libraries/bash/function/common.sh index 1226211ddd..546dc1c1c3 100644 --- a/resources/libraries/bash/function/common.sh +++ b/resources/libraries/bash/function/common.sh @@ -119,7 +119,7 @@ function activate_virtualenv () { env_dir="${root_path}/env" req_path=${2-$CSIT_DIR/requirements.txt} rm -rf "${env_dir}" || die "Failed to clean previous virtualenv." - pip3 install virtualenv==20.15.1 || { + pip3 install virtualenv==20.26.3 || { die "Virtualenv package install failed." } virtualenv --no-download --python=$(which python3) "${env_dir}" || { |