What happened?
pip install chromadb is failing on Python 3.13.1 for me on OSX.
Downgrading to 3.12 led to a successful installation.
The fix proposed in this discussion did not work - running pip install 'numpy<2.0.0' failed.
Versions
Chroma 0.6.3, Python 3.13.1
Relevant log output
[184/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_mapping.c.o
[185/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_shape.c.o
FAILED: numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_shape.c.o
cc -Inumpy/core/_multiarray_umath.cpython-313t-darwin.so.p -Inumpy/core -I../numpy/core -Inumpy/core/include -I../numpy/core/include -I../numpy/core/src/common -I../numpy/core/src/multiarray -I../numpy/core/src/npymath -I../numpy/core/src/umath -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework/Headers -I/Users/philip/.asdf/installs/python/3.13.1t/include/python3.13t -I/private/var/folders/20/4vdynycn1tg_ysq0_9_q_57m0000gn/T/pip-install-8d0y6b5o/numpy_a0da723d70234dc588561e0b91b6745c/.mesonpy-sa4p0c0l/meson_cpu -fvisibility=hidden -fcolor-diagnostics -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -fno-strict-aliasing -ftrapping-math -DNPY_HAVE_CLANG_FPSTRICT -DNPY_HAVE_NEON_VFPV4 -DNPY_HAVE_NEON_FP16 -DNPY_HAVE_NEON -DNPY_HAVE_ASIMD -F/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework -DACCELERATE_NEW_LAPACK -DHAVE_CBLAS '-DBLAS_SYMBOL_SUFFIX=$NEWLAPACK' -DNPY_INTERNAL_BUILD -DHAVE_NPY_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -MD -MQ numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_shape.c.o -MF numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_shape.c.o.d -o numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_shape.c.o -c ../numpy/core/src/multiarray/shape.c
../numpy/core/src/multiarray/shape.c:108:22: error: no member named 'ob_refcnt' in 'struct _object'
108 | refcnt = PyArray_REFCOUNT(self);
| ^~~~~~~~~~~~~~~~~~~~~~
../numpy/core/include/numpy/ndarrayobject.h:102:53: note: expanded from macro 'PyArray_REFCOUNT'
102 | #define PyArray_REFCOUNT(obj) (((PyObject *)(obj))->ob_refcnt)
| ~~~~~~~~~~~~~~~~~~~ ^
1 error generated.
[186/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_nditer_pywrap.c.o
[187/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_nditer_constr.c.o
[188/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_typeinfo.c.o
[189/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_temp_elide.c.o
[190/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_strfuncs.c.o
[191/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_item_selection.c.o
../numpy/core/src/multiarray/item_selection.c:2361:1: warning: unused function 'count_nonzero_bytes_384' [-Wunused-function]
2361 | count_nonzero_bytes_384(const npy_uint64 * w)
| ^~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[192/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_scalarapi.c.o
[193/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_multiarraymodule.c.o
[194/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/meson-generated_einsum_sumprod.c.o
[195/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/meson-generated_arraytypes.c.o
[196/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/meson-generated_lowlevel_strided_loops.c.o
[197/299] Compiling C object numpy/core/libloops_autovec.dispatch.h_baseline.a.p/meson-generated_loops_autovec.dispatch.c.o
ninja: build stopped: subcommand failed.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
on pip install 'numpy<.2.0.0':
pip install 'numpy<2.0.0'
Collecting numpy<2.0.0
Using cached numpy-1.26.4.tar.gz (15.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [730 lines of output]
+ /Users/philip/.asdf/installs/python/3.13.1t/bin/python3.13 /private/var/folders/20/4vdynycn1tg_ysq0_9_q_57m0000gn/T/pip-install-6qzihf2c/numpy_964eff098c5842b1a4c924770a5de84f/vendored-meson/meson/meson.py setup /private/var/folders/20/4vdynycn1tg_ysq0_9_q_57m0000gn/T/pip-install-6qzihf2c/numpy_964eff098c5842b1a4c924770a5de84f /private/var/folders/20/4vdynycn1tg_ysq0_9_q_57m0000gn/T/pip-install-6qzihf2c/numpy_964eff098c5842b1a4c924770a5de84f/.mesonpy-iy5tadgk -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/private/var/folders/20/4vdynycn1tg_ysq0_9_q_57m0000gn/T/pip-install-6qzihf2c/numpy_964eff098c5842b1a4c924770a5de84f/.mesonpy-iy5tadgk/meson-python-native-file.ini
The Meson build system
Version: 1.2.99
Source dir: /private/var/folders/20/4vdynycn1tg_ysq0_9_q_57m0000gn/T/pip-install-6qzihf2c/numpy_964eff098c5842b1a4c924770a5de84f
Build dir: /private/var/folders/20/4vdynycn1tg_ysq0_9_q_57m0000gn/T/pip-install-6qzihf2c/numpy_964eff098c5842b1a4c924770a5de84f/.mesonpy-iy5tadgk
Build type: native build
Project name: NumPy
Project version: 1.26.4
C compiler for the host machine: cc (clang 16.0.0 "Apple clang version 16.0.0 (clang-1600.0.26.6)")
C linker for the host machine: cc ld64 1115.7.3
C++ compiler for the host machine: c++ (clang 16.0.0 "Apple clang version 16.0.0 (clang-1600.0.26.6)")
C++ linker for the host machine: c++ ld64 1115.7.3
Cython compiler for the host machine: cython (cython 3.0.11)
Host machine cpu family: aarch64
Host machine cpu: aarch64
Program python found: YES (/Users/philip/.asdf/installs/python/3.13.1t/bin/python3.13)
Found pkg-config: /opt/homebrew/bin/pkg-config (2.3.0)
Run-time dependency python found: YES 3.13
Has header "Python.h" with dependency python-3.13t: YES
Compiler for C supports arguments -fno-strict-aliasing: YES
Compiler for C supports arguments -ftrapping-math: YES
Compiler for C supports link arguments -Wl,-ld_classic: YES
Message: During parsing cpu-dispatch: The following CPU features were ignored due to platform incompatibility or lack of support:
"XOP FMA4"
Test features "NEON NEON_FP16 NEON_VFPV4 ASIMD" : Supported
Test features "ASIMDHP" : Supported
Test features "ASIMDFHM" : Supported
Configuring npy_cpu_dispatch_config.h using configuration
Message:
CPU Optimization Options
baseline:
Requested : min
Enabled : NEON NEON_FP16 NEON_VFPV4 ASIMD
dispatch:
Requested : max -xop -fma4
Enabled : ASIMDHP ASIMDFHM
Library m found: YES
Run-time dependency scipy-openblas found: NO (tried pkgconfig)
Run-time dependency mkl found: NO (tried pkgconfig and system)
Run-time dependency mkl found: NO (tried pkgconfig and system)
Run-time dependency accelerate found: YES
../numpy/meson.build:124: WARNING: Project targets '>=1.2.99' but uses feature introduced in '1.3.0': dep 'accelerate' custom lookup.
Message: BLAS symbol suffix: $NEWLAPACK
Program _build_utils/process_src_template.py found: YES (/Users/philip/.asdf/installs/python/3.13.1t/bin/python3.13 /private/var/folders/20/4vdynycn1tg_ysq0_9_q_57m0000gn/T/pip-install-6qzihf2c/numpy_964eff098c5842b1a4c924770a5de84f/numpy/_build_utils/process_src_template.py)
Program _build_utils/tempita.py found: YES (/Users/philip/.asdf/installs/python/3.13.1t/bin/python3.13 /private/var/folders/20/4vdynycn1tg_ysq0_9_q_57m0000gn/T/pip-install-6qzihf2c/numpy_964eff098c5842b1a4c924770a5de84f/numpy/_build_utils/tempita.py)
Configuring __config__.py using configuration
Checking for size of "short" : 2
Checking for size of "int" : 4
Checking for size of "long" : 8
Checking for size of "long long" : 8
Checking for size of "float" : 4
Checking for size of "double" : 8
Checking for size of "long double" : 8
Checking for size of "off_t" : 8
Checking for size of "Py_intptr_t" with dependency python-3.13t: 8
Checking for size of "PY_LONG_LONG" with dependency python-3.13t: 8
Has header "complex.h" : YES
Checking for type "complex float" : YES
Checking for size of "struct {float __x; float __y;}" : 8
Checking for type "complex double" : YES
Checking for size of "struct {double __x; double __y;}" : 16
Checking for type "complex long double" : YES
Checking for size of "struct {long double __x; long double __y;}" : 16
Checking for function "sin" with dependency -lm: YES
Checking for function "cos" with dependency -lm: YES
Checking for function "tan" with dependency -lm: YES
Checking for function "sinh" with dependency -lm: YES
Checking for function "cosh" with dependency -lm: YES
Checking for function "tanh" with dependency -lm: YES
Checking for function "fabs" with dependency -lm: YES
Checking for function "floor" with dependency -lm: YES
Checking for function "ceil" with dependency -lm: YES
Checking for function "sqrt" with dependency -lm: YES
Checking for function "log10" with dependency -lm: YES
Checking for function "log" with dependency -lm: YES
Checking for function "exp" with dependency -lm: YES
Checking for function "asin" with dependency -lm: YES
Checking for function "acos" with dependency -lm: YES
Checking for function "atan" with dependency -lm: YES
Checking for function "fmod" with dependency -lm: YES
Checking for function "modf" with dependency -lm: YES
Checking for function "frexp" with dependency -lm: YES
Checking for function "ldexp" with dependency -lm: YES
Checking for function "expm1" with dependency -lm: YES
Checking for function "log1p" with dependency -lm: YES
Checking for function "acosh" with dependency -lm: YES
Checking for function "asinh" with dependency -lm: YES
Checking for function "atanh" with dependency -lm: YES
Checking for function "rint" with dependency -lm: YES
Checking for function "trunc" with dependency -lm: YES
Checking for function "exp2" with dependency -lm: YES
Checking for function "copysign" with dependency -lm: YES
Checking for function "nextafter" with dependency -lm: YES
Checking for function "cbrt" with dependency -lm: YES
Checking for function "log2" with dependency -lm: YES
Checking for function "pow" with dependency -lm: YES
Checking for function "hypot" with dependency -lm: YES
Checking for function "atan2" with dependency -lm: YES
Checking for function "csin" with dependency -lm: YES
Checking for function "csinh" with dependency -lm: YES
Checking for function "ccos" with dependency -lm: YES
Checking for function "ccosh" with dependency -lm: YES
Checking for function "ctan" with dependency -lm: YES
Checking for function "ctanh" with dependency -lm: YES
Checking for function "creal" with dependency -lm: YES
Checking for function "cimag" with dependency -lm: YES
Checking for function "conj" with dependency -lm: YES
Checking for function "strtoll" : YES
Checking for function "strtoull" : YES
Checking for function "cabs" with dependency -lm: YES
Checking for function "cabsf" with dependency -lm: YES
Checking for function "cabsl" with dependency -lm: YES
Checking for function "cacos" with dependency -lm: YES
Checking for function "cacosf" with dependency -lm: YES
Checking for function "cacosl" with dependency -lm: YES
Checking for function "cacosh" with dependency -lm: YES
Checking for function "cacoshf" with dependency -lm: YES
Checking for function "cacoshl" with dependency -lm: YES
Checking for function "carg" with dependency -lm: YES
Checking for function "cargf" with dependency -lm: YES
Checking for function "cargl" with dependency -lm: YES
Checking for function "casin" with dependency -lm: YES
Checking for function "casinf" with dependency -lm: YES
Checking for function "casinl" with dependency -lm: YES
Checking for function "casinh" with dependency -lm: YES
Checking for function "casinhf" with dependency -lm: YES
Checking for function "casinhl" with dependency -lm: YES
Checking for function "catan" with dependency -lm: YES
Checking for function "catanf" with dependency -lm: YES
Checking for function "catanl" with dependency -lm: YES
Checking for function "catanh" with dependency -lm: YES
Checking for function "catanhf" with dependency -lm: YES
Checking for function "catanhl" with dependency -lm: YES
Checking for function "cexp" with dependency -lm: YES
Checking for function "cexpf" with dependency -lm: YES
Checking for function "cexpl" with dependency -lm: YES
Checking for function "clog" with dependency -lm: YES
Checking for function "clogf" with dependency -lm: YES
Checking for function "clogl" with dependency -lm: YES
Checking for function "cpow" with dependency -lm: YES
Checking for function "cpowf" with dependency -lm: YES
Checking for function "cpowl" with dependency -lm: YES
Checking for function "csqrt" with dependency -lm: YES
Checking for function "csqrtf" with dependency -lm: YES
Checking for function "csqrtl" with dependency -lm: YES
Checking for function "csin" with dependency -lm: YES (cached)
Checking for function "csinf" with dependency -lm: YES
Checking for function "csinl" with dependency -lm: YES
Checking for function "csinh" with dependency -lm: YES (cached)
Checking for function "csinhf" with dependency -lm: YES
Checking for function "csinhl" with dependency -lm: YES
Checking for function "ccos" with dependency -lm: YES (cached)
Checking for function "ccosf" with dependency -lm: YES
Checking for function "ccosl" with dependency -lm: YES
Checking for function "ccosh" with dependency -lm: YES (cached)
Checking for function "ccoshf" with dependency -lm: YES
Checking for function "ccoshl" with dependency -lm: YES
Checking for function "ctan" with dependency -lm: YES (cached)
Checking for function "ctanf" with dependency -lm: YES
Checking for function "ctanl" with dependency -lm: YES
Checking for function "ctanh" with dependency -lm: YES (cached)
Checking for function "ctanhf" with dependency -lm: YES
Checking for function "ctanhl" with dependency -lm: YES
Checking for function "isfinite" with dependency -lm: YES
Header "Python.h" has symbol "isfinite" with dependency python-3.13t: YES
Checking for function "isinf" with dependency -lm: YES
Header "Python.h" has symbol "isinf" with dependency python-3.13t: YES
Checking for function "isnan" with dependency -lm: YES
Header "Python.h" has symbol "isnan" with dependency python-3.13t: YES
Checking for function "signbit" with dependency -lm: YES
Header "Python.h" has symbol "signbit" with dependency python-3.13t: YES
Checking for function "fallocate" : NO
Header "Python.h" has symbol "HAVE_FTELLO" with dependency python-3.13t: YES
Header "Python.h" has symbol "HAVE_FSEEKO" with dependency python-3.13t: YES
Checking for function "backtrace" : YES
Checking for function "madvise" : YES
Has header "features.h" : NO
Has header "xlocale.h" : YES
Has header "dlfcn.h" : YES
Has header "execinfo.h" : YES
Has header "libunwind.h" : YES
Has header "sys/mman.h" : YES
Checking for function "strtold_l" : YES
Compiler for C supports arguments -O3: YES
Has header "endian.h" : NO
Has header "sys/endian.h" : NO
Header "inttypes.h" has symbol "PRIdPTR" : YES
Compiler for C supports function attribute visibility:hidden: YES
Configuring config.h using configuration
Configuring _numpyconfig.h using configuration
Configuring npymath.ini using configuration
Configuring mlib.ini using configuration
Generating multi-targets for "_umath_tests.dispatch.h"
Enabled targets: ASIMDHP, baseline
Generating multi-targets for "argfunc.dispatch.h"
Enabled targets: baseline
Generating multi-targets for "simd_qsort.dispatch.h"
Enabled targets:
Generating multi-targets for "simd_qsort_16bit.dispatch.h"
Enabled targets:
Generating multi-targets for "loops_arithm_fp.dispatch.h"
Enabled targets: baseline
Generating multi-targets for "loops_arithmetic.dispatch.h"
Enabled targets: baseline
Generating multi-targets for "loops_comparison.dispatch.h"
Enabled targets: baseline
Generating multi-targets for "loops_exponent_log.dispatch.h"
Enabled targets: baseline
Generating multi-targets for "loops_hyperbolic.dispatch.h"
Enabled targets: baseline
Generating multi-targets for "loops_logical.dispatch.h"
Enabled targets: baseline
Generating multi-targets for "loops_minmax.dispatch.h"
Enabled targets: baseline
Generating multi-targets for "loops_modulo.dispatch.h"
Enabled targets: baseline
Generating multi-targets for "loops_trigonometric.dispatch.h"
Enabled targets: baseline
Generating multi-targets for "loops_umath_fp.dispatch.h"
Enabled targets: baseline
Generating multi-targets for "loops_unary.dispatch.h"
Enabled targets: baseline
Generating multi-targets for "loops_unary_fp.dispatch.h"
Enabled targets: baseline
Generating multi-targets for "loops_unary_fp_le.dispatch.h"
Enabled targets: baseline
Generating multi-targets for "loops_unary_complex.dispatch.h"
Enabled targets: baseline
Generating multi-targets for "loops_autovec.dispatch.h"
Enabled targets: baseline
Generating multi-targets for "_simd.dispatch.h"
Enabled targets: baseline
Build targets in project: 60
WARNING: Project specifies a minimum meson_version '>=1.2.99' but uses features which were added in newer versions:
* 1.3.0: {'dep 'accelerate' custom lookup'}
NumPy 1.26.4
User defined options
Native files: /private/var/folders/20/4vdynycn1tg_ysq0_9_q_57m0000gn/T/pip-install-6qzihf2c/numpy_964eff098c5842b1a4c924770a5de84f/.mesonpy-iy5tadgk/meson-python-native-file.ini
buildtype : release
b_ndebug : if-release
b_vscrt : md
Found ninja-1.11.1.git.kitware.jobserver-1 at /private/var/folders/20/4vdynycn1tg_ysq0_9_q_57m0000gn/T/pip-build-env-0fy4r9q3/normal/bin/ninja
+ /private/var/folders/20/4vdynycn1tg_ysq0_9_q_57m0000gn/T/pip-build-env-0fy4r9q3/normal/bin/ninja
[1/299] Generating 'numpy/core/_multiarray_tests.cpython-313t-darwin.so.p/_multiarray_tests.c'
[2/299] Generating 'numpy/core/_multiarray_tests.cpython-313t-darwin.so.p/templ_common.h'
[3/299] Generating 'numpy/core/libargfunc.dispatch.h_baseline.a.p/arraytypes.h'
[4/299] Generating numpy/core/_umath_doc_generated with a custom command
[5/299] Generating numpy/core/npy_math_internal.h with a custom command
[6/299] Generating 'numpy/core/_umath_tests.cpython-313t-darwin.so.p/_umath_tests.c'
[7/299] Generating numpy/core/__umath_generated with a custom command
[8/299] Generating 'numpy/core/libnpymath.a.p/npy_math_complex.c'
[9/299] Generating 'numpy/core/libnpymath.a.p/ieee754.c'
[10/299] Generating numpy/__init__.py with a custom command
[11/299] Generating 'numpy/core/libargfunc.dispatch.h_baseline.a.p/npy_sort.h'
[12/299] Generating numpy/__init__.cython-30.pxd with a custom command
[13/299] Generating 'numpy/core/libargfunc.dispatch.h_baseline.a.p/argfunc.dispatch.c'
[14/299] Generating numpy/__init__.pxd with a custom command
[15/299] Generating 'numpy/core/libloops_arithm_fp.dispatch.h_baseline.a.p/loops_utils.h'
[16/299] Generating numpy/core/__ufunc_api with a custom command
[17/299] Generating 'numpy/core/libloops_arithm_fp.dispatch.h_baseline.a.p/loops.h'
[18/299] Generating 'numpy/core/libloops_arithmetic.dispatch.h_baseline.a.p/loops_utils.h'
[19/299] Compiling C object numpy/core/libnpymath.a.p/meson-generated_ieee754.c.o
[20/299] Generating 'numpy/core/libloops_arithm_fp.dispatch.h_baseline.a.p/loops_arithm_fp.dispatch.c'
[21/299] Generating 'numpy/core/libloops_arithmetic.dispatch.h_baseline.a.p/loops_arithmetic.dispatch.c'
[22/299] Compiling C object numpy/core/libnpymath.a.p/meson-generated_npy_math_complex.c.o
[23/299] Generating 'numpy/core/libloops_arithmetic.dispatch.h_baseline.a.p/loops.h'
[24/299] Generating 'numpy/core/libloops_comparison.dispatch.h_baseline.a.p/loops.h'
[25/299] Compiling C object numpy/core/libnpymath.a.p/src_npymath_npy_math.c.o
[26/299] Generating 'numpy/core/libloops_comparison.dispatch.h_baseline.a.p/loops_utils.h'
[27/299] Generating 'numpy/core/libloops_exponent_log.dispatch.h_baseline.a.p/loops_utils.h'
[28/299] Generating 'numpy/core/libloops_exponent_log.dispatch.h_baseline.a.p/loops.h'
[29/299] Generating 'numpy/core/libloops_exponent_log.dispatch.h_baseline.a.p/loops_exponent_log.dispatch.c'
[30/299] Generating 'numpy/core/libloops_hyperbolic.dispatch.h_baseline.a.p/loops.h'
[31/299] Generating 'numpy/core/libloops_hyperbolic.dispatch.h_baseline.a.p/loops_utils.h'
[32/299] Generating 'numpy/core/libloops_comparison.dispatch.h_baseline.a.p/loops_comparison.dispatch.c'
[33/299] Generating 'numpy/core/libloops_hyperbolic.dispatch.h_baseline.a.p/loops_hyperbolic.dispatch.c'
[34/299] Generating 'numpy/core/libloops_logical.dispatch.h_baseline.a.p/loops_logical.dispatch.c'
[35/299] Generating 'numpy/core/libloops_logical.dispatch.h_baseline.a.p/loops.h'
[36/299] Generating 'numpy/core/libloops_minmax.dispatch.h_baseline.a.p/loops.h'
[37/299] Generating 'numpy/core/libloops_logical.dispatch.h_baseline.a.p/loops_utils.h'
[38/299] Generating numpy/core/__multiarray_api with a custom command
[39/299] Generating 'numpy/core/libloops_minmax.dispatch.h_baseline.a.p/loops_utils.h'
[40/299] Generating 'numpy/core/libloops_modulo.dispatch.h_baseline.a.p/loops_modulo.dispatch.c'
[41/299] Generating 'numpy/core/libloops_modulo.dispatch.h_baseline.a.p/loops_utils.h'
[42/299] Generating 'numpy/core/libloops_modulo.dispatch.h_baseline.a.p/loops.h'
[43/299] Generating 'numpy/core/libloops_trigonometric.dispatch.h_baseline.a.p/loops.h'
[44/299] Generating 'numpy/core/libloops_minmax.dispatch.h_baseline.a.p/loops_minmax.dispatch.c'
[45/299] Generating 'numpy/core/libloops_trigonometric.dispatch.h_baseline.a.p/loops_utils.h'
[46/299] Generating 'numpy/core/libloops_trigonometric.dispatch.h_baseline.a.p/loops_trigonometric.dispatch.c'
[47/299] Generating 'numpy/core/libloops_umath_fp.dispatch.h_baseline.a.p/loops_utils.h'
[48/299] Generating 'numpy/core/libloops_umath_fp.dispatch.h_baseline.a.p/loops.h'
[49/299] Generating 'numpy/core/libloops_umath_fp.dispatch.h_baseline.a.p/loops_umath_fp.dispatch.c'
[50/299] Compiling C object numpy/core/lib_umath_tests.dispatch.h_ASIMDHP.a.p/src_umath__umath_tests.dispatch.c.o
[51/299] Compiling C object numpy/core/_umath_tests.cpython-313t-darwin.so.p/src_common_npy_cpu_features.c.o
[52/299] Compiling C object numpy/core/_multiarray_tests.cpython-313t-darwin.so.p/src_common_npy_argparse.c.o
[53/299] Compiling C object numpy/core/lib_umath_tests.dispatch.h_baseline.a.p/src_umath__umath_tests.dispatch.c.o
[54/299] Compiling C object numpy/core/_multiarray_tests.cpython-313t-darwin.so.p/src_common_npy_hashtable.c.o
[55/299] Linking static target numpy/core/lib_umath_tests.dispatch.h_ASIMDHP.a
[56/299] Compiling C object numpy/core/_struct_ufunc_tests.cpython-313t-darwin.so.p/src_umath__struct_ufunc_tests.c.o
[57/299] Compiling C object numpy/core/_operand_flag_tests.cpython-313t-darwin.so.p/src_umath__operand_flag_tests.c.o
[58/299] Linking static target numpy/core/lib_umath_tests.dispatch.h_baseline.a
[59/299] Linking static target numpy/core/lib_umath_tests_mtargets.a
[60/299] Linking target numpy/core/_operand_flag_tests.cpython-313t-darwin.so
ld: warning: -ld_classic is deprecated and will be removed in a future release
[61/299] Linking target numpy/core/_struct_ufunc_tests.cpython-313t-darwin.so
ld: warning: -ld_classic is deprecated and will be removed in a future release
[62/299] Compiling C object numpy/core/_multiarray_tests.cpython-313t-darwin.so.p/src_common_mem_overlap.c.o
[63/299] Compiling C object numpy/core/_umath_tests.cpython-313t-darwin.so.p/meson-generated__umath_tests.c.o
In file included from ../numpy/core/src/umath/_umath_tests.c.src:26:
../numpy/core/include/numpy/experimental_dtype_api.h:177:13: warning: redefinition of typedef 'translate_given_descrs_func' is a C11 feature [-Wtypedef-redefinition]
177 | typedef int translate_given_descrs_func(int nin, int nout,
| ^
../numpy/core/include/numpy/_dtype_api.h:227:13: note: previous definition is here
227 | typedef int translate_given_descrs_func(int nin, int nout,
| ^
In file included from ../numpy/core/src/umath/_umath_tests.c.src:26:
../numpy/core/include/numpy/experimental_dtype_api.h:180:13: warning: redefinition of typedef 'translate_loop_descrs_func' is a C11 feature [-Wtypedef-redefinition]
180 | typedef int translate_loop_descrs_func(int nin, int nout,
| ^
../numpy/core/include/numpy/_dtype_api.h:249:13: note: previous definition is here
249 | typedef int translate_loop_descrs_func(int nin, int nout,
| ^
2 warnings generated.
[64/299] Compiling C++ object numpy/core/libnpymath.a.p/src_npymath_halffloat.cpp.o
[65/299] Compiling C object numpy/core/libloops_exponent_log.dispatch.h_baseline.a.p/meson-generated_loops_exponent_log.dispatch.c.o
In file included from ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src:17:
In file included from ../numpy/core/src/common/lowlevel_strided_loops.h:3:
In file included from ../numpy/core/src/multiarray/common.h:6:
../numpy/core/include/numpy/ndarraytypes.h:308:31: warning: redefinition of typedef 'NpyAuxData' is a C11 feature [-Wtypedef-redefinition]
308 | typedef struct NpyAuxData_tag NpyAuxData;
| ^
../numpy/core/src/umath/loops.h.src:37:31: note: previous definition is here
37 | typedef struct NpyAuxData_tag NpyAuxData;
| ^
In file included from ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src:17:
In file included from ../numpy/core/src/common/lowlevel_strided_loops.h:5:
In file included from ../numpy/core/src/multiarray/array_method.h:14:
../numpy/core/include/numpy/_dtype_api.h:108:3: warning: redefinition of typedef 'PyArrayMethod_Context' is a C11 feature [-Wtypedef-redefinition]
108 | } PyArrayMethod_Context;
| ^
../numpy/core/src/umath/loops.h.src:36:42: note: previous definition is here
36 | typedef struct PyArrayMethod_Context_tag PyArrayMethod_Context;
| ^
2 warnings generated.
[66/299] Linking target numpy/core/_umath_tests.cpython-313t-darwin.so
ld: warning: -ld_classic is deprecated and will be removed in a future release
[67/299] Compiling C object numpy/core/libloops_hyperbolic.dispatch.h_baseline.a.p/meson-generated_loops_hyperbolic.dispatch.c.o
[68/299] Linking static target numpy/core/libnpymath.a
[69/299] Linking static target numpy/core/libloops_exponent_log.dispatch.h_baseline.a
[70/299] Linking static target numpy/core/libloops_hyperbolic.dispatch.h_baseline.a
[71/299] Compiling C object numpy/core/libloops_arithmetic.dispatch.h_baseline.a.p/meson-generated_loops_arithmetic.dispatch.c.o
In file included from ../numpy/core/src/umath/loops_arithmetic.dispatch.c.src:15:
In file included from ../numpy/core/src/common/lowlevel_strided_loops.h:3:
In file included from ../numpy/core/src/multiarray/common.h:6:
../numpy/core/include/numpy/ndarraytypes.h:308:31: warning: redefinition of typedef 'NpyAuxData' is a C11 feature [-Wtypedef-redefinition]
308 | typedef struct NpyAuxData_tag NpyAuxData;
| ^
../numpy/core/src/umath/loops.h.src:37:31: note: previous definition is here
37 | typedef struct NpyAuxData_tag NpyAuxData;
| ^
In file included from ../numpy/core/src/umath/loops_arithmetic.dispatch.c.src:15:
In file included from ../numpy/core/src/common/lowlevel_strided_loops.h:5:
In file included from ../numpy/core/src/multiarray/array_method.h:14:
../numpy/core/include/numpy/_dtype_api.h:108:3: warning: redefinition of typedef 'PyArrayMethod_Context' is a C11 feature [-Wtypedef-redefinition]
108 | } PyArrayMethod_Context;
| ^
../numpy/core/src/umath/loops.h.src:36:42: note: previous definition is here
36 | typedef struct PyArrayMethod_Context_tag PyArrayMethod_Context;
| ^
2 warnings generated.
[72/299] Compiling C object numpy/core/libloops_modulo.dispatch.h_baseline.a.p/meson-generated_loops_modulo.dispatch.c.o
In file included from ../numpy/core/src/umath/loops_modulo.dispatch.c.src:11:
In file included from ../numpy/core/src/common/lowlevel_strided_loops.h:3:
In file included from ../numpy/core/src/multiarray/common.h:6:
../numpy/core/include/numpy/ndarraytypes.h:308:31: warning: redefinition of typedef 'NpyAuxData' is a C11 feature [-Wtypedef-redefinition]
308 | typedef struct NpyAuxData_tag NpyAuxData;
| ^
../numpy/core/src/umath/loops.h.src:37:31: note: previous definition is here
37 | typedef struct NpyAuxData_tag NpyAuxData;
| ^
In file included from ../numpy/core/src/umath/loops_modulo.dispatch.c.src:11:
In file included from ../numpy/core/src/common/lowlevel_strided_loops.h:5:
In file included from ../numpy/core/src/multiarray/array_method.h:14:
../numpy/core/include/numpy/_dtype_api.h:108:3: warning: redefinition of typedef 'PyArrayMethod_Context' is a C11 feature [-Wtypedef-redefinition]
108 | } PyArrayMethod_Context;
| ^
../numpy/core/src/umath/loops.h.src:36:42: note: previous definition is here
36 | typedef struct PyArrayMethod_Context_tag PyArrayMethod_Context;
| ^
2 warnings generated.
[73/299] Compiling C object numpy/core/libloops_logical.dispatch.h_baseline.a.p/meson-generated_loops_logical.dispatch.c.o
In file included from ../numpy/core/src/umath/loops_logical.dispatch.c.src:15:
In file included from ../numpy/core/src/common/lowlevel_strided_loops.h:3:
In file included from ../numpy/core/src/multiarray/common.h:6:
../numpy/core/include/numpy/ndarraytypes.h:308:31: warning: redefinition of typedef 'NpyAuxData' is a C11 feature [-Wtypedef-redefinition]
308 | typedef struct NpyAuxData_tag NpyAuxData;
| ^
../numpy/core/src/umath/loops.h.src:37:31: note: previous definition is here
37 | typedef struct NpyAuxData_tag NpyAuxData;
| ^
In file included from ../numpy/core/src/umath/loops_logical.dispatch.c.src:15:
In file included from ../numpy/core/src/common/lowlevel_strided_loops.h:5:
In file included from ../numpy/core/src/multiarray/array_method.h:14:
../numpy/core/include/numpy/_dtype_api.h:108:3: warning: redefinition of typedef 'PyArrayMethod_Context' is a C11 feature [-Wtypedef-redefinition]
108 | } PyArrayMethod_Context;
| ^
../numpy/core/src/umath/loops.h.src:36:42: note: previous definition is here
36 | typedef struct PyArrayMethod_Context_tag PyArrayMethod_Context;
| ^
2 warnings generated.
[74/299] Linking static target numpy/core/libloops_arithmetic.dispatch.h_baseline.a
[75/299] Linking static target numpy/core/libloops_modulo.dispatch.h_baseline.a
[76/299] Linking static target numpy/core/libloops_logical.dispatch.h_baseline.a
[77/299] Compiling C object numpy/core/libloops_trigonometric.dispatch.h_baseline.a.p/meson-generated_loops_trigonometric.dispatch.c.o
[78/299] Compiling C object numpy/core/_multiarray_tests.cpython-313t-darwin.so.p/meson-generated__multiarray_tests.c.o
[79/299] Compiling C object numpy/core/libloops_umath_fp.dispatch.h_baseline.a.p/meson-generated_loops_umath_fp.dispatch.c.o
[80/299] Generating 'numpy/core/libloops_unary.dispatch.h_baseline.a.p/loops.h'
[81/299] Compiling C object numpy/core/_rational_tests.cpython-313t-darwin.so.p/src_umath__rational_tests.c.o
[82/299] Generating 'numpy/core/libloops_unary.dispatch.h_baseline.a.p/loops_utils.h'
[83/299] Linking static target numpy/core/libloops_trigonometric.dispatch.h_baseline.a
[84/299] Linking static target numpy/core/libloops_umath_fp.dispatch.h_baseline.a
[85/299] Linking target numpy/core/_multiarray_tests.cpython-313t-darwin.so
ld: warning: -ld_classic is deprecated and will be removed in a future release
[86/299] Linking target numpy/core/_rational_tests.cpython-313t-darwin.so
ld: warning: -ld_classic is deprecated and will be removed in a future release
[87/299] Generating 'numpy/core/libloops_unary_fp.dispatch.h_baseline.a.p/loops_utils.h'
[88/299] Generating 'numpy/core/libloops_unary_fp.dispatch.h_baseline.a.p/loops.h'
[89/299] Generating 'numpy/core/libloops_unary.dispatch.h_baseline.a.p/loops_unary.dispatch.c'
[90/299] Generating 'numpy/core/libloops_unary_fp_le.dispatch.h_baseline.a.p/loops_utils.h'
[91/299] Generating 'numpy/core/libloops_unary_fp.dispatch.h_baseline.a.p/loops_unary_fp.dispatch.c'
[92/299] Generating 'numpy/core/libloops_unary_fp_le.dispatch.h_baseline.a.p/loops_unary_fp_le.dispatch.c'
[93/299] Generating 'numpy/core/libloops_unary_fp_le.dispatch.h_baseline.a.p/loops.h'
[94/299] Generating 'numpy/core/libloops_unary_complex.dispatch.h_baseline.a.p/loops.h'
[95/299] Generating 'numpy/core/libloops_unary_complex.dispatch.h_baseline.a.p/loops_unary_complex.dispatch.c'
[96/299] Compiling C object numpy/core/libargfunc.dispatch.h_baseline.a.p/meson-generated_argfunc.dispatch.c.o
[97/299] Generating 'numpy/core/libloops_unary_complex.dispatch.h_baseline.a.p/loops_utils.h'
[98/299] Compiling C object numpy/core/libloops_arithm_fp.dispatch.h_baseline.a.p/meson-generated_loops_arithm_fp.dispatch.c.o
In file included from ../numpy/core/src/umath/loops_arithm_fp.dispatch.c.src:15:
In file included from ../numpy/core/src/common/lowlevel_strided_loops.h:3:
In file included from ../numpy/core/src/multiarray/common.h:6:
../numpy/core/include/numpy/ndarraytypes.h:308:31: warning: redefinition of typedef 'NpyAuxData' is a C11 feature [-Wtypedef-redefinition]
308 | typedef struct NpyAuxData_tag NpyAuxData;
| ^
../numpy/core/src/umath/loops.h.src:37:31: note: previous definition is here
37 | typedef struct NpyAuxData_tag NpyAuxData;
| ^
In file included from ../numpy/core/src/umath/loops_arithm_fp.dispatch.c.src:15:
In file included from ../numpy/core/src/common/lowlevel_strided_loops.h:5:
In file included from ../numpy/core/src/multiarray/array_method.h:14:
../numpy/core/include/numpy/_dtype_api.h:108:3: warning: redefinition of typedef 'PyArrayMethod_Context' is a C11 feature [-Wtypedef-redefinition]
108 | } PyArrayMethod_Context;
| ^
../numpy/core/src/umath/loops.h.src:36:42: note: previous definition is here
36 | typedef struct PyArrayMethod_Context_tag PyArrayMethod_Context;
| ^
../numpy/core/src/umath/loops_arithm_fp.dispatch.c.src:312:1: warning: unused function 'simd_cabsolute_f32' [-Wunused-function]
312 | simd_cabsolute_f32(npyv_f32 re, npyv_f32 im)
| ^~~~~~~~~~~~~~~~~~
../numpy/core/src/umath/loops_arithm_fp.dispatch.c.src:312:1: warning: unused function 'simd_cabsolute_f64' [-Wunused-function]
312 | simd_cabsolute_f64(npyv_f64 re, npyv_f64 im)
| ^~~~~~~~~~~~~~~~~~
4 warnings generated.
[99/299] Generating 'numpy/core/libloops_autovec.dispatch.h_baseline.a.p/loops.h'
[100/299] Linking static target numpy/core/libargfunc.dispatch.h_baseline.a
[101/299] Generating 'numpy/core/libloops_autovec.dispatch.h_baseline.a.p/loops_utils.h'
[102/299] Linking static target numpy/core/libloops_arithm_fp.dispatch.h_baseline.a
[103/299] Generating 'numpy/core/libloops_autovec.dispatch.h_baseline.a.p/loops_autovec.dispatch.c'
[104/299] Generating 'numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/arraytypes.h'
[105/299] Generating 'numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/npy_sort.h'
[106/299] Generating 'numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/einsum.c'
[107/299] Generating 'numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/arraytypes.c'
[108/299] Generating 'numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/scalartypes.c'
[109/299] Compiling C object numpy/core/libloops_unary_complex.dispatch.h_baseline.a.p/meson-generated_loops_unary_complex.dispatch.c.o
In file included from ../numpy/core/src/umath/loops_unary_complex.dispatch.c.src:15:
In file included from ../numpy/core/src/common/lowlevel_strided_loops.h:3:
In file included from ../numpy/core/src/multiarray/common.h:6:
../numpy/core/include/numpy/ndarraytypes.h:308:31: warning: redefinition of typedef 'NpyAuxData' is a C11 feature [-Wtypedef-redefinition]
308 | typedef struct NpyAuxData_tag NpyAuxData;
| ^
../numpy/core/src/umath/loops.h.src:37:31: note: previous definition is here
37 | typedef struct NpyAuxData_tag NpyAuxData;
| ^
In file included from ../numpy/core/src/umath/loops_unary_complex.dispatch.c.src:15:
In file included from ../numpy/core/src/common/lowlevel_strided_loops.h:5:
In file included from ../numpy/core/src/multiarray/array_method.h:14:
../numpy/core/include/numpy/_dtype_api.h:108:3: warning: redefinition of typedef 'PyArrayMethod_Context' is a C11 feature [-Wtypedef-redefinition]
108 | } PyArrayMethod_Context;
| ^
../numpy/core/src/umath/loops.h.src:36:42: note: previous definition is here
36 | typedef struct PyArrayMethod_Context_tag PyArrayMethod_Context;
| ^
2 warnings generated.
[110/299] Generating 'numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/nditer_templ.c'
[111/299] Linking static target numpy/core/libloops_unary_complex.dispatch.h_baseline.a
[112/299] Generating 'numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/einsum_sumprod.c'
[113/299] Generating 'numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/loops.h'
[114/299] Compiling C object numpy/core/libloops_unary_fp_le.dispatch.h_baseline.a.p/meson-generated_loops_unary_fp_le.dispatch.c.o
In file included from ../numpy/core/src/umath/loops_unary_fp_le.dispatch.c.src:23:
In file included from ../numpy/core/src/common/lowlevel_strided_loops.h:3:
In file included from ../numpy/core/src/multiarray/common.h:6:
../numpy/core/include/numpy/ndarraytypes.h:308:31: warning: redefinition of typedef 'NpyAuxData' is a C11 feature [-Wtypedef-redefinition]
308 | typedef struct NpyAuxData_tag NpyAuxData;
| ^
../numpy/core/src/umath/loops.h.src:37:31: note: previous definition is here
37 | typedef struct NpyAuxData_tag NpyAuxData;
| ^
In file included from ../numpy/core/src/umath/loops_unary_fp_le.dispatch.c.src:23:
In file included from ../numpy/core/src/common/lowlevel_strided_loops.h:5:
In file included from ../numpy/core/src/multiarray/array_method.h:14:
../numpy/core/include/numpy/_dtype_api.h:108:3: warning: redefinition of typedef 'PyArrayMethod_Context' is a C11 feature [-Wtypedef-redefinition]
108 | } PyArrayMethod_Context;
| ^
../numpy/core/src/umath/loops.h.src:36:42: note: previous definition is here
36 | typedef struct PyArrayMethod_Context_tag PyArrayMethod_Context;
| ^
2 warnings generated.
[115/299] Generating 'numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/templ_common.h'
[116/299] Generating 'numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/loops_utils.h'
[117/299] Compiling C object numpy/core/libloops_unary.dispatch.h_baseline.a.p/meson-generated_loops_unary.dispatch.c.o
In file included from ../numpy/core/src/umath/loops_unary.dispatch.c.src:17:
In file included from ../numpy/core/src/common/lowlevel_strided_loops.h:3:
In file included from ../numpy/core/src/multiarray/common.h:6:
../numpy/core/include/numpy/ndarraytypes.h:308:31: warning: redefinition of typedef 'NpyAuxData' is a C11 feature [-Wtypedef-redefinition]
308 | typedef struct NpyAuxData_tag NpyAuxData;
| ^
../numpy/core/src/umath/loops.h.src:37:31: note: previous definition is here
37 | typedef struct NpyAuxData_tag NpyAuxData;
| ^
In file included from ../numpy/core/src/umath/loops_unary.dispatch.c.src:17:
In file included from ../numpy/core/src/common/lowlevel_strided_loops.h:5:
In file included from ../numpy/core/src/multiarray/array_method.h:14:
../numpy/core/include/numpy/_dtype_api.h:108:3: warning: redefinition of typedef 'PyArrayMethod_Context' is a C11 feature [-Wtypedef-redefinition]
108 | } PyArrayMethod_Context;
| ^
../numpy/core/src/umath/loops.h.src:36:42: note: previous definition is here
36 | typedef struct PyArrayMethod_Context_tag PyArrayMethod_Context;
| ^
2 warnings generated.
[118/299] Linking static target numpy/core/libloops_unary_fp_le.dispatch.h_baseline.a
[119/299] Generating 'numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/lowlevel_strided_loops.c'
[120/299] Compiling C object numpy/core/libloops_minmax.dispatch.h_baseline.a.p/meson-generated_loops_minmax.dispatch.c.o
In file included from ../numpy/core/src/umath/loops_minmax.dispatch.c.src:15:
In file included from ../numpy/core/src/common/lowlevel_strided_loops.h:3:
In file included from ../numpy/core/src/multiarray/common.h:6:
../numpy/core/include/numpy/ndarraytypes.h:308:31: warning: redefinition of typedef 'NpyAuxData' is a C11 feature [-Wtypedef-redefinition]
308 | typedef struct NpyAuxData_tag NpyAuxData;
| ^
../numpy/core/src/umath/loops.h.src:37:31: note: previous definition is here
37 | typedef struct NpyAuxData_tag NpyAuxData;
| ^
In file included from ../numpy/core/src/umath/loops_minmax.dispatch.c.src:15:
In file included from ../numpy/core/src/common/lowlevel_strided_loops.h:5:
In file included from ../numpy/core/src/multiarray/array_method.h:14:
../numpy/core/include/numpy/_dtype_api.h:108:3: warning: redefinition of typedef 'PyArrayMethod_Context' is a C11 feature [-Wtypedef-redefinition]
108 | } PyArrayMethod_Context;
| ^
../numpy/core/src/umath/loops.h.src:36:42: note: previous definition is here
36 | typedef struct PyArrayMethod_Context_tag PyArrayMethod_Context;
| ^
2 warnings generated.
[121/299] Compiling C object numpy/core/libloops_comparison.dispatch.h_baseline.a.p/meson-generated_loops_comparison.dispatch.c.o
In file included from ../numpy/core/src/umath/loops_comparison.dispatch.c.src:15:
In file included from ../numpy/core/src/common/lowlevel_strided_loops.h:3:
In file included from ../numpy/core/src/multiarray/common.h:6:
../numpy/core/include/numpy/ndarraytypes.h:308:31: warning: redefinition of typedef 'NpyAuxData' is a C11 feature [-Wtypedef-redefinition]
308 | typedef struct NpyAuxData_tag NpyAuxData;
| ^
../numpy/core/src/umath/loops.h.src:37:31: note: previous definition is here
37 | typedef struct NpyAuxData_tag NpyAuxData;
| ^
In file included from ../numpy/core/src/umath/loops_comparison.dispatch.c.src:15:
In file included from ../numpy/core/src/common/lowlevel_strided_loops.h:5:
In file included from ../numpy/core/src/multiarray/array_method.h:14:
../numpy/core/include/numpy/_dtype_api.h:108:3: warning: redefinition of typedef 'PyArrayMethod_Context' is a C11 feature [-Wtypedef-redefinition]
108 | } PyArrayMethod_Context;
| ^
../numpy/core/src/umath/loops.h.src:36:42: note: previous definition is here
36 | typedef struct PyArrayMethod_Context_tag PyArrayMethod_Context;
| ^
2 warnings generated.
[122/299] Linking static target numpy/core/libloops_unary.dispatch.h_baseline.a
[123/299] Generating 'numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/funcs.inc'
[124/299] Generating 'numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/loops.c'
[125/299] Linking static target numpy/core/libloops_minmax.dispatch.h_baseline.a
[126/299] Compiling C object numpy/core/libloops_unary_fp.dispatch.h_baseline.a.p/meson-generated_loops_unary_fp.dispatch.c.o
[127/299] Generating 'numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/matmul.c'
[128/299] Generating 'numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/matmul.h'
[129/299] Linking static target numpy/core/libloops_comparison.dispatch.h_baseline.a
[130/299] Generating 'numpy/core/lib_simd.dispatch.h_baseline.a.p/_simd_data.inc'
[131/299] Generating 'numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/scalarmath.c'
[132/299] Linking static target numpy/core/libloops_unary_fp.dispatch.h_baseline.a
[133/299] Compiling C object numpy/linalg/lapack_lite.cpython-313t-darwin.so.p/lapack_lite_python_xerbla.c.o
[134/299] Generating 'numpy/core/lib_simd.dispatch.h_baseline.a.p/_simd_inc.h'
[135/299] Compiling C object numpy/linalg/lapack_lite.cpython-313t-darwin.so.p/lapack_litemodule.c.o
[136/299] Compiling C object numpy/linalg/_umath_linalg.cpython-313t-darwin.so.p/lapack_lite_python_xerbla.c.o
[137/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/meson-generated_einsum.c.o
../numpy/core/src/multiarray/einsum.c.src:408:32: warning: unknown warning group '-Wmaybe-uninitialized', ignored [-Wunknown-warning-option]
408 | #pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
| ^
1 warning generated.
[138/299] Generating 'numpy/core/lib_simd.dispatch.h_baseline.a.p/_simd.dispatch.c'
[139/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_abstractdtypes.c.o
[140/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_alloc.c.o
[141/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/meson-generated_matmul.c.o
[142/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_arrayobject.c.o
[143/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_array_coercion.c.o
[144/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/meson-generated_nditer_templ.c.o
[145/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_array_method.c.o
[146/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_array_assign_scalar.c.o
[147/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/meson-generated_scalartypes.c.o
../numpy/core/src/multiarray/scalartypes.c.src:1967:9: warning: variable 'i' set but not used [-Wunused-but-set-variable]
1967 | int i;
| ^
../numpy/core/src/multiarray/scalartypes.c.src:1967:9: warning: variable 'i' set but not used [-Wunused-but-set-variable]
1967 | int i;
| ^
../numpy/core/src/multiarray/scalartypes.c.src:1967:9: warning: variable 'i' set but not used [-Wunused-but-set-variable]
1967 | int i;
| ^
../numpy/core/src/multiarray/scalartypes.c.src:1967:9: warning: variable 'i' set but not used [-Wunused-but-set-variable]
1967 | int i;
| ^
4 warnings generated.
[148/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_array_assign_array.c.o
[149/299] Compiling C object numpy/fft/_pocketfft_internal.cpython-313t-darwin.so.p/_pocketfft.c.o
[150/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_arrayfunction_override.c.o
[151/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_common.c.o
[152/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_buffer.c.o
[153/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_common_dtype.c.o
[154/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_calculation.c.o
[155/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_convert.c.o
[156/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_conversion_utils.c.o
[157/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/meson-generated_loops.c.o
[158/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_compiled_base.c.o
[159/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_datetime_strings.c.o
[160/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_datetime_busdaycal.c.o
[161/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_datetime_busday.c.o
[162/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_datetime.c.o
[163/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_convert_datatype.c.o
[164/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_dlpack.c.o
[165/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_ctors.c.o
[166/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_descriptor.c.o
[167/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_dtypemeta.c.o
[168/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_dtype_traversal.c.o
[169/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_experimental_public_dtype_api.c.o
[170/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_hashdescr.c.o
[171/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_dragon4.c.o
[172/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_flagsobject.c.o
[173/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_getset.c.o
[174/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/meson-generated_scalarmath.c.o
In file included from ../numpy/core/src/umath/scalarmath.c.src:39:
../numpy/core/src/umath/loops.h.src:36:42: warning: redefinition of typedef 'PyArrayMethod_Context' is a C11 feature [-Wtypedef-redefinition]
36 | typedef struct PyArrayMethod_Context_tag PyArrayMethod_Context;
| ^
../numpy/core/include/numpy/_dtype_api.h:108:3: note: previous definition is here
108 | } PyArrayMethod_Context;
| ^
In file included from ../numpy/core/src/umath/scalarmath.c.src:39:
../numpy/core/src/umath/loops.h.src:37:31: warning: redefinition of typedef 'NpyAuxData' is a C11 feature [-Wtypedef-redefinition]
37 | typedef struct NpyAuxData_tag NpyAuxData;
| ^
../numpy/core/include/numpy/ndarraytypes.h:308:31: note: previous definition is here
308 | typedef struct NpyAuxData_tag NpyAuxData;
| ^
../numpy/core/src/umath/scalarmath.c.src:1794:36: warning: unknown warning group '-Wmaybe-uninitialized', ignored [-Wunknown-warning-option]
1794 | #pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
| ^
3 warnings generated.
[175/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_legacy_dtype_implementation.c.o
[176/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_dtype_transfer.c.o
[177/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_methods.c.o
[178/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_iterators.c.o
[179/299] Compiling C++ object numpy/linalg/_umath_linalg.cpython-313t-darwin.so.p/umath_linalg.cpp.o
../numpy/linalg/umath_linalg.cpp:772:32: warning: unknown warning group '-Wmaybe-uninitialized', ignored [-Wunknown-warning-option]
772 | #pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
| ^
../numpy/linalg/umath_linalg.cpp:582:1: warning: unused function 'dump_ufunc_object' [-Wunused-function]
582 | dump_ufunc_object(PyUFuncObject* ufunc)
| ^~~~~~~~~~~~~~~~~
../numpy/linalg/umath_linalg.cpp:607:1: warning: unused function 'dump_linearize_data' [-Wunused-function]
607 | dump_linearize_data(const char* name, const LINEARIZE_DATA_t* params)
| ^~~~~~~~~~~~~~~~~~~
../numpy/linalg/umath_linalg.cpp:616:1: warning: unused function 'print' [-Wunused-function]
616 | print(npy_float s)
| ^~~~~
../numpy/linalg/umath_linalg.cpp:621:1: warning: unused function 'print' [-Wunused-function]
621 | print(npy_double d)
| ^~~~~
../numpy/linalg/umath_linalg.cpp:626:1: warning: unused function 'print' [-Wunused-function]
626 | print(npy_cfloat c)
| ^~~~~
../numpy/linalg/umath_linalg.cpp:632:1: warning: unused function 'print' [-Wunused-function]
632 | print(npy_cdouble z)
| ^~~~~
7 warnings generated.
[180/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_nditer_api.c.o
[181/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_mapping.c.o
[182/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_refcount.c.o
[183/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_sequence.c.o
[184/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_shape.c.o
FAILED: numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_shape.c.o
cc -Inumpy/core/_multiarray_umath.cpython-313t-darwin.so.p -Inumpy/core -I../numpy/core -Inumpy/core/include -I../numpy/core/include -I../numpy/core/src/common -I../numpy/core/src/multiarray -I../numpy/core/src/npymath -I../numpy/core/src/umath -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework/Headers -I/Users/philip/.asdf/installs/python/3.13.1t/include/python3.13t -I/private/var/folders/20/4vdynycn1tg_ysq0_9_q_57m0000gn/T/pip-install-6qzihf2c/numpy_964eff098c5842b1a4c924770a5de84f/.mesonpy-iy5tadgk/meson_cpu -fvisibility=hidden -fcolor-diagnostics -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -fno-strict-aliasing -ftrapping-math -DNPY_HAVE_CLANG_FPSTRICT -DNPY_HAVE_NEON_VFPV4 -DNPY_HAVE_NEON_FP16 -DNPY_HAVE_NEON -DNPY_HAVE_ASIMD -F/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework -DACCELERATE_NEW_LAPACK -DHAVE_CBLAS '-DBLAS_SYMBOL_SUFFIX=$NEWLAPACK' -DNPY_INTERNAL_BUILD -DHAVE_NPY_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -MD -MQ numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_shape.c.o -MF numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_shape.c.o.d -o numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_shape.c.o -c ../numpy/core/src/multiarray/shape.c
../numpy/core/src/multiarray/shape.c:108:22: error: no member named 'ob_refcnt' in 'struct _object'
108 | refcnt = PyArray_REFCOUNT(self);
| ^~~~~~~~~~~~~~~~~~~~~~
../numpy/core/include/numpy/ndarrayobject.h:102:53: note: expanded from macro 'PyArray_REFCOUNT'
102 | #define PyArray_REFCOUNT(obj) (((PyObject *)(obj))->ob_refcnt)
| ~~~~~~~~~~~~~~~~~~~ ^
1 error generated.
[185/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_number.c.o
[186/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_nditer_pywrap.c.o
[187/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_nditer_constr.c.o
[188/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_scalarapi.c.o
[189/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_multiarraymodule.c.o
[190/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_strfuncs.c.o
[191/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_item_selection.c.o
../numpy/core/src/multiarray/item_selection.c:2361:1: warning: unused function 'count_nonzero_bytes_384' [-Wunused-function]
2361 | count_nonzero_bytes_384(const npy_uint64 * w)
| ^~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[192/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_temp_elide.c.o
[193/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/meson-generated_einsum_sumprod.c.o
[194/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/meson-generated_arraytypes.c.o
[195/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/meson-generated_lowlevel_strided_loops.c.o
[196/299] Compiling C object numpy/core/libloops_autovec.dispatch.h_baseline.a.p/meson-generated_loops_autovec.dispatch.c.o
ninja: build stopped: subcommand failed.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
What happened?
pip install chromadbis failing on Python3.13.1for me on OSX.Downgrading to
3.12led to a successful installation.The fix proposed in this discussion did not work - running
pip install 'numpy<2.0.0'failed.Versions
Chroma 0.6.3, Python 3.13.1
Relevant log output
[184/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_mapping.c.o [185/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_shape.c.o FAILED: numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_shape.c.o cc -Inumpy/core/_multiarray_umath.cpython-313t-darwin.so.p -Inumpy/core -I../numpy/core -Inumpy/core/include -I../numpy/core/include -I../numpy/core/src/common -I../numpy/core/src/multiarray -I../numpy/core/src/npymath -I../numpy/core/src/umath -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework/Headers -I/Users/philip/.asdf/installs/python/3.13.1t/include/python3.13t -I/private/var/folders/20/4vdynycn1tg_ysq0_9_q_57m0000gn/T/pip-install-8d0y6b5o/numpy_a0da723d70234dc588561e0b91b6745c/.mesonpy-sa4p0c0l/meson_cpu -fvisibility=hidden -fcolor-diagnostics -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -fno-strict-aliasing -ftrapping-math -DNPY_HAVE_CLANG_FPSTRICT -DNPY_HAVE_NEON_VFPV4 -DNPY_HAVE_NEON_FP16 -DNPY_HAVE_NEON -DNPY_HAVE_ASIMD -F/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework -DACCELERATE_NEW_LAPACK -DHAVE_CBLAS '-DBLAS_SYMBOL_SUFFIX=$NEWLAPACK' -DNPY_INTERNAL_BUILD -DHAVE_NPY_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -MD -MQ numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_shape.c.o -MF numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_shape.c.o.d -o numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_shape.c.o -c ../numpy/core/src/multiarray/shape.c ../numpy/core/src/multiarray/shape.c:108:22: error: no member named 'ob_refcnt' in 'struct _object' 108 | refcnt = PyArray_REFCOUNT(self); | ^~~~~~~~~~~~~~~~~~~~~~ ../numpy/core/include/numpy/ndarrayobject.h:102:53: note: expanded from macro 'PyArray_REFCOUNT' 102 | #define PyArray_REFCOUNT(obj) (((PyObject *)(obj))->ob_refcnt) | ~~~~~~~~~~~~~~~~~~~ ^ 1 error generated. [186/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_nditer_pywrap.c.o [187/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_nditer_constr.c.o [188/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_typeinfo.c.o [189/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_temp_elide.c.o [190/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_strfuncs.c.o [191/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_item_selection.c.o ../numpy/core/src/multiarray/item_selection.c:2361:1: warning: unused function 'count_nonzero_bytes_384' [-Wunused-function] 2361 | count_nonzero_bytes_384(const npy_uint64 * w) | ^~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. [192/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_scalarapi.c.o [193/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/src_multiarray_multiarraymodule.c.o [194/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/meson-generated_einsum_sumprod.c.o [195/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/meson-generated_arraytypes.c.o [196/299] Compiling C object numpy/core/_multiarray_umath.cpython-313t-darwin.so.p/meson-generated_lowlevel_strided_loops.c.o [197/299] Compiling C object numpy/core/libloops_autovec.dispatch.h_baseline.a.p/meson-generated_loops_autovec.dispatch.c.o ninja: build stopped: subcommand failed. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details.on
pip install 'numpy<.2.0.0':