Created attachment 214364 [details] Patch to upgrade SciPy to 1.2.3 - Upgrade SciPy to 1.2.3 Release notes at https://github.com/scipy/scipy/releases/tag/v1.2.3 - Register the dependency to openblas (inherited from NumPy) - Add a test target.
Created attachment 214365 [details] Poudriere log.
(In reply to Thierry Thomas from comment #0) > - Register the dependency to openblas (inherited from NumPy) It should not be added as it depends on what option is chosen while building py-numpy. For example, a user chose ATLAS may encounter the conflict between atlas and openblas. from math/py-numpy/Makefile: OPTIONS_SINGLE_BLASLIB= ATLAS NETLIB OPENBLAS OPTIONS_DEFAULT= OPENBLAS SUITESPARSE
(In reply to Sunpoet Po-Chuan Hsieh from comment #2) This dependency is added to make the package coherent. Since OpenBLAS is the default for NumPy, SciPy should use it. For ports, this is a bit different: SciPy is smart enough to detect every BLAS package installed on the machine (it will even catch math/blis) and link against them. Of course, if the user builds NumPy with a BLAS library, we can expect that this same library is still installed on the machine when SciPy is built, but this could produce a mess when the dependencies are registered! Such things may happen when ports are built on a non-clean environment, and it is often difficult to prevent them.
Created attachment 220300 [details] scipy154.patch Let's upgrade to 1.5.4, which is compatible with Python 3.9.
*** Bug 251753 has been marked as a duplicate of this bug. ***