From 42854887eb90acfe2e8d8f958c2956db5131f29d Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sat, 23 Jul 2022 12:58:03 +0200 Subject: [PATCH] python-daemon 2.3.1 requires Python 3+. (#4977) (#4981) (cherry picked from commit e1cfa13a1b24cf9f4128601f67ebd4a88f35c53a) Co-authored-by: Felix Fontein --- tests/integration/targets/monit/meta/main.yml | 1 + tests/integration/targets/monit/tasks/main.yml | 1 + tests/utils/constraints.txt | 1 + 3 files changed, 3 insertions(+) diff --git a/tests/integration/targets/monit/meta/main.yml b/tests/integration/targets/monit/meta/main.yml index 5438ced5c3..ba4306cced 100644 --- a/tests/integration/targets/monit/meta/main.yml +++ b/tests/integration/targets/monit/meta/main.yml @@ -1,2 +1,3 @@ dependencies: - setup_pkg_mgr + - setup_remote_constraints diff --git a/tests/integration/targets/monit/tasks/main.yml b/tests/integration/targets/monit/tasks/main.yml index 8f6baeebe8..7b10cbf190 100644 --- a/tests/integration/targets/monit/tasks/main.yml +++ b/tests/integration/targets/monit/tasks/main.yml @@ -62,6 +62,7 @@ pip: name: "{{ item }}" virtualenv: "{{ process_venv }}" + extra_args: "-c {{ remote_constraints }}" loop: - setuptools==44 - python-daemon diff --git a/tests/utils/constraints.txt b/tests/utils/constraints.txt index 876f4dd36c..47b3907b8d 100644 --- a/tests/utils/constraints.txt +++ b/tests/utils/constraints.txt @@ -50,6 +50,7 @@ redis == 2.10.6 ; python_version < '2.7' redis < 4.0.0 ; python_version >= '2.7' and python_version < '3.6' redis ; python_version >= '3.6' pycdlib < 1.13.0 ; python_version < '3' # 1.13.0 does not work with Python 2, while not declaring that +python-daemon <= 2.3.0 ; python_version < '3' # freeze pylint and its requirements for consistent test results astroid == 2.2.5