Comments (8)
Less urgent than some other warnings on macOS, and it's a temporary issue says the discussion on the linked Cython PR, so let's ignore it for a bit. If it gets too annoying, we should just go fix it in Cython if no one has done so yet.
from scipy.
I'm getting these errors on my M2 mac, but not on Ubuntu. Maybe the generated code is different?
from scipy.
A bit more context would be helpful - what changed here? New compilers, Cython version? Or a recent change to one of these files?
from scipy.
I'm not sure what has changed (or how long these have been around for, I only noticed them recently), but here is my system info:
System Info
In [1]: import sys, scipy, numpy; print(scipy.__version__, numpy.__version__, sys.version_info); scipy.show_config()
1.14.0.dev0+598.b91201c 1.26.3 sys.version_info(major=3, minor=10, micro=13, releaselevel='final', serial=0)
Build Dependencies:
blas:
detection method: pkgconfig
found: true
include directory: /Users/lucascolley/mambaforge/envs/scipy-dev/include
lib directory: /Users/lucascolley/mambaforge/envs/scipy-dev/lib
name: openblas
openblas configuration: USE_64BITINT=0 DYNAMIC_ARCH=0 DYNAMIC_OLDER= NO_CBLAS=
NO_LAPACK=0 NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP=1 VORTEX MAX_THREADS=128
pc file directory: /Users/lucascolley/mambaforge/envs/scipy-dev/lib/pkgconfig
version: 0.3.24
lapack:
detection method: pkgconfig
found: true
include directory: /Users/lucascolley/mambaforge/envs/scipy-dev/include
lib directory: /Users/lucascolley/mambaforge/envs/scipy-dev/lib
name: openblas
openblas configuration: USE_64BITINT=0 DYNAMIC_ARCH=0 DYNAMIC_OLDER= NO_CBLAS=
NO_LAPACK=0 NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP=1 VORTEX MAX_THREADS=128
pc file directory: /Users/lucascolley/mambaforge/envs/scipy-dev/lib/pkgconfig
version: 0.3.24
pybind11:
detection method: pkgconfig
include directory: /Users/lucascolley/mambaforge/envs/scipy-dev/include
name: pybind11
version: 2.11.1
Compilers:
c:
args: -ftree-vectorize, -fPIC, -fstack-protector-strong, -O2, -pipe, -isystem,
/Users/lucascolley/mambaforge/envs/scipy-dev/include, -D_FORTIFY_SOURCE=2, -isystem,
/Users/lucascolley/mambaforge/envs/scipy-dev/include
commands: arm64-apple-darwin20.0.0-clang
linker: ld64
linker args: -Wl,-headerpad_max_install_names, -Wl,-dead_strip_dylibs, -Wl,-rpath,/Users/lucascolley/mambaforge/envs/scipy-dev/lib,
-L/Users/lucascolley/mambaforge/envs/scipy-dev/lib, -ftree-vectorize, -fPIC,
-fstack-protector-strong, -O2, -pipe, -isystem, /Users/lucascolley/mambaforge/envs/scipy-dev/include,
-D_FORTIFY_SOURCE=2, -isystem, /Users/lucascolley/mambaforge/envs/scipy-dev/include
name: clang
version: 16.0.6
c++:
args: -ftree-vectorize, -fPIC, -fstack-protector-strong, -O2, -pipe, -stdlib=libc++,
-fvisibility-inlines-hidden, -fmessage-length=0, -isystem, /Users/lucascolley/mambaforge/envs/scipy-dev/include,
-D_FORTIFY_SOURCE=2, -isystem, /Users/lucascolley/mambaforge/envs/scipy-dev/include
commands: arm64-apple-darwin20.0.0-clang++
linker: ld64
linker args: -Wl,-headerpad_max_install_names, -Wl,-dead_strip_dylibs, -Wl,-rpath,/Users/lucascolley/mambaforge/envs/scipy-dev/lib,
-L/Users/lucascolley/mambaforge/envs/scipy-dev/lib, -ftree-vectorize, -fPIC,
-fstack-protector-strong, -O2, -pipe, -stdlib=libc++, -fvisibility-inlines-hidden,
-fmessage-length=0, -isystem, /Users/lucascolley/mambaforge/envs/scipy-dev/include,
-D_FORTIFY_SOURCE=2, -isystem, /Users/lucascolley/mambaforge/envs/scipy-dev/include
name: clang
version: 16.0.6
cython:
commands: cython
linker: cython
name: cython
version: 3.0.9
fortran:
args: -march=armv8.3-a, -ftree-vectorize, -fPIC, -fno-stack-protector, -O2, -pipe,
-isystem, /Users/lucascolley/mambaforge/envs/scipy-dev/include
commands: /Users/lucascolley/mambaforge/envs/scipy-dev/bin/arm64-apple-darwin20.0.0-gfortran
linker: ld64
linker args: -Wl,-headerpad_max_install_names, -Wl,-dead_strip_dylibs, -Wl,-rpath,/Users/lucascolley/mambaforge/envs/scipy-dev/lib,
-L/Users/lucascolley/mambaforge/envs/scipy-dev/lib, -march=armv8.3-a, -ftree-vectorize,
-fPIC, -fno-stack-protector, -O2, -pipe, -isystem, /Users/lucascolley/mambaforge/envs/scipy-dev/include
name: gcc
version: 12.3.0
pythran:
include directory: ../../../mambaforge/envs/scipy-dev/lib/python3.10/site-packages/pythran
version: 0.14.0
Machine Information:
build:
cpu: aarch64
endian: little
family: aarch64
system: darwin
cross-compiled: false
host:
cpu: aarch64
endian: little
family: aarch64
system: darwin
Python Information:
path: /Users/lucascolley/mambaforge/envs/scipy-dev/bin/python3.10
version: '3.10'
from scipy.
Oh wait, this is Cython-generated code. I see that I've upgraded to Cython 3.1.0a0
on my macOS machine. Can you see if that makes this go away?
from scipy.
I see that I've upgraded to Cython 3.1.0a0 on my macOS machine. Can you see if that makes this go away?
Looks like that isn't on conda-forge yet, let me spin up a new env ah, a0
means pre-release
from scipy.
I see that I've upgraded to Cython 3.1.0a0 on my macOS machine. Can you see if that makes this go away?
No, they are still here with Cython latest main
.
from scipy.
Okay, this is visible with Clang on macOS, because it doesn't understand the GCC-specific pragma. It's not fixed in Cython master, discussion at cython/cython#6039 (comment).
from scipy.
Related Issues (20)
- BUG: special: Inconsistent values for `scipy.special.ndtri` across operating systems HOT 2
- ENH: special: add log of wright_bessel
- Query: pickling across SciPy versions HOT 11
- MAINT/STY: fix UP031, UP032 linter errors HOT 2
- DOC: document switch from mailing list to discourse HOT 8
- BUG: Sliding is applied when using median as pivot in cKDTree, should only be used for midpoint
- BUG: `refguide-check` incorrectly flags references to equations in docstrings HOT 2
- BUG:linalg:interpolative: Inputs are not mapped to compatible dtypes
- BUG: spatial: long hangs using Qhull in SciPy 1.13.0, in Colour CI HOT 13
- DOC: dual_annealing optimizer does not pass bounds to minimizer when minimizer_kwargs is partially given HOT 3
- ENH: generic_filter supports axes HOT 1
- BUG: scipy 'minimize' with method='trust-constr' with equality constraints raises ValueError('expected square matrix') HOT 8
- DOC: Suggested improvement to interp2d transition guide HOT 2
- DOC: signal: add an example cross-spectrogram application HOT 4
- BUG: scipy.spatial.Delaunay, scipy.interpolate.LinearNDInterpolator segfault on invalid shapes HOT 4
- BUG: io: `loadmat` does not load the full file HOT 4
- DOC: Use full page width for HTML documentation HOT 4
- BUG: stats.levy_stable: incorrect logpdf values for beta == +-1
- DOC: Specify cut-off frequency in firwin as half-ampltude vs half-power
- BUG: stats: Two new XSLOW test failures HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scipy.