Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid deprecated BLAS.vendor() in MKL conflict check #950

Merged
merged 3 commits into from Mar 3, 2022

Conversation

dnadlinger
Copy link
Contributor

Patch as suggested by Carsten Bauer in #922.


As discussed in #922, the new BLAS trampoline magic might allow us to avoid this issue altogether, but this is nontrivial, as it would involve loading MKL in two different configurations even if it did work (the libtrampoline author wasn't sure about that either). For now, this avoids the annoying warning every time PyCall is loaded.

Patch as suggested by Carsten Bauer in JuliaPy#922.

GitHub: Fixes JuliaPy#922.
src/numpy.jl Outdated Show resolved Hide resolved
Co-authored-by: Mosè Giordano <giordano@users.noreply.github.com>
@codecov-commenter
Copy link

codecov-commenter commented Jan 24, 2022

Codecov Report

Merging #950 (4938dae) into master (e3e3008) will decrease coverage by 0.00%.
The diff coverage is 75.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #950      +/-   ##
==========================================
- Coverage   68.33%   68.33%   -0.01%     
==========================================
  Files          20       20              
  Lines        2018     2021       +3     
==========================================
+ Hits         1379     1381       +2     
- Misses        639      640       +1     
Flag Coverage Δ
unittests 68.33% <75.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/numpy.jl 75.30% <75.00%> (-0.34%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e3e3008...4938dae. Read the comment docs.

@MilesCranmer
Copy link
Contributor

Can this be merged?

@bkamins
Copy link

bkamins commented Mar 1, 2022

bump

src/numpy.jl Outdated Show resolved Hide resolved
@tkf tkf enabled auto-merge (squash) March 3, 2022 05:27
@tkf tkf mentioned this pull request Mar 3, 2022
@tkf tkf closed this Mar 3, 2022
auto-merge was automatically disabled March 3, 2022 06:32

Pull request was closed

@tkf tkf reopened this Mar 3, 2022
@tkf tkf enabled auto-merge (squash) March 3, 2022 06:33
@tkf tkf merged commit 85a11cd into JuliaPy:master Mar 3, 2022
@tkf
Copy link
Member

tkf commented Mar 3, 2022

Registering: JuliaRegistries/General#55870

@dnadlinger dnadlinger deleted the avoid-blas-vendor-deprecation branch March 3, 2022 11:08
@MilesCranmer
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants