Open samuela opened 2 years ago
The comment here suggests that vendor()
has been removed since multiple vendors can be loaded simultaneously. Furthermore the vendor()
function only ever returns :openblas
or :openblas64
, so I think the whole if block here
https://github.com/JuliaPy/PyCall.jl/blob/9a084eb47c7176242893dd18a1782a1114cef02c/src/numpy.jl#L67-L76 can be removed.
Same issue for me
julia> versioninfo()
Julia Version 1.7.0
Commit 3bf9d17731 (2021-11-30 12:12 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i5-10400T CPU @ 2.00GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-12.0.1 (ORCJIT, skylake)
Warning: `vendor()` is deprecated, use `BLAS.get_config()` and inspect the output instead
│ caller = npyinitialize() at numpy.jl:67
└ @ PyCall C:\Users\admin\.julia\packages\PyCall\L0fLP\src\numpy.jl:67
I am getting a similar warning message while using PyCall v1.93.0
on Julia 1.7.
Despite of this warning, I am able to get the job done without any trouble.
PR is here: #950.
It looks like the
vendor()
function is deprecated in the following line of code:https://github.com/JuliaPy/PyCall.jl/blob/9a084eb47c7176242893dd18a1782a1114cef02c/src/numpy.jl#L67
I'm on python 3.9.9, numpy 1.21.4, Julia 1.7.1, and [438e738f] PyCall v1.93.0. This is running on NixOS 21.11.
Here's my shell.nix to reproduce the whole thing: