Hi Gary,

Actually, I had changed to py35 in the patch.
https://gerrit.onap.org/r/c/multicloud/openstack/+/91230/4/pike/tox.ini

From: [email protected] [mailto:[email protected]] On 
Behalf Of Gary Wu
Sent: Wednesday, July 17, 2019 3:38 AM
To: Yang, Bin <[email protected]>; [email protected]; Huang, 
Haibin <[email protected]>
Subject: Re: [onap-discuss] Upgrade python version from 2 to 3

Hi Haibin,

I think you need to modify your tox.ini to specify the python environment that 
you need.  Currently it lists py27.  Maybe change that to py36 or whichever 
python3 version is appropriate for you?

Thanks,
Gary

________________________________
From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> on behalf of 
haibin via Lists.Onap.Org 
<[email protected]<mailto:[email protected]>>
Sent: Monday, July 15, 2019 11:18 PM
To: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>>; Yang, Bin 
<[email protected]<mailto:[email protected]>>
Cc: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>>
Subject: [onap-discuss] Upgrade python version from 2 to 3


Hi Gray,



We must upgrading Django from version 1.9.6 to 2.2.3 because security issue [1].

Bin Yang passed on the message from the TSC meeting that we need to fix [1] in 
E release, otherwise we won't be able to publish the Plugin.

The last version to support Python 2.7 is Django 1.11 LTS, so we must upgrade 
Python2 to Python3.



I change code and test successfully in local, but when I submitted the code and 
built by Gerrit Jenkins get error.

I checked log [2] and found the python version is python 2.7, how can I change 
the python version which is installed by Jenkins [1].

I also didn't find "python-tools-install.sh".



[1] 
https://jenkins.onap.org/job/multicloud-openstack-master-pike-verify-python/configure<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjenkins.onap.org%2Fjob%2Fmulticloud-openstack-master-pike-verify-python%2Fconfigure&data=02%7C01%7Cgary.wu%40futurewei.com%7C7b024e93ea8f41d28f3008d709b55ff6%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C636988546920999999&sdata=TrI%2FEbFb8wqJ8ONmrjXjB1N8skOPQm2QBzdDJSOx%2Fuk%3D&reserved=0>

[2] 
https://jenkins.onap.org/job/multicloud-openstack-master-pike-verify-python/138/console



Thank you!

Best Regards

-------------------------------------------------------------------------------------------------------------------------------

Huang.haibin

11628530

86+18106533356




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#18119): https://lists.onap.org/g/onap-discuss/message/18119
Mute This Topic: https://lists.onap.org/mt/32487216/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to