A recent updated to psutil, which is a dependency of ansible-runner, fails to install on older versions of pip. Commit with the breaking change:135628639b
(cherry picked from commit9d27d7c8b1
) Co-authored-by: Sam Doran <sdoran@redhat.com>
This commit is contained in:
parent
c2b69fd30e
commit
b6f6067dfd
3 changed files with 9 additions and 0 deletions
2
changelogs/fragments/test-ansible-runner-pin-psutil.yml
Normal file
2
changelogs/fragments/test-ansible-runner-pin-psutil.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- add constraints file for ``anisble_runner`` test since an update to ``psutil`` is now causing test failures
|
|
@ -0,0 +1,5 @@
|
|||
psutil < 5.7.0 # Greater than this version breaks on older pip
|
||||
pexpect >= 4.5, <= 4.8.0
|
||||
python-daemon <= 2.2.4
|
||||
pyyaml < 5.1 ; python_version < '2.7' # pyyaml 5.1 and later require python 2.7 or later
|
||||
six <= 1.14.0
|
|
@ -6,6 +6,8 @@
|
|||
pip:
|
||||
name: ansible-runner
|
||||
version: 1.2.0
|
||||
extra_args:
|
||||
-c {{ role_path }}/files/constraints.txt
|
||||
|
||||
- name: Find location of ansible-runner installation
|
||||
command: "'{{ ansible_python_interpreter }}' -c 'import os, ansible_runner; print(os.path.dirname(ansible_runner.__file__))'"
|
||||
|
|
Loading…
Reference in a new issue