<div style="font:14px/1.5 'Lucida Grande', '微软雅黑';color:#333;"><p style="font:14px/1.5 'Heiti SC';margin:0;">Hi Dims, </p><p style="font:14px/1.5 'Heiti SC';margin:0;"><span class="Apple-tab-span" style="white-space:pre">      </span>I got response from core member of ec2-api. What do you think about it?</p><p style="font:14px/1.5 'Heiti SC';margin:0;"><br></p><p style="font:14px/1.5 'Heiti SC';margin:0;">----------------------------------</p><p style="font:14px/1.5 'Heiti SC';margin:0;"><span class="Apple-tab-span" style="white-space:pre"> </span></p><p style="font-style: normal; font-variant-caps: normal; font-weight: normal; line-height: 1.5; margin: 0px;"><span class="Apple-tab-span" style="font-family: 'Heiti SC'; font-size: 14px; white-space: pre;">        </span><span style="color: rgb(0, 0, 0); font-size: 13px;"><font face="Heiti SC">Hi,</font></span></p><div dir="ltr" style="color: rgb(0, 0, 0);"><div><span style="font-size: 13px;"><font face="Heiti SC"><br></font></span></div><div><span style="font-size: 13px;"><font face="Heiti SC">I don't treat adding new library as a problem.</font></span></div><div><span style="font-size: 13px;"><font face="Heiti SC"><br></font></span></div><div><span style="font-size: 13px;"><font face="Heiti SC">- I see that you don't remove boto - so your change doesn't affect ec2-api code.</font></span></div><div><span style="font-size: 13px;"><font face="Heiti SC">- boto doesn't require botocore and jmespath</font></span></div><div><span style="font-size: 13px;"><font face="Heiti SC">- right now ec2-api itself doesn't use botocore. botocore is needed only for functional tests of ec2-api.</font></span></div><div><span style="font-size: 13px;"><font face="Heiti SC"><br></font></span></div><div><span style="font-size: 13px;"><font face="Heiti SC">P.S.</font></span></div><div><span style="font-size: 13px;"><font face="Heiti SC">and I prefer to use botocore cause I know how to use it. I had such change - <a href="https://review.openstack.org/#/c/198571/" title="https://review.openstack.org/#/c/198571/" style="text-decoration: none; color: rgb(19, 109, 186); -webkit-user-drag: none;">https://review.openstack.org/#/c/198571/</a></font></span></div><div><span style="font-size: 13px;"><font face="Heiti SC"><br></font></span></div></div><div class="gmail_extra" style="color: rgb(0, 0, 0);"><span style="font-size: 13px;"><font face="Heiti SC"><br clear="all"></font></span><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><span style="font-size: 13px;"><font face="Heiti SC">Regards,</font></span><div><span style="font-size: 13px;"><font face="Heiti SC">Andrey Pavlov.</font></span></div><div><span style="color: rgb(51, 51, 51); font-family: 'Heiti SC';">----------------------------------</span></div></div></div></div></div></div><span style="font: 14px/1.5 'Lucida Grande';color:#333;"><br></span><div class="foxmail_blockquote_fromhere_element" style="font: 12px/1.5 'Lucida Grande';padding:2px 0 2px 0;"><span style="color:#333;text-decoration:line-through;white-space:pre-wrap;">                            </span> 原始邮件 <span style="color:#333;text-decoration:line-through;white-space:pre-wrap;">                            </span></div><div style="font: 12px/1.5 'Lucida Grande';background:#efefef;color:#666666;padding:8px;"><div><b style="color:#999;">发件人:</b> jiaopengju<jiaopengju@cmss.chinamobile.com></div><div><b style="color:#999;">收件人:</b> OpenStack Development Mailing List (not for usage questions)<openstack-dev@lists.openstack.org></div><div><b style="color:#999;">抄送:</b> mthode<mthode@mthode.org>; sean<sean@dague.net>; alexandrelevine@gmail.com; andrey.mp@gmail.com; ftersin@hotmail.com</div><div><b style="color:#999;">发送时间:</b> 2017年6月19日(周一) 20:39</div><div><b style="color:#999;">主题:</b> Re: [openstack-dev] [requirements] [ec2-api]How about using boto3instead ofboto in requirements</div></div><br><div class="mail_quote_D098CC762A9D4CA281D5F908A6D55ACE" style="font: 14px/1.5 'Lucida Grande';color:#333;"><div style="font:14px/1.5 'Lucida Grande', '微软雅黑';color:#333;"><p style="font:14px/1.5 'Heiti SC';margin:0;">Add core members of ec2-api to cc list.</p><pre style="white-space: pre-wrap;">Pengju Jiao
mail: <a href="mailto:jiaopengju@cmss.chinamobile.com" title="mailto:jiaopengju@cmss.chinamobile.com">jiaopengju@cmss.chinamobile.com</a></pre><span style="font: 14px/1.5 'Lucida Grande';color:#333;"><br></span><div class="foxmail_blockquote_fromhere_element" style="font: 12px/1.5 'Lucida Grande';padding:2px 0 2px 0;"><span style="color:#333;text-decoration:line-through;white-space:pre-wrap;">                            </span> 原始邮件 <span style="color:#333;text-decoration:line-through;white-space:pre-wrap;">                            </span></div><div style="font: 12px/1.5 'Lucida Grande';background:#efefef;color:#666666;padding:8px;"><div><b style="color:#999;">发件人:</b> jiaopengju<<a href="mailto:jiaopengju@cmss.chinamobile.com" title="mailto:jiaopengju@cmss.chinamobile.com">jiaopengju@cmss.chinamobile.com</a>></div><div><b style="color:#999;">收件人:</b> OpenStack Development Mailing List (not for usage questions)<<a href="mailto:openstack-dev@lists.openstack.org" title="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>></div><div><b style="color:#999;">抄送:</b> mthode<<a href="mailto:mthode@mthode.org" title="mailto:mthode@mthode.org">mthode@mthode.org</a>>; sean<<a href="mailto:sean@dague.net" title="mailto:sean@dague.net">sean@dague.net</a>></div><div><b style="color:#999;">发送时间:</b> 2017年6月19日(周一) 20:33</div><div><b style="color:#999;">主题:</b> Re: [openstack-dev] [requirements] [ec2-api]How about using boto3instead ofboto in requirements</div></div><br><div class="mail_quote_3A3F816BB7584B9EA64CAA971831CE53" style="font: 14px/1.5 'Lucida Grande';color:#333;"><div style="font:14px/1.5 'Lucida Grande', '微软雅黑';color:#333;"><p style="font:14px/1.5 'Heiti SC';margin:0;">Thanks, I will try to reach out them in ec2-api channel.</p><pre style="white-space: pre-wrap;">Pengju Jiao
mail: <a href="mailto:jiaopengju@cmss.chinamobile.com" title="mailto:jiaopengju@cmss.chinamobile.com">jiaopengju@cmss.chinamobile.com</a></pre><div class="mail_quote_09453BB4EA78437BB788C00E932FB944" style="font: 14px/1.5 'Lucida Grande';color:#333;"><pre style="white-space:pre-wrap;">Hi Pengju Jiao,

The main consume i believe is EC2-API :

<a href="http://codesearch.openstack.org/?q=%5Eboto&i=nope&files=.*req.*%5C.txt&repos=" title="http://codesearch.openstack.org/?q=%5Eboto&i=nope&files=.*req.*%5C.txt&repos=">http://codesearch.openstack.org/?q=%5Eboto&i=nope&files=.*req.*%5C.txt&repos=</a>
<a href="http://codesearch.openstack.org/?q=%5E(from%7Cimport).*boto&i=nope&files=&repos=" title="http://codesearch.openstack.org/?q=%5E(from%7Cimport).*boto&i=nope&files=&repos=">http://codesearch.openstack.org/?q=%5E(from%7Cimport).*boto&i=nope&files=&repos=</a>

Can you please reach out to them?

Thanks,
Dims

On Mon, Jun 19, 2017 at 3:11 AM, jiaopengju
<<a href="mailto:jiaopengju@cmss.chinamobile.com" title="mailto:jiaopengju@cmss.chinamobile.com">jiaopengju@cmss.chinamobile.com</a>> wrote:
> Hi, everyone:
>
> I have a blueprint of freezer to support s3 storage driver [1], so I need to
> add boto3 to the requirements [2].
>
> Why use boto3 but not boto?
>
> Boto3 [3] is the next version of Boto, is now stable and recommended for
> general use. It can be used side-by-side with Boto in the same project, so
> it is easy to start using Boto3 in your existing projects as well as new
> projects. Going forward, API updates and all new feature work will be
> focused on Boto3.
>
>
> Problem
>
> Boto3 requires botocore, jmespath and s3transfer. botocore and jmespath are
> already used by boto, this is because boto is used by ec2-api (and
> heat-cfntools, rally and swift3).  After adding Boto3 to requirements, we
> will have old and new libraries ATM.
>
>
> My suggenstion
>
> How about using boto3 instead of boto? This will require us to do some
> migration about boto to boto3.
>
>
> Anyone has ideas or suggesstions? Thank you very much!
>
>
> [1] <a href="https://review.openstack.org/#/c/471295" title="https://review.openstack.org/#/c/471295">https://review.openstack.org/#/c/471295</a>
>
> [2]<a href="https://review.openstack.org/#/c/473067" title="https://review.openstack.org/#/c/473067">https://review.openstack.org/#/c/473067</a>
>
> [3]<a href="https://github.com/boto/boto3" title="https://github.com/boto/boto3">https://github.com/boto/boto3</a>
>
>
> Pengju Jiao
> mail: <a href="mailto:jiaopengju@cmss.chinamobile.com" title="mailto:jiaopengju@cmss.chinamobile.com">jiaopengju@cmss.chinamobile.com</a>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org" title="mailto:OpenStack-dev-request@lists.openstack.org">OpenStack-dev-request@lists.openstack.org</a>?subject:unsubscribe
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" title="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
>



-- 
Davanum Srinivas :: <a href="https://twitter.com/dims" title="https://twitter.com/dims">https://twitter.com/dims</a>

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org" title="mailto:OpenStack-dev-request@lists.openstack.org">OpenStack-dev-request@lists.openstack.org</a>?subject:unsubscribe
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" title="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre></div></div></div></div></div></div>