<div dir="ltr">Hi, <div><br></div><div>  I really don&#39;t understand, how to properly create this deactivate hack due to reverse nature of dependency chain.</div><div>  py-ipython is a prerequisite for py-ipyparallel, but not vise versa. I think that the real root of this problem is the ugly shortcut variant named &#39;parallel&#39;, which creates circular dependency for old &#39;py-ipython +parallel&#39; (was provided as attempt to simplify transition from ipython 3.x to ipython 4.x).</div><div><br></div><div>  Note: old overbloated ipython 3.x was splitted into several packages (ipyparallel, notebook and etc.), and now old py-ipython port is functionally more or less equivalent to new meta-port named py-jupyter.</div><div>  </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 23, 2015 at 7:01 PM, Clemens Lang <span dir="ltr">&lt;<a href="mailto:cal@macports.org" target="_blank">cal@macports.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
----- On 21 Aug, 2015, at 22:42,  <a href="mailto:stromnov@macports.org">stromnov@macports.org</a> wrote:<br>
<br>
&gt; [139620] trunk/dports/python<br>
&gt; Revision 139620<br>
&gt; Author <a href="mailto:stromnov@macports.org">stromnov@macports.org</a><br>
&gt; Date 2015-08-21 13:42:53 -0700 (Fri, 21 Aug 2015)<br>
&gt; Log Message py-ipython: update to version 4.0.0 (#48580)<br>
<br>
Because this update moves the file<br>
  /opt/local/Library/Frameworks/Python.framework/Versions/${python.branch}/bin/ipcluster<br>
from py-ipython to py-ipyparallel, it leads to the following error<br>
during the upgrade:<br>
<br>
---&gt;  Activating py27-ipyparallel @4.0.2_0<br>
Error: Failed to activate py27-ipyparallel: Image error: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/ipcluster is being used by the active py27-ipython port.  Please deactivate this port first, or use &#39;port -f activate py27-ipyparallel&#39; to force the activation.<br>
Error: See /opt/local/var/macports/logs/_opt_dports_python_py-ipyparallel/py27-ipyparallel/main.log for details.<br>
<br>
You will have to add the deactivate hack to py27-ipyparallel. Follow<br>
<a href="http://trac.macports.org/wiki/PortfileRecipes#deactivatehack" rel="noreferrer" target="_blank">http://trac.macports.org/wiki/PortfileRecipes#deactivatehack</a>, which<br>
explains the details.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Clemens Lang<br>
</font></span></blockquote></div><br></div>