Hi all,

See what we decided to do here with regards to version checking:

https://github.com/ansible/ansible/commit/191be7b951eb8c34b73b367334e0cb4343af0779

I'll add the note that this flag is ignored on newer versions of pip.





On Fri, Jan 3, 2014 at 1:12 PM, Matt Ferrante <[email protected]> wrote:

> The default won't be supported in new versions. I doubt people will run
> into this right away, as they already have pip installed, but it will
> probably become more common as time goes on, so it may make more sense in a
> future version.
>
> A - Mirroring support was removed in pip 1.5, so it NEVER uses mirrors.
> B - That's possible, I'll update the pull request.
>
>
> On Friday, January 3, 2014 1:06:48 PM UTC-5, Michael DeHaan wrote:
>
>> Changing the default seems like an bad design choice as it may break
>> existing users.
>>
>> Question:
>>
>> (A) if they are removing the option, does it *ALWAYS* use mirrors then?
>>
>> (B)  can we test the pip version and then raise an error if the option is
>> used in a way it cannot support?
>>
>>
>>
>>
>>
>>
>> On Fri, Jan 3, 2014 at 1:04 PM, Matt Ferrante <[email protected]> wrote:
>>
>>> Pip 1.5, released on 1/1/2014, doesn't support --use-mirrors. The
>>> default should be use_mirrors=no, as this should work correctly with all
>>> versions. I ran into the issue where we use Ansible to easy_install pip and
>>> then use pip to install python libraries.
>>>
>>> I created a pull request: https://github.com/ansible/ansible/pull/5493
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Ansible Project" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>>
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>
>>
>> --
>> Michael DeHaan <[email protected]>
>>
>> CTO, AnsibleWorks, Inc.
>> http://www.ansibleworks.com/
>>
>>   --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Michael DeHaan <[email protected]>
CTO, AnsibleWorks, Inc.
http://www.ansibleworks.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to