<div dir="ltr">Perhaps Python 2.4 compatibility should be retained within libtbx though? I guess this is a bootstrap failure you refer to?<div><br></div><div>Cheers</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">-- David<br></div></div>
<br><div class="gmail_quote">On 15 September 2016 at 12:34, David Waterman <span dir="ltr">&lt;<a href="mailto:dgwaterman@gmail.com" target="_blank">dgwaterman@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Richard,<div><br></div><div>According to Nat on 15th October 2012, CCTBX officially stopped supporting Python 2.4. Here&#39;s the text of his message:</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="font-size:12.8px">FYI for those of you who didn&#39;t get my original email: the minimum</span><br style="font-size:12.8px"><span style="font-size:12.8px;background-color:rgb(255,255,255)">Python</span><span style="font-size:12.8px"> </span><span style="font-size:12.8px;background-color:rgb(255,255,255)">version</span><span style="font-size:12.8px"> required for </span><span style="font-size:12.8px;background-color:rgb(255,255,255)">CCTBX</span><span style="font-size:12.8px"> is now 2.5, so for anyone</span><br style="font-size:12.8px"><span style="font-size:12.8px">contributing to </span><span style="font-size:12.8px;background-color:rgb(255,255,255)">CCTBX</span><span style="font-size:12.8px">, you can now use more advanced syntax such as</span><br style="font-size:12.8px"><span style="font-size:12.8px">&quot;with&quot; and &quot;try/except/else/finally&quot; (and decorators, which were</span><br style="font-size:12.8px"><span style="font-size:12.8px">already supported in </span><span style="font-size:12.8px;background-color:rgb(255,255,255)">2.4</span><span style="font-size:12.8px">, but we haven&#39;t used them so far).  Full list</span><br style="font-size:12.8px"><span style="font-size:12.8px">of changes in 2.5 here:</span><br style="font-size:12.8px"><br style="font-size:12.8px"><a href="http://docs.python.org/whatsnew/2.5.html" rel="noreferrer" style="font-size:12.8px" target="_blank">http://docs.<span>python</span>.org/whatsne<wbr>w/2.5.html</a><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">-Nat</span><br style="font-size:12.8px"></blockquote><div><br></div><div>Cheers</div><div class="gmail_extra"><span class="HOEnZb"><font color="#888888"><br clear="all"><div><div data-smartmail="gmail_signature">-- David<br></div></div></font></span><div><div class="h5">
<br><div class="gmail_quote">On 15 September 2016 at 12:22,  <span dir="ltr">&lt;<a href="mailto:richard.gildea@diamond.ac.uk" target="_blank">richard.gildea@diamond.ac.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This commit uses the &quot;with&quot; statement, which was introduced in Python 2.5, to libtbx/__init__.py, preventing installation of DIALS from sources on systems with Python 2.4:<br>
<br>
<a href="https://sourceforge.net/p/cctbx/code/25101/" rel="noreferrer" target="_blank">https://sourceforge.net/p/cctb<wbr>x/code/25101/</a><br>
<br>
Could this code be changed to remove the use of the &quot;with&quot; statement?<br>
<br>
Cheers,<br>
<br>
Richard<br>
<br>
Dr Richard Gildea<br>
Data Analysis Scientist<br>
Tel: <a href="tel:%2B441235%2077%208078" value="+441235778078" target="_blank">+441235 77 8078</a><br>
<br>
Diamond Light Source Ltd.<br>
Diamond House<br>
Harwell Science &amp; Innovation Campus<br>
Didcot<br>
Oxfordshire<br>
OX11 0DE<br>
<span><font color="#888888"><br>
--<br>
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.<br>
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.<br>
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.<br>
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom<br>
<br>
<br>
______________________________<wbr>_________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org" target="_blank">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/mailm<wbr>an/listinfo/cctbxbb</a><br>
</font></span></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>