2025-09-09T14:14:03,785 Created temporary directory: /tmp/pip-build-tracker-usp0a1qm 2025-09-09T14:14:03,785 Initialized build tracking at /tmp/pip-build-tracker-usp0a1qm 2025-09-09T14:14:03,785 Created build tracker: /tmp/pip-build-tracker-usp0a1qm 2025-09-09T14:14:03,785 Entered build tracker: /tmp/pip-build-tracker-usp0a1qm 2025-09-09T14:14:03,786 Created temporary directory: /tmp/pip-wheel-ovps5gho 2025-09-09T14:14:03,789 Created temporary directory: /tmp/pip-ephem-wheel-cache-hcf6bwhr 2025-09-09T14:14:03,847 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-09-09T14:14:03,849 2 location(s) to search for versions of bfloat16: 2025-09-09T14:14:03,849 * https://pypi.org/simple/bfloat16/ 2025-09-09T14:14:03,849 * https://www.piwheels.org/simple/bfloat16/ 2025-09-09T14:14:03,850 Fetching project page and analyzing links: https://pypi.org/simple/bfloat16/ 2025-09-09T14:14:03,850 Getting page https://pypi.org/simple/bfloat16/ 2025-09-09T14:14:03,851 Found index url https://pypi.org/simple/ 2025-09-09T14:14:03,921 Fetched page https://pypi.org/simple/bfloat16/ as application/vnd.pypi.simple.v1+json 2025-09-09T14:14:03,922 Found link https://files.pythonhosted.org/packages/0d/2c/9f1a4432bf44901c5102ccea72cef18d6ea53de2e8b6a3d82378fa595c4b/bfloat16-1.0.tar.gz (from https://pypi.org/simple/bfloat16/), version: 1.0 2025-09-09T14:14:03,922 Found link https://files.pythonhosted.org/packages/2a/b2/6f9269502cf8c73cdd23456866aa10d13c0d0c7084b226b97b24da373344/bfloat16-1.1.tar.gz (from https://pypi.org/simple/bfloat16/), version: 1.1 2025-09-09T14:14:03,923 Skipping link: No binaries permitted for bfloat16: https://files.pythonhosted.org/packages/da/ce/65b95e0acf18e317719bc67337b3cf515f69d3ee07ecb6aaa44c798496c5/bfloat16-1.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (from https://pypi.org/simple/bfloat16/) (requires-python:>=3.9) 2025-09-09T14:14:03,923 Skipping link: No binaries permitted for bfloat16: https://files.pythonhosted.org/packages/47/95/53d4b577cbdb65292e32aed44abef047f04bda62feec7fd0fdbc25e5e43b/bfloat16-1.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (from https://pypi.org/simple/bfloat16/) (requires-python:>=3.9) 2025-09-09T14:14:03,923 Skipping link: No binaries permitted for bfloat16: https://files.pythonhosted.org/packages/1f/35/88eea22fb58cf158556769a42a32b7c5a7471c448ed2b8e7048be0210093/bfloat16-1.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (from https://pypi.org/simple/bfloat16/) (requires-python:>=3.9) 2025-09-09T14:14:03,923 Skipping link: No binaries permitted for bfloat16: https://files.pythonhosted.org/packages/90/81/3e3999bb17c41c700715bf8e79966084006c29c15e0a72d8734532019019/bfloat16-1.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (from https://pypi.org/simple/bfloat16/) (requires-python:>=3.9) 2025-09-09T14:14:03,923 Fetching project page and analyzing links: https://www.piwheels.org/simple/bfloat16/ 2025-09-09T14:14:03,924 Getting page https://www.piwheels.org/simple/bfloat16/ 2025-09-09T14:14:03,924 Found index url https://www.piwheels.org/simple/ 2025-09-09T14:14:04,020 Fetched page https://www.piwheels.org/simple/bfloat16/ as text/html 2025-09-09T14:14:04,022 Skipping link: No binaries permitted for bfloat16: https://archive1.piwheels.org/simple/bfloat16/bfloat16-1.1-cp37-cp37m-linux_armv6l.whl#sha256=70ce6dfb33664a70c55ac943eed8a389b50fa07795b38cc1ce9e784042dcb30a (from https://www.piwheels.org/simple/bfloat16/) 2025-09-09T14:14:04,022 Skipping link: No binaries permitted for bfloat16: https://archive1.piwheels.org/simple/bfloat16/bfloat16-1.1-cp37-cp37m-linux_armv7l.whl#sha256=70ce6dfb33664a70c55ac943eed8a389b50fa07795b38cc1ce9e784042dcb30a (from https://www.piwheels.org/simple/bfloat16/) 2025-09-09T14:14:04,022 Skipping link: No binaries permitted for bfloat16: https://archive1.piwheels.org/simple/bfloat16/bfloat16-1.1-cp39-cp39-linux_armv6l.whl#sha256=70c8d9d09fc46434b1594039f741bd5005847cb6634ad96b4933c830da40c25e (from https://www.piwheels.org/simple/bfloat16/) 2025-09-09T14:14:04,022 Skipping link: No binaries permitted for bfloat16: https://archive1.piwheels.org/simple/bfloat16/bfloat16-1.1-cp39-cp39-linux_armv7l.whl#sha256=70c8d9d09fc46434b1594039f741bd5005847cb6634ad96b4933c830da40c25e (from https://www.piwheels.org/simple/bfloat16/) 2025-09-09T14:14:04,022 Skipping link: No binaries permitted for bfloat16: https://archive1.piwheels.org/simple/bfloat16/bfloat16-1.0-cp37-cp37m-linux_armv6l.whl#sha256=43c37f5259fc2432b7bca4939567a699edf75660dd32b4886adbd36236838cb3 (from https://www.piwheels.org/simple/bfloat16/) 2025-09-09T14:14:04,022 Skipping link: No binaries permitted for bfloat16: https://archive1.piwheels.org/simple/bfloat16/bfloat16-1.0-cp37-cp37m-linux_armv7l.whl#sha256=43c37f5259fc2432b7bca4939567a699edf75660dd32b4886adbd36236838cb3 (from https://www.piwheels.org/simple/bfloat16/) 2025-09-09T14:14:04,022 Skipping link: No binaries permitted for bfloat16: https://archive1.piwheels.org/simple/bfloat16/bfloat16-1.0-cp39-cp39-linux_armv6l.whl#sha256=0617cb85c83e5c600b9e0550831f5b5f8c81c38d8c2ef558e0fedfa08cf3ff19 (from https://www.piwheels.org/simple/bfloat16/) 2025-09-09T14:14:04,023 Skipping link: No binaries permitted for bfloat16: https://archive1.piwheels.org/simple/bfloat16/bfloat16-1.0-cp39-cp39-linux_armv7l.whl#sha256=0617cb85c83e5c600b9e0550831f5b5f8c81c38d8c2ef558e0fedfa08cf3ff19 (from https://www.piwheels.org/simple/bfloat16/) 2025-09-09T14:14:04,023 Skipping link: not a file: https://www.piwheels.org/simple/bfloat16/ 2025-09-09T14:14:04,023 Skipping link: not a file: https://pypi.org/simple/bfloat16/ 2025-09-09T14:14:04,045 Given no hashes to check 1 links for project 'bfloat16': discarding no candidates 2025-09-09T14:14:04,046 Collecting bfloat16==1.1 2025-09-09T14:14:04,047 Created temporary directory: /tmp/pip-unpack-n6aeuwsj 2025-09-09T14:14:04,191 Downloading bfloat16-1.1.tar.gz (550 kB) 2025-09-09T14:14:04,443 Added bfloat16==1.1 from https://files.pythonhosted.org/packages/2a/b2/6f9269502cf8c73cdd23456866aa10d13c0d0c7084b226b97b24da373344/bfloat16-1.1.tar.gz to build tracker '/tmp/pip-build-tracker-usp0a1qm' 2025-09-09T14:14:04,444 Running setup.py (path:/tmp/pip-wheel-ovps5gho/bfloat16_12fc869e2f5d405cb81fc28985f5796e/setup.py) egg_info for package bfloat16 2025-09-09T14:14:04,445 Created temporary directory: /tmp/pip-pip-egg-info-nlpi29rh 2025-09-09T14:14:04,445 Preparing metadata (setup.py): started 2025-09-09T14:14:04,446 Running command python setup.py egg_info 2025-09-09T14:14:05,697 /usr/local/lib/python3.13/dist-packages/setuptools/dist.py:599: SetuptoolsDeprecationWarning: Invalid dash-separated key 'description-file' in 'metadata' (setup.cfg), please use the underscore name 'description_file' instead. 2025-09-09T14:14:05,697 !! 2025-09-09T14:14:05,698 ******************************************************************************** 2025-09-09T14:14:05,698 Usage of dash-separated 'description-file' will not be supported in future 2025-09-09T14:14:05,698 versions. Please use the underscore name 'description_file' instead. 2025-09-09T14:14:05,698 (Affected: bfloat16). 2025-09-09T14:14:05,698 By 2026-Mar-03, you need to update your project and remove deprecated calls 2025-09-09T14:14:05,698 or your builds will no longer be supported. 2025-09-09T14:14:05,698 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2025-09-09T14:14:05,698 ******************************************************************************** 2025-09-09T14:14:05,699 !! 2025-09-09T14:14:05,699 opt = self._enforce_underscore(opt, section) 2025-09-09T14:14:06,140 Preparing metadata (setup.py): finished with status 'done' 2025-09-09T14:14:06,144 Source in /tmp/pip-wheel-ovps5gho/bfloat16_12fc869e2f5d405cb81fc28985f5796e has version 1.1, which satisfies requirement bfloat16==1.1 from https://files.pythonhosted.org/packages/2a/b2/6f9269502cf8c73cdd23456866aa10d13c0d0c7084b226b97b24da373344/bfloat16-1.1.tar.gz 2025-09-09T14:14:06,145 Removed bfloat16==1.1 from https://files.pythonhosted.org/packages/2a/b2/6f9269502cf8c73cdd23456866aa10d13c0d0c7084b226b97b24da373344/bfloat16-1.1.tar.gz from build tracker '/tmp/pip-build-tracker-usp0a1qm' 2025-09-09T14:14:06,147 Created temporary directory: /tmp/pip-unpack-yn3io1w3 2025-09-09T14:14:06,148 Created temporary directory: /tmp/pip-unpack-ny7f4uz1 2025-09-09T14:14:06,148 Building wheels for collected packages: bfloat16 2025-09-09T14:14:06,149 Created temporary directory: /tmp/pip-wheel-c6s2crf8 2025-09-09T14:14:06,149 DEPRECATION: Building 'bfloat16' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'bfloat16'. Discussion can be found at https://github.com/pypa/pip/issues/6334 2025-09-09T14:14:06,150 Building wheel for bfloat16 (setup.py): started 2025-09-09T14:14:06,151 Destination directory: /tmp/pip-wheel-c6s2crf8 2025-09-09T14:14:06,151 Running command python setup.py bdist_wheel 2025-09-09T14:14:07,341 /usr/local/lib/python3.13/dist-packages/setuptools/dist.py:599: SetuptoolsDeprecationWarning: Invalid dash-separated key 'description-file' in 'metadata' (setup.cfg), please use the underscore name 'description_file' instead. 2025-09-09T14:14:07,341 !! 2025-09-09T14:14:07,341 ******************************************************************************** 2025-09-09T14:14:07,341 Usage of dash-separated 'description-file' will not be supported in future 2025-09-09T14:14:07,342 versions. Please use the underscore name 'description_file' instead. 2025-09-09T14:14:07,342 (Affected: bfloat16). 2025-09-09T14:14:07,342 By 2026-Mar-03, you need to update your project and remove deprecated calls 2025-09-09T14:14:07,342 or your builds will no longer be supported. 2025-09-09T14:14:07,342 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2025-09-09T14:14:07,342 ******************************************************************************** 2025-09-09T14:14:07,342 !! 2025-09-09T14:14:07,343 opt = self._enforce_underscore(opt, section) 2025-09-09T14:14:11,606 bfloat16.cc:57:47: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 2025-09-09T14:14:11,606 57 | using Safe_PyObjectPtr = std::unique_ptr; 2025-09-09T14:14:11,606 | ^~~~~~~~~~ 2025-09-09T14:14:11,607 bfloat16.cc:37:1: note: ‘std::unique_ptr’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ 2025-09-09T14:14:11,607 36 | #include "numpy/ufuncobject.h" 2025-09-09T14:14:11,607 +++ |+#include 2025-09-09T14:14:11,607 37 | 2025-09-09T14:14:11,622 bfloat16.cc:58:17: error: ‘Safe_PyObjectPtr’ does not name a type 2025-09-09T14:14:11,623 58 | Safe_PyObjectPtr make_safe(PyObject *object) 2025-09-09T14:14:11,623 | ^~~~~~~~~~~~~~~~ 2025-09-09T14:14:11,657 bfloat16.cc: In function ‘bool greenwaves::{anonymous}::CastToBfloat16(PyObject*, bfloat16*)’: 2025-09-09T14:14:11,657 bfloat16.cc:166:33: error: ‘Safe_PyObjectPtr’ was not declared in this scope 2025-09-09T14:14:11,658 166 | Safe_PyObjectPtr ref; 2025-09-09T14:14:11,658 | ^~~~~~~~~~~~~~~~ 2025-09-09T14:14:11,658 bfloat16.cc:170:41: error: ‘ref’ was not declared in this scope; did you mean ‘std::ref’? 2025-09-09T14:14:11,659 170 | ref = make_safe(PyArray_Cast(arr, npy_bfloat16)); 2025-09-09T14:14:11,659 | ^~~ 2025-09-09T14:14:11,659 | std::ref 2025-09-09T14:14:11,659 In file included from /usr/include/c++/14/string:52, 2025-09-09T14:14:11,659 from /usr/include/c++/14/bits/locale_classes.h:40, 2025-09-09T14:14:11,659 from /usr/include/c++/14/bits/ios_base.h:41, 2025-09-09T14:14:11,659 from /usr/include/c++/14/ios:44, 2025-09-09T14:14:11,660 from /usr/include/c++/14/ostream:40, 2025-09-09T14:14:11,660 from /usr/include/c++/14/iostream:41, 2025-09-09T14:14:11,660 from bfloat16.cc:20: 2025-09-09T14:14:11,660 /usr/include/c++/14/bits/refwrap.h:445:5: note: ‘std::ref’ declared here 2025-09-09T14:14:11,660 445 | ref(reference_wrapper<_Tp> __t) noexcept 2025-09-09T14:14:11,660 | ^~~ 2025-09-09T14:14:11,678 bfloat16.cc:170:47: error: ‘make_safe’ was not declared in this scope 2025-09-09T14:14:11,678 170 | ref = make_safe(PyArray_Cast(arr, npy_bfloat16)); 2025-09-09T14:14:11,679 | ^~~~~~~~~ 2025-09-09T14:14:11,685 bfloat16.cc: At global scope: 2025-09-09T14:14:11,685 bfloat16.cc:470:17: error: too many initializers for ‘PyArray_Descr’ {aka ‘_PyArray_Descr’} 2025-09-09T14:14:11,685 470 | }; 2025-09-09T14:14:11,685 | ^ 2025-09-09T14:14:11,686 bfloat16.cc: In function ‘PyObject* greenwaves::{anonymous}::NPyBfloat16_GetItem(void*, void*)’: 2025-09-09T14:14:11,686 bfloat16.cc:478:43: error: ‘PyArray_Descr’ {aka ‘struct _PyArray_Descr’} has no member named ‘f’ 2025-09-09T14:14:11,686 478 | NPyBfloat16_Descr.f->copyswap(&x, data, !PyArray_ISNOTSWAPPED(reinterpret_cast(arr)), NULL); 2025-09-09T14:14:11,686 | ^ 2025-09-09T14:14:11,737 bfloat16.cc: In function ‘bool greenwaves::{anonymous}::RegisterUFunc(PyObject*, const char*)’: 2025-09-09T14:14:11,738 bfloat16.cc:985:25: error: ‘Safe_PyObjectPtr’ was not declared in this scope 2025-09-09T14:14:11,738 985 | Safe_PyObjectPtr ufunc_obj = make_safe(PyObject_GetAttrString(numpy, name)); 2025-09-09T14:14:11,738 | ^~~~~~~~~~~~~~~~ 2025-09-09T14:14:11,756 bfloat16.cc:986:30: error: ‘ufunc_obj’ was not declared in this scope 2025-09-09T14:14:11,756 986 | if (!ufunc_obj) 2025-09-09T14:14:11,757 | ^~~~~~~~~ 2025-09-09T14:14:11,774 bfloat16.cc:990:82: error: ‘ufunc_obj’ was not declared in this scope 2025-09-09T14:14:11,774 990 | PyUFuncObject *ufunc = reinterpret_cast(ufunc_obj.get()); 2025-09-09T14:14:11,774 | ^~~~~~~~~ 2025-09-09T14:14:11,780 bfloat16.cc: In function ‘std::pair greenwaves::{anonymous}::ufuncs::divmod(float, float)’: 2025-09-09T14:14:11,780 bfloat16.cc:1035:72: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 2025-09-09T14:14:11,780 1035 | std::pair divmod(float a, float b) 2025-09-09T14:14:11,781 | ^ 2025-09-09T14:14:11,836 bfloat16.cc: In member function ‘greenwaves::{anonymous}::bfloat16 greenwaves::{anonymous}::ufuncs::NextAfter::operator()(greenwaves::{anonymous}::bfloat16, greenwaves::{anonymous}::bfloat16)’: 2025-09-09T14:14:11,836 bfloat16.cc:1662:63: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘using greenwaves::{anonymous}::bfloat16 = struct Eigen::bfloat16’ {aka ‘struct Eigen::bfloat16’} from an array of ‘uint16_t’ {aka ‘short unsigned int’} [-Wclass-memaccess] 2025-09-09T14:14:11,836 1662 | memcpy(&out, &out_int, sizeof(bfloat16)); 2025-09-09T14:14:11,837 | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2025-09-09T14:14:11,837 In file included from eigen/Eigen/Core:170, 2025-09-09T14:14:11,837 from bfloat16.cc:33: 2025-09-09T14:14:11,837 eigen/Eigen/src/Core/arch/Default/BFloat16.h:58:8: note: ‘using greenwaves::{anonymous}::bfloat16 = struct Eigen::bfloat16’ {aka ‘struct Eigen::bfloat16’} declared here 2025-09-09T14:14:11,837 58 | struct bfloat16 : public bfloat16_impl::bfloat16_base { 2025-09-09T14:14:11,837 | ^~~~~~~~ 2025-09-09T14:14:11,837 bfloat16.cc:1674:47: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘using greenwaves::{anonymous}::bfloat16 = struct Eigen::bfloat16’ {aka ‘struct Eigen::bfloat16’} from an array of ‘uint16_t’ {aka ‘short unsigned int’} [-Wclass-memaccess] 2025-09-09T14:14:11,838 1674 | memcpy(&out, &out_int, sizeof(bfloat16)); 2025-09-09T14:14:11,838 | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2025-09-09T14:14:11,838 eigen/Eigen/src/Core/arch/Default/BFloat16.h:58:8: note: ‘using greenwaves::{anonymous}::bfloat16 = struct Eigen::bfloat16’ {aka ‘struct Eigen::bfloat16’} declared here 2025-09-09T14:14:11,838 58 | struct bfloat16 : public bfloat16_impl::bfloat16_base { 2025-09-09T14:14:11,838 | ^~~~~~~~ 2025-09-09T14:14:11,871 bfloat16.cc: In function ‘bool greenwaves::Initialize()’: 2025-09-09T14:14:11,872 bfloat16.cc:1691:17: error: ‘Safe_PyObjectPtr’ was not declared in this scope 2025-09-09T14:14:11,872 1691 | Safe_PyObjectPtr numpy_str = make_safe(PyUnicode_FromString("numpy")); 2025-09-09T14:14:11,872 | ^~~~~~~~~~~~~~~~ 2025-09-09T14:14:11,889 bfloat16.cc:1692:22: error: ‘numpy_str’ was not declared in this scope 2025-09-09T14:14:11,889 1692 | if (!numpy_str) 2025-09-09T14:14:11,889 | ^~~~~~~~~ 2025-09-09T14:14:11,890 bfloat16.cc:1696:33: error: expected ‘;’ before ‘numpy’ 2025-09-09T14:14:11,890 1696 | Safe_PyObjectPtr numpy = make_safe(PyImport_Import(numpy_str.get())); 2025-09-09T14:14:11,890 | ^~~~~~ 2025-09-09T14:14:11,890 | ; 2025-09-09T14:14:11,902 bfloat16.cc:1697:22: error: ‘numpy’ was not declared in this scope 2025-09-09T14:14:11,903 1697 | if (!numpy) 2025-09-09T14:14:11,903 | ^~~~~ 2025-09-09T14:14:11,941 bfloat16.cc:1710:31: error: ‘PyArray_TypeNumFromName’ was not declared in this scope; did you mean ‘PyArray_SimpleNewFromData’? 2025-09-09T14:14:11,941 1710 | int typenum = PyArray_TypeNumFromName(const_cast("bfloat16")); 2025-09-09T14:14:11,941 | ^~~~~~~~~~~~~~~~~~~~~~~ 2025-09-09T14:14:11,942 | PyArray_SimpleNewFromData 2025-09-09T14:14:11,942 bfloat16.cc:1717:45: error: ‘PyArray_Descr’ {aka ‘struct _PyArray_Descr’} has no member named ‘f’ 2025-09-09T14:14:11,942 1717 | if (descr && descr->f && descr->f->argmax) 2025-09-09T14:14:11,942 | ^ 2025-09-09T14:14:11,942 bfloat16.cc:1717:57: error: ‘PyArray_Descr’ {aka ‘struct _PyArray_Descr’} has no member named ‘f’ 2025-09-09T14:14:11,943 1717 | if (descr && descr->f && descr->f->argmax) 2025-09-09T14:14:11,943 | ^ 2025-09-09T14:14:11,943 In file included from /usr/include/python3.13/Python.h:72, 2025-09-09T14:14:11,943 from bfloat16.cc:27: 2025-09-09T14:14:11,944 /usr/include/python3.13/object.h:344:30: error: lvalue required as left operand of assignment 2025-09-09T14:14:11,944 344 | # define Py_TYPE(ob) Py_TYPE(_PyObject_CAST(ob)) 2025-09-09T14:14:11,944 | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ 2025-09-09T14:14:11,944 bfloat16.cc:1747:17: note: in expansion of macro ‘Py_TYPE’ 2025-09-09T14:14:11,944 1747 | Py_TYPE(&NPyBfloat16_Descr) = &PyArrayDescr_Type; 2025-09-09T14:14:11,944 | ^~~~~~~ 2025-09-09T14:14:11,945 bfloat16.cc:1748:57: error: cannot convert ‘PyArray_Descr*’ {aka ‘_PyArray_Descr*’} to ‘PyArray_DescrProto*’ in argument passing 2025-09-09T14:14:11,945 1748 | npy_bfloat16 = PyArray_RegisterDataType(&NPyBfloat16_Descr); 2025-09-09T14:14:11,945 | ^~~~~~~~~~~~~~~~~~ 2025-09-09T14:14:11,945 | | 2025-09-09T14:14:11,945 | PyArray_Descr* {aka _PyArray_Descr*} 2025-09-09T14:14:11,959 bfloat16.cc:1841:85: error: ‘numpy’ was not declared in this scope 2025-09-09T14:14:11,959 1841 | RegisterUFunc>(numpy.get(), "add") && 2025-09-09T14:14:11,959 | ^~~~~ 2025-09-09T14:14:12,351 error: command '/usr/bin/arm-linux-gnueabihf-g++' failed with exit code 1 2025-09-09T14:14:12,489 ERROR: python setup.py bdist_wheel exited with 1 2025-09-09T14:14:12,501 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2025-09-09T14:14:12,501 exec(compile('"'"''"'"''"'"' 2025-09-09T14:14:12,501 # This is -- a caller that pip uses to run setup.py 2025-09-09T14:14:12,501 # 2025-09-09T14:14:12,501 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-09-09T14:14:12,501 # import from `distutils.core` to work with newer packaging standards. 2025-09-09T14:14:12,501 # - It provides a clear error message when setuptools is not installed. 2025-09-09T14:14:12,501 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-09-09T14:14:12,501 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-09-09T14:14:12,501 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-09-09T14:14:12,501 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-09-09T14:14:12,501 import os, sys, tokenize, traceback 2025-09-09T14:14:12,501 2025-09-09T14:14:12,501 try: 2025-09-09T14:14:12,501 import setuptools 2025-09-09T14:14:12,501 except ImportError: 2025-09-09T14:14:12,501 print( 2025-09-09T14:14:12,501 "ERROR: Can not execute `setup.py` since setuptools failed to import in " 2025-09-09T14:14:12,501 "the build environment with exception:", 2025-09-09T14:14:12,501 file=sys.stderr, 2025-09-09T14:14:12,501 ) 2025-09-09T14:14:12,501 traceback.print_exc() 2025-09-09T14:14:12,501 sys.exit(1) 2025-09-09T14:14:12,501 2025-09-09T14:14:12,501 __file__ = %r 2025-09-09T14:14:12,501 sys.argv[0] = __file__ 2025-09-09T14:14:12,501 2025-09-09T14:14:12,501 if os.path.exists(__file__): 2025-09-09T14:14:12,501 filename = __file__ 2025-09-09T14:14:12,501 with tokenize.open(__file__) as f: 2025-09-09T14:14:12,501 setup_py_code = f.read() 2025-09-09T14:14:12,501 else: 2025-09-09T14:14:12,501 filename = "" 2025-09-09T14:14:12,501 setup_py_code = "from setuptools import setup; setup()" 2025-09-09T14:14:12,501 2025-09-09T14:14:12,501 exec(compile(setup_py_code, filename, "exec")) 2025-09-09T14:14:12,501 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-ovps5gho/bfloat16_12fc869e2f5d405cb81fc28985f5796e/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-c6s2crf8[/] 2025-09-09T14:14:12,501 [bold magenta]cwd[/]: /tmp/pip-wheel-ovps5gho/bfloat16_12fc869e2f5d405cb81fc28985f5796e/ 2025-09-09T14:14:12,501 Building wheel for bfloat16 (setup.py): finished with status 'error' 2025-09-09T14:14:12,502 ERROR: Failed building wheel for bfloat16 2025-09-09T14:14:12,502 Running setup.py clean for bfloat16 2025-09-09T14:14:12,503 Running command python setup.py clean 2025-09-09T14:14:13,726 /usr/local/lib/python3.13/dist-packages/setuptools/dist.py:599: SetuptoolsDeprecationWarning: Invalid dash-separated key 'description-file' in 'metadata' (setup.cfg), please use the underscore name 'description_file' instead. 2025-09-09T14:14:13,726 !! 2025-09-09T14:14:13,726 ******************************************************************************** 2025-09-09T14:14:13,726 Usage of dash-separated 'description-file' will not be supported in future 2025-09-09T14:14:13,726 versions. Please use the underscore name 'description_file' instead. 2025-09-09T14:14:13,726 (Affected: bfloat16). 2025-09-09T14:14:13,727 By 2026-Mar-03, you need to update your project and remove deprecated calls 2025-09-09T14:14:13,727 or your builds will no longer be supported. 2025-09-09T14:14:13,727 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2025-09-09T14:14:13,727 ******************************************************************************** 2025-09-09T14:14:13,727 !! 2025-09-09T14:14:13,727 opt = self._enforce_underscore(opt, section) 2025-09-09T14:14:13,947 'build/lib.linux-armv7l-cpython-313' does not exist -- can't clean it 2025-09-09T14:14:13,948 'build/bdist.linux-armv7l' does not exist -- can't clean it 2025-09-09T14:14:13,948 'build/scripts-3.13' does not exist -- can't clean it 2025-09-09T14:14:14,082 Failed to build bfloat16 2025-09-09T14:14:14,083 ERROR: Failed to build one or more wheels 2025-09-09T14:14:14,084 Exception information: 2025-09-09T14:14:14,084 Traceback (most recent call last): 2025-09-09T14:14:14,084 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-09-09T14:14:14,084 status = _inner_run() 2025-09-09T14:14:14,084 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-09-09T14:14:14,084 return self.run(options, args) 2025-09-09T14:14:14,084 ~~~~~~~~^^^^^^^^^^^^^^^ 2025-09-09T14:14:14,084 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 68, in wrapper 2025-09-09T14:14:14,084 return func(self, options, args) 2025-09-09T14:14:14,084 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 180, in run 2025-09-09T14:14:14,084 raise CommandError("Failed to build one or more wheels") 2025-09-09T14:14:14,084 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2025-09-09T14:14:14,088 Removed build tracker: '/tmp/pip-build-tracker-usp0a1qm'