From 8be740ab0eb28f7df304278086cca0c47275fac7 Mon Sep 17 00:00:00 2001 From: Vitaliy Kukharik <37010174+vitabaks@users.noreply.github.com> Date: Wed, 13 Dec 2023 17:01:03 +0300 Subject: [PATCH] Set the dependency versions for the "yedit" module. (#529) --- .config/python/dev/requirements.txt | 4 ++-- files/requirements.txt | 5 +++-- roles/patroni/tasks/main.yml | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.config/python/dev/requirements.txt b/.config/python/dev/requirements.txt index 31a7dab04..241889d32 100644 --- a/.config/python/dev/requirements.txt +++ b/.config/python/dev/requirements.txt @@ -36,8 +36,8 @@ python-dateutil==2.8.2 python-slugify==8.0.1 requests==2.31.0 rich==13.3.5 -ruamel.yaml==0.17.26 -ruamel.yaml.clib==0.2.7 +ruamel.yaml==0.17.40 +ruamel.yaml.clib==0.2.8 selinux==0.3.0 six==1.16.0 subprocess-tee==0.4.1 diff --git a/files/requirements.txt b/files/requirements.txt index fb15e9fc5..3b7215500 100644 --- a/files/requirements.txt +++ b/files/requirements.txt @@ -11,5 +11,6 @@ python-dateutil pysyncobj>=0.3.8 psutil>=2.0.0 ydiff>=1.2.0 -pexpect>=4.8.0 -ruamel.yaml>=0.16.10 +pexpect==4.9.0 +ruamel.yaml==0.17.40 +ruamel.yaml.clib==0.2.8 diff --git a/roles/patroni/tasks/main.yml b/roles/patroni/tasks/main.yml index f2a77d98d..30047473f 100644 --- a/roles/patroni/tasks/main.yml +++ b/roles/patroni/tasks/main.yml @@ -623,8 +623,8 @@ extra_args: "--trusted-host=pypi.python.org --trusted-host=pypi.org --trusted-host=files.pythonhosted.org" umask: "0022" loop: - - pexpect - - ruamel.yaml + - pexpect==4.9.0 + - ruamel.yaml==0.17.40 environment: PATH: "{{ ansible_env.PATH }}:/usr/local/bin:/usr/bin" PIP_BREAK_SYSTEM_PACKAGES: "1"