Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Salt minion 2017.7.6 disregards "bin_env" in pip state #48122
Description of Issue/Question
Python modules fail to install for Python 3 since pip state doesn't seem to make use of "bin_env" defined in the state file.
Steps to Reproduce Issue
Install Salt minion version 2017.7.6 and run the state, Salt fails to install the Python 3 version of the flake8:
Salt minion 2017.7.5 uses pip directly instead of "python -m pip" and with that version the installation works:
This is only broken when using the system pip3, if you use a virtualenv to install, it will use the correct python from the virtualenv, and -m pip, so it will work there.
This change was made to allow the pip module to be able to upgrade itself.
I am marking this as a blocker for 2018.3.3, to fix this behavior.
(normally it would be 2018.3.2, but that is going to be a very narrow release to fix something in the core of salt with syndics.)
Looking at August for 2018.3.3. But it should be an easy dropin fix for the module, once it is fixed. https://docs.saltstack.com/en/latest/ref/file_server/dynamic-modules.html…
On Fri, Jun 15, 2018, 5:39 PM Teran McKinney ***@***.***> wrote: This is also a blocker for me. I hope 2018.3.3 is ready soon, will stick with 2018.3.0 for now. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#48122 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAssocfh5Ga-GPDSU18GnctHvNcuMeA7ks5t9De4gaJpZM4UnhjP> .