<p dir="auto">Several LAPACK routines have been deprecated in the current development of LAPACK.<br>
NOTE that one can still force the addition of the routines, but the default is not to add the symbols to the LAPACK library table.</p>
<p dir="auto">I am not sure how deprecation symbols should be handled in scipy, hence I refrain from beginning a PR.</p>
<p dir="auto">The bug arises when trying to import scipy.linalg where it errors out due to missing symbols (obviously).</p>
<p dir="auto">Currently my own work-around are these steps:</p>
<ol dir="auto">
<li><code class="notranslate">sed -i '/[sdcz]gegs/d' scipy/linalg/cython_lapack_signatures.txt</code>, remove signatures<br>
Note that this should also be applied to alle these routines as well:
<ul dir="auto">
<li>gegv</li>
<li>gelsx</li>
<li>geqpf</li>
<li>ggsvd</li>
<li>ggsvp</li>
<li>latzm</li>
<li>lahrd</li>
<li>tzrqf</li>
</ul>
</li>
<li><code class="notranslate">sed -i '/2[c]*&gt;gegv/{N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;N;d}' scipy/linalg/flapack.pyf.src</code>, remove interfaces for f2py (only the gegv routine is in the pyf source)</li>
<li><code class="notranslate">python _cython_wrapper_generators.py</code>, regenerate <code class="notranslate">cython_lapack.pxd</code> from signatures</li>
<li><code class="notranslate">python tools/cythonize.py</code>, update the cython_lapack.c file</li>
</ol>
<p dir="auto">and it works again.</p>
<p dir="auto">Possibly checking the LAPACK library for the corresponding interfaces would be sufficient to decide whether the interface should be added or not.</p>
<p dir="auto">This was originally planned in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="664043707" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/12603" data-hovercard-type="pull_request" data-hovercard-url="/scipy/scipy/pull/12603/hovercard" href="https://github.com/scipy/scipy/pull/12603">#12603</a> already but was then weakened to a doc-only deprecation in <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/scipy/scipy/commit/c88177cd5e43117628a440f33ccabc7efd35beac/hovercard" href="https://github.com/scipy/scipy/commit/c88177cd5e43117628a440f33ccabc7efd35beac"><tt>c88177c</tt></a> based on <a href="https://github.com/scipy/scipy/pull/12323#issuecomment-662561285" data-hovercard-type="pull_request" data-hovercard-url="/scipy/scipy/pull/12323/hovercard">feedback</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rgommers/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rgommers">@rgommers</a>:</p>
<blockquote>
<p dir="auto">Can you doc-deprecate it instead? A real deprecation in the absence of bugs or other major issues seems a bit gratuitous.</p>
</blockquote>
<p dir="auto">I think by now, this could be reconsidered, as having duplicate methods is not ideal either...</p>