<div dir="ltr">Hi Graeme,<div><br></div><div>Those changes are just for developer builds. The Python 3 installer for Phenix will have DIALS 3.5.</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div>--</div><div><span style="font-size:12.8000001907349px">Billy K. Poon</span><br></div></div><div>Research Scientist, Molecular Biophysics and Integrated Bioimaging</div><div>Lawrence Berkeley National Laboratory</div><div>1 Cyclotron Road, M/S 33R0345</div><div>Berkeley, CA 94720</div><div>Fax: (510) 486-5909</div><div>Web: <a href="https://phenix-online.org" target="_blank">https://phenix-online.org</a></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 15, 2021 at 3:33 AM Robert Oeffner &lt;<a href="mailto:rdo20@cam.ac.uk">rdo20@cam.ac.uk</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi Graeme,<br>
<br>
We are trying to build Phenix on Windows with python3. The problem we <br>
have is that when bootstrap.y reaches the libtbx.scons stage Xia2 is <br>
then trying to pip install something into the conda python but fails and <br>
the build breaks. Using an older Dials version is a fall back that at <br>
least enables us to build Phenix with python3 on Windows.<br>
<br>
Would you be able to point us to a newer Dials version that builds using <br>
conda with bootstrap on Windows for python3?<br>
<br>
Rob<br>
<br>
<br>
On 15/07/2021 08:18, Winter, Graeme (DLSLtd,RAL,LSCI) wrote:<br>
&gt; Hi Folks<br>
&gt;<br>
&gt; Following from<br>
&gt;<br>
&gt;<br>
&gt; -  # select dials-3.5 branch<br>
&gt; +  # select dials-3.2 branch<br>
&gt;     def _add_git(self, module, parameters, destination=None):<br>
&gt;       super(PhenixBuilder, self)._add_git(module, parameters, destination)<br>
&gt;       if (module == &#39;dials&#39; or module == &#39;dxtbx&#39; or module == &#39;xia2&#39;) and self.python3:<br>
&gt; @@ -2339,9 +2339,9 @@ class PhenixBuilder(CCIBuilder):<br>
&gt;         if module == &#39;dxtbx&#39;:<br>
&gt;           self.add_step(self.shell(command=[&#39;git&#39;, &#39;remote&#39;, &#39;set-url&#39;, &#39;origin&#39;, &#39;<a href="https://github.com/dials/dxtbx.git&#39;" rel="noreferrer" target="_blank">https://github.com/dials/dxtbx.git&#39;</a>], workdir=workdir))<br>
&gt;           self.add_step(self.shell(command=[&#39;git&#39;, &#39;fetch&#39;, &#39;origin&#39;], workdir=workdir))<br>
&gt; -      self.add_step(self.shell(command=[&#39;git&#39;, &#39;checkout&#39;, &#39;dials-2.2&#39;], workdir=workdir))<br>
&gt; +      self.add_step(self.shell(command=[&#39;git&#39;, &#39;checkout&#39;, &#39;dials-3.2&#39;], workdir=workdir))<br>
&gt;         self.add_step(self.shell(<br>
&gt; -        command=[&#39;git&#39;, &#39;branch&#39;, &#39;--set-upstream-to=origin/dials-2.2&#39;, &#39;dials-2.2&#39;],<br>
&gt; +        command=[&#39;git&#39;, &#39;branch&#39;, &#39;--set-upstream-to=origin/dials-3.2&#39;, &#39;dials-3.2&#39;],<br>
&gt;           workdir=workdir))<br>
&gt;<br>
&gt;<br>
&gt; I was wondering - what are the constraints in PHENIX builds which mean bouncing around between extremely different DIALS releases is necessary? I note the shift from 2.2 to 3.2 would give a significant change in behaviour to the end user (who ultimately  we may end up having to help with debugging)<br>
&gt;<br>
&gt; If we knew better why these changes were coming through, maybe we could help to keep PHENIX up to date?<br>
&gt;<br>
&gt; I would draw comparisons with CCP4 however they have been stuck in 2.2-series forever now as they’re still not able to support Python3 - will be in CCP4 8.x which will be ready any time now.<br>
&gt;<br>
&gt; I only mention this as it would be really good to start eliminating obsolete versions from distribution as “please go to <a href="http://dials.github.io" rel="noreferrer" target="_blank">dials.github.io</a> and install a non-ancient version” is annoying advice to an end user with a fresh install of PHENIX or CCP4.<br>
&gt;<br>
&gt; Thanks Graeme<br>
<br>
-- <br>
-<br>
Robert Oeffner, Ph.D.<br>
Research Associate, The Read Group<br>
Department of Haematology,<br>
Cambridge Institute for Medical Research<br>
University of Cambridge<br>
Cambridge Biomedical Campus<br>
The Keith Peters Building<br>
Hills Road<br>
Cambridge CB2 0XY<br>
<a href="http://www.cimr.cam.ac.uk/investigators/read/index.html" rel="noreferrer" target="_blank">www.cimr.cam.ac.uk/investigators/read/index.html</a><br>
tel: +44(0)1223 763234<br>
<br>
<br>
-- <br>
This email has been checked for viruses by AVG.<br>
<a href="https://www.avg.com" rel="noreferrer" target="_blank">https://www.avg.com</a><br>
<br>
_______________________________________________<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/mailman/listinfo/cctbxbb</a><br>
</blockquote></div>