[openstack-dev] [requirements] [ec2-api]How about using boto3instead ofboto in requirements

jiaopengju jiaopengju at cmss.chinamobile.com
Mon Jun 19 13:33:02 UTC 2017


Hi Dims,
I got response from core member of ec2-api. What do you think about it?


----------------------------------
Hi,


I don't treat adding new library as a problem.


- I see that you don't remove boto - so your change doesn't affect ec2-api code.
- boto doesn't require botocore and jmespath
- right now ec2-api itself doesn't use botocore. botocore is needed only for functional tests of ec2-api.


P.S.
and I prefer to use botocore cause I know how to use it. I had such change -https://review.openstack.org/#/c/198571/




Regards,
Andrey Pavlov.
----------------------------------


原始邮件
发件人:jiaopengjujiaopengju at cmss.chinamobile.com
收件人:OpenStack Development Mailing List (not for usage questions)openstack-dev at lists.openstack.org
抄送:mthodemthode at mthode.org; seansean at dague.net; alexandrelevine at gmail.com; andrey.mp at gmail.com; ftersin at hotmail.com
发送时间:2017年6月19日(周一) 20:39
主题:Re: [openstack-dev] [requirements] [ec2-api]How about using boto3instead ofboto in requirements


Add core members of ec2-api to cc list.
Pengju Jiao mail: jiaopengju at cmss.chinamobile.com


原始邮件
发件人:jiaopengjujiaopengju at cmss.chinamobile.com
收件人:OpenStack Development Mailing List (not for usage questions)openstack-dev at lists.openstack.org
抄送:mthodemthode at mthode.org; seansean at dague.net
发送时间:2017年6月19日(周一) 20:33
主题:Re: [openstack-dev] [requirements] [ec2-api]How about using boto3instead ofboto in requirements


Thanks, I will try to reach out them in ec2-api channel.
Pengju Jiao mail: jiaopengju at cmss.chinamobile.com
Hi Pengju Jiao, The main consume i believe is EC2-API : http://codesearch.openstack.org/?q=%5Ebotoi=nopefiles=.*req.*%5C.txtrepos= http://codesearch.openstack.org/?q=%5E(from%7Cimport).*botoi=nopefiles=repos= Can you please reach out to them? Thanks, Dims On Mon, Jun 19, 2017 at 3:11 AM, jiaopengju jiaopengju at cmss.chinamobile.com 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] https://review.openstack.org/#/c/471295   [2]https://review.openstack.org/#/c/473067   [3]https://github.com/boto/boto3    Pengju Jiao  mail: jiaopengju at cmss.chinamobile.com   __________________________________________________________________________  OpenStack Development Mailing List (not for usage questions)  Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe  http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev  -- Davanum Srinivas :: https://twitter.com/dims __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170619/ef68dbdb/attachment.html>


More information about the OpenStack-dev mailing list