On Mon, 6 Feb 2023, James Cook wrote:
> Daniel Dickman <[email protected]> writes:
> > Diff below updates scipy to the 1.6.x series.
> >
> > With more work, it's possible to update to newer versions of scipy, but
> > for now I went for a more conservative update that doesn't change as much
> > as some of the newer versions change (e.g. 1.7 starts to use pythran, 1.8
> > makes gcc 6.3 the minimum compiler, 1.9 switches the build to meson,
> > etc..)
> >
> > Tested on amd64 and all reverse deps were built.
>
> scipy no longer works for me, though it looks like the blame is on
> numpy:
>
> moth$ python3
> Python 3.10.9 (main, Feb 2 2023, 05:09:30) [Clang 13.0.0 ] on openbsd7
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import scipy
> /usr/local/lib/python3.10/site-packages/scipy/__init__.py:138: UserWarning: A
> NumPy version >=1.16.5 and <1.23.0 is required for this version of SciPy
> (detected version 1.24.1)
> warnings.warn(f"A NumPy version >={np_minversion} and <{np_maxversion} is
> required for this version of "
>
> This is on amd64 -current; I just ran pkg_add -u scipy a few minutes ago
> in case the problem didn't get fixed since the last time I tried.
>
> --
> James
>
It's just a warning, right? It works for me here.
If something isn't working on your end can you share a code snippet?