What is the default Python version on trusty? Most of my stuff is written for 2.x<span></span><br><br>On Thursday, November 27, 2014, Yuvi Panda <<a href="mailto:yuvipanda@gmail.com">yuvipanda@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br>
<br>
We've had trusty exec nodes for a while, and today we have a new<br>
webgrid node running trusty as well. This means you can run your<br>
webservices on trusty, taking advantage of new versions of software<br>
(Python 3.4 mmm!)<br>
<br>
To do so, you use the webservice2 program. This is an experimental<br>
replacement for the webservice program already used to control web<br>
services, and will replace it at some point in the future. It supports<br>
almost all current features of webservice2 (start, stop, restart - no<br>
status yet). An extra feature is the --release parameter, where you<br>
can specify if you want to run on trusty or precise.<br>
<br>
So to start a webservice on the trusty instance, you would just do:<br>
<br>
webservice2 --release=trusty start<br>
<br>
And that should do :)<br>
<br>
Since we'll be adding more trusty nodes in the future as demand grows,<br>
do test your web services (and bots!) to make sure they run well on<br>
trusty. Also do take advantage of the newer versions - Python 3.4 is<br>
great! :)<br>
<br>
Thanks!<br>
<br>
--<br>
Yuvi Panda T<br>
<a href="http://yuvi.in/blog" target="_blank">http://yuvi.in/blog</a><br>
<br>
_______________________________________________<br>
Labs-l mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'Labs-l@lists.wikimedia.org')">Labs-l@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/labs-l" target="_blank">https://lists.wikimedia.org/mailman/listinfo/labs-l</a><br>
</blockquote>