poise / python

THIS COOKBOOK IS DEPRECATED – Chef cookbook to install Python and related tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[COOK-4271] - Add ability to send environment vars to pip install to fix encoding issues

someara opened this issue · comments

When using the python cookbook to pip install django-pipeline - chef fails with the following error: https://gist.github.com/petecheslock/e3606f1ba6577fc26383
In the setup.py there is the following: https://github.com/cyberdelia/django-pipeline/blob/master/setup.py#L11 I think somewhat related to this - but maybe not: https://tickets.opscode.com/browse/CHEF-3304 Basically I need a way to send "LC_ALL" => "en_US.UTF-8" (in my scenario) as an attribute to the python_pip resource so that it can deal with the encoding correctly.

Pete Cheslock added a comment - 27/Jan/14 2:35 PM
#79

Ahh - cool didn't know how we were handling cookbook updates in the new model. Thanks @someara

https://github.com/poise/poise-python now uses the Chef shell_out helpers, so it should get all the Chef-y goodness on locale stuff.