From aa85c5277fbec23a7525edf383aca2fed32414bf Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 10 May 2020 01:29:37 +0300 Subject: [PATCH] Feat(python-packages): Install `auditwheel` Install `wheel` and `auditwheel` that correspond to each other. --- playbooks/roles/python-packages/tasks/main.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/playbooks/roles/python-packages/tasks/main.yml b/playbooks/roles/python-packages/tasks/main.yml index 7699895..a5449aa 100644 --- a/playbooks/roles/python-packages/tasks/main.yml +++ b/playbooks/roles/python-packages/tasks/main.yml @@ -30,7 +30,19 @@ - name: Upgrade Python packages become: true shell: 'umask 022; exec {{ item }} -m pip install --compile --upgrade - "pip < 19.1" setuptools tox virtualenv virtualenvwrapper "wheel < 0.31.1" + "pip<19.1" setuptools tox virtualenv virtualenvwrapper flake8 sphinx twine' when: python.changed loop: ['python3', 'python2'] + +- name: Install wheel for Python2 + become: true + shell: 'umask 022; exec python2 -m pip install --compile --upgrade + "wheel==0.31.1"' + when: python.changed + +- name: Install wheel and auditwheel for Python3 + become: true + shell: 'umask 022; exec python3 -m pip install --compile --upgrade + "wheel==0.34.1" "auditwheel==3.1.0"' + when: python.changed -- 2.39.5