Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

ENH: improve scipy.special.log_softmax accuracy in edge cases by a factor of 2**126 to 2**1022 #19549

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

JasonGross
Copy link

Reference issue

Fixes #19521

What does this implement/fix?

By taking advantage of the fact that x - x_max is going to be 0 at the maximum and that exp(0) is 1, we can use log1p instead of log to increase the accuracy of log_softmax at the maximum index by a factor of about 2**126 (for float32) or about 2**1022 (for float64) when there is a single maximum value that is much larger than other values. Most values should not be impacted.

Additional information

I've done some manual testing locally, but I'm not sure how to actually run all the tests, since python dev.py test -v fails with

fatal error: bits/timesize.h: No such file or directory
FAILED: scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o
/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/x86_64-conda-linux-gnu-c++ -Iscipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p -Iscipy/stats -I../scipy/stats -I../../../../.local64/mambaforge/envs/scipy-dev/lib/python3.11/site-packages/pythran -I../../../../.local64/mambaforge/envs/scipy-dev/lib/python3.11/site-packages/numpy/core/include -I/usr/include -I/home/jgross/.local64/mambaforge/envs/scipy-dev/include/python3.11 -fvisibility=hidden -fvisibility-inlines-hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++14 -O2 -g -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/jgross/.local64/mambaforge/envs/scipy-dev/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/jgross/.local64/mambaforge/envs/scipy-dev/include -fPIC -DENABLE_PYTHON_MODULE -D__PYTHRAN__=3 -DPYTHRAN_BLAS_NONE -Wno-cpp -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-unused-function -Wno-unused-variable -Wno-int-in-bool-context -MD -MQ scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o -MF scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o.d -o scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o -c scipy/stats/_stats_pythran.cpp
In file included from /usr/include/features.h:392,
                 from /home/jgross/.local64/mambaforge/envs/scipy-dev/x86_64-conda-linux-gnu/include/c++/12.3.0/x86_64-conda-linux-gnu/bits/os_defines.h:39,
                 from /home/jgross/.local64/mambaforge/envs/scipy-dev/x86_64-conda-linux-gnu/include/c++/12.3.0/x86_64-conda-linux-gnu/bits/c++config.h:655,
                 from /home/jgross/.local64/mambaforge/envs/scipy-dev/x86_64-conda-linux-gnu/include/c++/12.3.0/type_traits:38,
                 from ../../../../.local64/mambaforge/envs/scipy-dev/lib/python3.11/site-packages/pythran/pythonic/include/types/assignable.hpp:4,
                 from ../../../../.local64/mambaforge/envs/scipy-dev/lib/python3.11/site-packages/pythran/pythonic/types/assignable.hpp:4,
                 from ../../../../.local64/mambaforge/envs/scipy-dev/lib/python3.11/site-packages/pythran/pythonic/core.hpp:41,
                 from scipy/stats/_stats_pythran.cpp:1:
/usr/include/features-time64.h:21:10: fatal error: bits/timesize.h: No such file or directory
   21 | #include <bits/timesize.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.

So I'm relying on CI to run the tests that I added.

@lucascolley lucascolley added enhancement A new feature or improvement scipy.special labels Nov 17, 2023
@JasonGross JasonGross marked this pull request as draft November 20, 2023 19:20
@JasonGross
Copy link
Author

JasonGross commented Nov 20, 2023

I guess I need to fix the tests
__________________________ test_log_softmax_noneaxis ___________________________
[gw1] linux -- Python 3.10.13 /opt/hostedtoolcache/Python/3.10.13/x64/bin/python
scipy/special/tests/test_log_softmax.py:58: in test_log_softmax_noneaxis
    assert_allclose(sc.log_softmax(x), expected, rtol=1e-13)
        expected   = array([[-3.4401897, -2.4401897],
       [-1.4401897, -0.4401897]])
        log_softmax_expected = array([-3.4401897, -2.4401897, -1.4401897, -0.4401897])
        log_softmax_x = array([0, 1, 2, 3])
        x          = array([[0, 1],
       [2, 3]])
scipy/special/_logsumexp.py:306: in log_softmax
    x_max = x[x_argmax] if x.ndim > 0 else x
E   IndexError: index 3 is out of bounds for axis 0 with size 2
        axis       = None
        x          = array([[0, 1],
       [2, 3]])
        x_argmax   = array([[3]])
__________________________ test_axes[0-expected_2d0] ___________________________
[gw1] linux -- Python 3.10.13 /opt/hostedtoolcache/Python/3.10.13/x64/bin/python
scipy/special/tests/test_log_softmax.py:67: in test_axes
    sc.log_softmax([[1000, 1], [1000, 1]], axis=axis_2d),
        axis_2d    = 0
        expected_2d = array([[-0.69314718, -0.69314718],
       [-0.69314718, -0.69314718]])
scipy/special/_logsumexp.py:321: in log_softmax
    exp_tmp[x_argmax[finite_max_mask]] = 0
E   IndexError: too many indices for array: array is 2-dimensional, but 3 were indexed
        axis       = 0
        exp_tmp    = array([[[1., 1.],
        [1., 1.]]])
        finite_max_mask = array([[[ True,  True],
        [ True,  True]]])
        tmp        = array([[[0, 0],
        [0, 0]]])
        x          = array([[1000,    1],
       [1000,    1]])
        x_argmax   = array([[0, 0]])
        x_max      = array([[[1000,    1],
        [1000,    1]]])
__________________________ test_axes[1-expected_2d1] ___________________________
[gw1] linux -- Python 3.10.13 /opt/hostedtoolcache/Python/3.10.13/x64/bin/python
scipy/special/tests/test_log_softmax.py:67: in test_axes
    sc.log_softmax([[1000, 1], [1000, 1]], axis=axis_2d),
        axis_2d    = 1
        expected_2d = array([[   0, -999],
       [   0, -999]])
scipy/special/_logsumexp.py:321: in log_softmax
    exp_tmp[x_argmax[finite_max_mask]] = 0
E   IndexError: too many indices for array: array is 2-dimensional, but 3 were indexed
        axis       = 1
        exp_tmp    = array([[[1., 1.],
        [1., 1.]],

       [[1., 1.],
        [1., 1.]]])
        finite_max_mask = array([[[ True,  True]],

       [[ True,  True]]])
        tmp        = array([[[0, 0],
        [0, 0]],

       [[0, 0],
        [0, 0]]])
        x          = array([[1000,    1],
       [1000,    1]])
        x_argmax   = array([[0],
       [0]])
        x_max      = array([[[1000,    1]],

       [[1000,    1]]])
__________________________ test_log_softmax_2d_axis1 ___________________________
[gw1] linux -- Python 3.10.13 /opt/hostedtoolcache/Python/3.10.13/x64/bin/python
scipy/special/tests/test_log_softmax.py:97: in test_log_softmax_2d_axis1
    assert_allclose(sc.log_softmax(x, axis=1), expected, rtol=1e-13)
        expected   = array([[-3.4401897, -2.4401897, -1.4401897, -0.4401897],
       [-3.4401897, -2.4401897, -1.4401897, -0.4401897]])
        log_softmax_2d_expected = array([[-3.4401897, -2.4401897, -1.4401897, -0.4401897],
       [-3.4401897, -2.4401897, -1.4401897, -0.4401897]])
        log_softmax_2d_x = array([[0, 1, 2, 3],
       [4, 5, 6, 7]])
        x          = array([[0, 1, 2, 3],
       [4, 5, 6, 7]])
scipy/special/_logsumexp.py:306: in log_softmax
    x_max = x[x_argmax] if x.ndim > 0 else x
E   IndexError: index 3 is out of bounds for axis 0 with size 2
        axis       = 1
        x          = array([[0, 1, 2, 3],
       [4, 5, 6, 7]])
        x_argmax   = array([[3],
       [3]])
__________________________ test_log_softmax_2d_axis0 ___________________________
[gw1] linux -- Python 3.10.13 /opt/hostedtoolcache/Python/3.10.13/x64/bin/python
scipy/special/tests/test_log_softmax.py:103: in test_log_softmax_2d_axis0
    assert_allclose(sc.log_softmax(x, axis=0), expected, rtol=1e-13)
        expected   = array([[-3.4401897, -3.4401897],
       [-2.4401897, -2.4401897],
       [-1.4401897, -1.4401897],
       [-0.4401897, -0.4401897]])
        log_softmax_2d_expected = array([[-3.4401897, -2.4401897, -1.4401897, -0.4401897],
       [-3.4401897, -2.4401897, -1.4401897, -0.4401897]])
        log_softmax_2d_x = array([[0, 1, 2, 3],
       [4, 5, 6, 7]])
        x          = array([[0, 4],
       [1, 5],
       [2, 6],
       [3, 7]])
scipy/special/_logsumexp.py:315: in log_softmax
    tmp = x - x_max
E   ValueError: operands could not be broadcast together with shapes (4,2) (1,2,2)
        axis       = 0
        finite_max_mask = array([[[ True,  True],
        [ True,  True]]])
        x          = array([[0, 4],
       [1, 5],
       [2, 6],
       [3, 7]])
        x_argmax   = array([[3, 3]])
        x_max      = array([[[3, 7],
        [3, 7]]])
_____________________________ test_log_softmax_3d ______________________________
[gw1] linux -- Python 3.10.13 /opt/hostedtoolcache/Python/3.10.13/x64/bin/python
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/numpy/core/fromnumeric.py:59: in _wrapfunc
    return bound(*args, **kwds)
E   TypeError: 'tuple' object cannot be interpreted as an integer
        args       = ()
        bound      = <built-in method argmax of numpy.ndarray object at 0x7f89cce5b450>
        kwds       = {'axis': (1, 2), 'keepdims': True, 'out': None}
        method     = 'argmax'
        obj        = array([[[0, 1],
        [2, 3]],

       [[4, 5],
        [6, 7]]])

During handling of the above exception, another exception occurred:
scipy/special/tests/test_log_softmax.py:110: in test_log_softmax_3d
    assert_allclose(sc.log_softmax(x_3d, axis=(1, 2)), expected_3d, rtol=1e-13)
        expected_3d = array([[[-3.4401897, -2.4401897],
        [-1.4401897, -0.4401897]],

       [[-3.4401897, -2.4401897],
        [-1.4401897, -0.4401897]]])
        log_softmax_2d_expected = array([[-3.4401897, -2.4401897, -1.4401897, -0.4401897],
       [-3.4401897, -2.4401897, -1.4401897, -0.4401897]])
        log_softmax_2d_x = array([[0, 1, 2, 3],
       [4, 5, 6, 7]])
        x_3d       = array([[[0, 1],
        [2, 3]],

       [[4, 5],
        [6, 7]]])
scipy/special/_logsumexp.py:305: in log_softmax
    x_argmax = np.argmax(x, axis=axis, keepdims=True)
        axis       = (1, 2)
        x          = array([[[0, 1],
        [2, 3]],

       [[4, 5],
        [6, 7]]])
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/numpy/core/fromnumeric.py:1229: in argmax
    return _wrapfunc(a, 'argmax', axis=axis, out=out, **kwds)
        a          = array([[[0, 1],
        [2, 3]],

       [[4, 5],
        [6, 7]]])
        axis       = (1, 2)
        keepdims   = True
        kwds       = {'keepdims': True}
        out        = None
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/numpy/core/fromnumeric.py:68: in _wrapfunc
    return _wrapit(obj, method, *args, **kwds)
        args       = ()
        bound      = <built-in method argmax of numpy.ndarray object at 0x7f89cce5b450>
        kwds       = {'axis': (1, 2), 'keepdims': True, 'out': None}
        method     = 'argmax'
        obj        = array([[[0, 1],
        [2, 3]],

       [[4, 5],
        [6, 7]]])
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/numpy/core/fromnumeric.py:45: in _wrapit
    result = getattr(asarray(obj), method)(*args, **kwds)
E   TypeError: 'tuple' object cannot be interpreted as an integer
        args       = ()
        kwds       = {'axis': (1, 2), 'keepdims': True, 'out': None}
        method     = 'argmax'
        obj        = array([[[0, 1],
        [2, 3]],

       [[4, 5],
        [6, 7]]])
        wrap       = <built-in method __array_wrap__ of numpy.ndarray object at 0x7f89cce5b450>
=========================== short test summary info ============================
FAILED scipy/special/tests/test_log_softmax.py::test_log_softmax_noneaxis - IndexError: index 3 is out of bounds for axis 0 with size 2
FAILED scipy/special/tests/test_log_softmax.py::test_axes[0-expected_2d0] - IndexError: too many indices for array: array is 2-dimensional, but 3 were indexed
FAILED scipy/special/tests/test_log_softmax.py::test_axes[1-expected_2d1] - IndexError: too many indices for array: array is 2-dimensional, but 3 were indexed
FAILED scipy/special/tests/test_log_softmax.py::test_log_softmax_2d_axis1 - IndexError: index 3 is out of bounds for axis 0 with size 2
FAILED scipy/special/tests/test_log_softmax.py::test_log_softmax_2d_axis0 - ValueError: operands could not be broadcast together with shapes (4,2) (1,2,2)
FAILED scipy/special/tests/test_log_softmax.py::test_log_softmax_3d - TypeError: 'tuple' object cannot be interpreted as an integer
= 6 failed, 44926 passed, 2331 skipped, 148 xfailed, 13 xpassed in 335.15s (0:05:35)

@JasonGross
Copy link
Author

Is there a good way to test only this one file, in light of python dev.py test -v failing?

@steppi
Copy link
Contributor

steppi commented Nov 20, 2023

Is there a good way to test only this one file, in light of python dev.py test -v failing?

We should try to get your local dev environment working correctly. The missing <bits/timesize.h> suggests a missing or incompatible glibc. Can you check your glibc version with ldd --version while your environment is activated?

@steppi
Copy link
Contributor

steppi commented Nov 20, 2023

@JasonGross, did you build SciPy with python dev.py build successfully and it's only python dev.py test -v that fails? Did you follow all the steps here for building from source for development?

@JasonGross
Copy link
Author

Sorry it's taken me so long to respond.

We should try to get your local dev environment working correctly. The missing <bits/timesize.h> suggests a missing or incompatible glibc. Can you check your glibc version with ldd --version while your environment is activated?

$ ldd --version
ldd (Ubuntu GLIBC 2.35-0ubuntu3.6) 2.35

@JasonGross, did you build SciPy with python dev.py build successfully and it's only python dev.py test -v that fails? Did you follow all the steps here for building from source for development?

I get the same error with python dev.py build.
I've run

$ sudo apt install -y gcc g++ gfortran libopenblas-dev liblapack-dev pkg-config python3-pip python3-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
g++ is already the newest version (4:11.2.0-1ubuntu1).
gcc is already the newest version (4:11.2.0-1ubuntu1).
gfortran is already the newest version (4:11.2.0-1ubuntu1).
liblapack-dev is already the newest version (3.10.0-2ubuntu1).
pkg-config is already the newest version (0.29.2-1ubuntu3).
libopenblas-dev is already the newest version (0.3.20+ds-1).
python3-dev is already the newest version (3.10.6-1~22.04).
python3-pip is already the newest version (22.0.2+dfsg-1ubuntu0.4).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
$ mamba env create -f environment.yml
Retrieving notices: ...working... done
warning  libmamba Cache file "/home/jgross/.local64/mambaforge/pkgs/cache/497deca9.json" was modified by another program
huggingface/linux-64                                          No change
huggingface/noarch                                            No change
conda-forge/noarch                                  15.3MB @   4.3MB/s  3.9s
conda-forge/linux-64                                37.4MB @   4.9MB/s 10.4s


Looking for: ['python', "cython[version='>=3.0.4']", 'compilers', 'meson', 'meson-python', 'ninja', 'numpy', 'openblas', 'pkg-config', 'libblas=[build=*openblas]', 'pybind11', 'pooch', 'pythran', 'pytest', 'pytest-cov', 'pytest-xdist', 'pytest-timeout', "asv[version='>=0.6']", 'hypothesis', 'mypy', 'typing_extensions', 'types-psutil', 'sphinx', 'numpydoc', 'ipython', "setuptools[version='<67.3']", 'matplotlib', 'pydata-sphinx-theme==0.9.0', 'sphinx-design', 'jupytext', 'myst-nb', 'mpmath', 'gmpy2', 'threadpoolctl', 'rich-click', 'click', "doit[version='>=0.36.0']", 'pydevtool', 'ruff', 'cython-lint']


Transaction

  Prefix: /home/jgross/.local64/mambaforge/envs/scipy-dev

  Updating specs:

   - python
   - cython[version='>=3.0.4']
   - compilers
   - meson
   - meson-python
   - ninja
   - numpy
   - openblas
   - pkg-config
   - libblas=*[build=*openblas]
   - pybind11
   - pooch
   - pythran
   - pytest
   - pytest-cov
   - pytest-xdist
   - pytest-timeout
   - asv[version='>=0.6']
   - hypothesis
   - mypy
   - typing_extensions
   - types-psutil
   - sphinx
   - numpydoc
   - ipython
   - setuptools[version='<67.3']
   - matplotlib
   - pydata-sphinx-theme==0.9.0
   - sphinx-design
   - jupytext
   - myst-nb
   - mpmath
   - gmpy2
   - threadpoolctl
   - rich-click
   - click
   - doit[version='>=0.36.0']
   - pydevtool
   - ruff
   - cython-lint


  Package                               Version  Build                Channel                    Size
───────────────────────────────────────────────────────────────────────────────────────────────────────
  Install:
───────────────────────────────────────────────────────────────────────────────────────────────────────

  + _libgcc_mutex                           0.1  conda_forge          conda-forge/linux-64     Cached
  + _openmp_mutex                           4.5  2_gnu                conda-forge/linux-64     Cached
  + alabaster                            0.7.16  pyhd8ed1ab_0         conda-forge/noarch         18kB
  + alsa-lib                             1.2.10  hd590300_0           conda-forge/linux-64     Cached
  + asttokens                             2.4.1  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + asv                                   0.6.1  py311hb755f60_1      conda-forge/linux-64     Cached
  + asv_runner                            0.1.0  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + attr                                  2.5.1  h166bdaf_1           conda-forge/linux-64     Cached
  + attrs                                23.2.0  pyh71513ae_0         conda-forge/noarch         55kB
  + babel                                2.14.0  pyhd8ed1ab_0         conda-forge/noarch          8MB
  + backports.zoneinfo                    0.2.1  py311h38be061_8      conda-forge/linux-64     Cached
  + beautifulsoup4                       4.12.3  pyha770c72_0         conda-forge/noarch        118kB
  + beniget                               0.4.1  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + binutils                               2.40  hdd6e379_0           conda-forge/linux-64     Cached
  + binutils_impl_linux-64                 2.40  hf600244_0           conda-forge/linux-64     Cached
  + binutils_linux-64                      2.40  hbdbef99_2           conda-forge/linux-64     Cached
  + brotli                                1.1.0  hd590300_1           conda-forge/linux-64     Cached
  + brotli-bin                            1.1.0  hd590300_1           conda-forge/linux-64     Cached
  + brotli-python                         1.1.0  py311hb755f60_1      conda-forge/linux-64     Cached
  + bzip2                                 1.0.8  hd590300_5           conda-forge/linux-64     Cached
  + c-compiler                            1.7.0  hd590300_0           conda-forge/linux-64        6kB
  + ca-certificates                  2023.11.17  hbcca054_0           conda-forge/linux-64     Cached
  + cairo                                1.18.0  h3faef2a_0           conda-forge/linux-64     Cached
  + certifi                          2023.11.17  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + charset-normalizer                    3.3.2  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + click                                 8.1.7  unix_pyh707e725_0    conda-forge/noarch       Cached
  + cloudpickle                           3.0.0  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + colorama                              0.4.6  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + colorlog                              6.8.0  py311h38be061_0      conda-forge/linux-64       22kB
  + comm                                  0.2.1  pyhd8ed1ab_0         conda-forge/noarch         12kB
  + compilers                             1.7.0  ha770c72_0           conda-forge/linux-64        7kB
  + contourpy                             1.2.0  py311h9547e67_0      conda-forge/linux-64     Cached
  + coverage                              7.4.0  py311h459d7ec_0      conda-forge/linux-64      365kB
  + cxx-compiler                          1.7.0  h00ab1b0_0           conda-forge/linux-64        6kB
  + cycler                               0.12.1  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + cython                                3.0.7  py311hb755f60_0      conda-forge/linux-64        4MB
  + cython-lint                          0.16.0  pyhd8ed1ab_0         conda-forge/noarch         18kB
  + dbus                                 1.13.6  h5008d03_3           conda-forge/linux-64     Cached
  + debugpy                               1.8.0  py311hb755f60_1      conda-forge/linux-64     Cached
  + decorator                             5.1.1  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + docutils                             0.20.1  py311h38be061_3      conda-forge/linux-64      918kB
  + doit                                 0.36.0  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + exceptiongroup                        1.2.0  pyhd8ed1ab_2         conda-forge/noarch         21kB
  + execnet                               2.0.2  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + executing                             2.0.1  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + expat                                 2.5.0  hcb278e6_1           conda-forge/linux-64     Cached
  + font-ttf-dejavu-sans-mono              2.37  hab24e00_0           conda-forge/noarch       Cached
  + font-ttf-inconsolata                  3.000  h77eed37_0           conda-forge/noarch       Cached
  + font-ttf-source-code-pro              2.038  h77eed37_0           conda-forge/noarch       Cached
  + font-ttf-ubuntu                        0.83  h77eed37_1           conda-forge/noarch          2MB
  + fontconfig                           2.14.2  h14ed4e7_0           conda-forge/linux-64     Cached
  + fonts-conda-ecosystem                     1  0                    conda-forge/noarch       Cached
  + fonts-conda-forge                         1  0                    conda-forge/noarch       Cached
  + fonttools                            4.47.2  py311h459d7ec_0      conda-forge/linux-64        3MB
  + fortran-compiler                      1.7.0  heb67821_0           conda-forge/linux-64        6kB
  + freetype                             2.12.1  h267a509_2           conda-forge/linux-64     Cached
  + gast                                  0.5.4  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + gcc                                  12.3.0  h8d2909c_2           conda-forge/linux-64     Cached
  + gcc_impl_linux-64                    12.3.0  he2b93b0_3           conda-forge/linux-64     Cached
  + gcc_linux-64                         12.3.0  h76fc315_2           conda-forge/linux-64     Cached
  + gettext                              0.21.1  h27087fc_0           conda-forge/linux-64     Cached
  + gfortran                             12.3.0  h499e0f7_2           conda-forge/linux-64     Cached
  + gfortran_impl_linux-64               12.3.0  hfcedea8_3           conda-forge/linux-64     Cached
  + gfortran_linux-64                    12.3.0  h7fe76b4_2           conda-forge/linux-64     Cached
  + glib                                 2.78.3  hfc55251_0           conda-forge/linux-64      490kB
  + glib-tools                           2.78.3  hfc55251_0           conda-forge/linux-64      111kB
  + gmp                                   6.3.0  h59595ed_0           conda-forge/linux-64     Cached
  + gmpy2                                 2.1.2  py311h6a5fa03_1      conda-forge/linux-64     Cached
  + graphite2                            1.3.13  h58526e2_1001        conda-forge/linux-64     Cached
  + greenlet                              3.0.3  py311hb755f60_0      conda-forge/linux-64      236kB
  + gst-plugins-base                     1.22.8  h8e1006c_1           conda-forge/linux-64        3MB
  + gstreamer                            1.22.8  h98fc4e7_1           conda-forge/linux-64        2MB
  + gxx                                  12.3.0  h8d2909c_2           conda-forge/linux-64     Cached
  + gxx_impl_linux-64                    12.3.0  he2b93b0_3           conda-forge/linux-64     Cached
  + gxx_linux-64                         12.3.0  h8a814eb_2           conda-forge/linux-64     Cached
  + harfbuzz                              8.3.0  h3d44ed6_0           conda-forge/linux-64     Cached
  + hypothesis                           6.96.1  pyha770c72_0         conda-forge/noarch        311kB
  + icu                                    73.2  h59595ed_0           conda-forge/linux-64     Cached
  + idna                                    3.6  pyhd8ed1ab_0         conda-forge/noarch         50kB
  + imagesize                             1.4.1  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + importlib-metadata                    7.0.1  pyha770c72_0         conda-forge/noarch       Cached
  + importlib_metadata                    7.0.1  hd8ed1ab_0           conda-forge/noarch       Cached
  + importlib_resources                   6.1.1  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + iniconfig                             2.0.0  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + ipykernel                            6.29.0  pyhd33586a_0         conda-forge/noarch        118kB
  + ipython                              8.20.0  pyh707e725_0         conda-forge/noarch        591kB
  + jedi                                 0.19.1  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + jinja2                                3.1.3  pyhd8ed1ab_0         conda-forge/noarch        112kB
  + json5                                0.9.14  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + jsonschema                           4.21.0  pyhd8ed1ab_0         conda-forge/noarch         72kB
  + jsonschema-specifications         2023.12.1  pyhd8ed1ab_0         conda-forge/noarch         16kB
  + jupyter-cache                         1.0.0  pyhd8ed1ab_0         conda-forge/noarch         31kB
  + jupyter_client                        8.6.0  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + jupyter_core                          5.7.1  py311h38be061_0      conda-forge/linux-64       95kB
  + jupytext                             1.16.1  pyhd8ed1ab_0         conda-forge/noarch        103kB
  + kernel-headers_linux-64              2.6.32  he073ed8_16          conda-forge/noarch       Cached
  + keyutils                              1.6.1  h166bdaf_0           conda-forge/linux-64     Cached
  + kiwisolver                            1.4.5  py311h9547e67_1      conda-forge/linux-64     Cached
  + krb5                                 1.21.2  h659d440_0           conda-forge/linux-64     Cached
  + lame                                  3.100  h166bdaf_1003        conda-forge/linux-64     Cached
  + lcms2                                  2.16  hb7c19ff_0           conda-forge/linux-64      245kB
  + ld_impl_linux-64                       2.40  h41732ed_0           conda-forge/linux-64     Cached
  + lerc                                  4.0.0  h27087fc_0           conda-forge/linux-64     Cached
  + libblas                               3.9.0  20_linux64_openblas  conda-forge/linux-64       14kB
  + libbrotlicommon                       1.1.0  hd590300_1           conda-forge/linux-64     Cached
  + libbrotlidec                          1.1.0  hd590300_1           conda-forge/linux-64     Cached
  + libbrotlienc                          1.1.0  hd590300_1           conda-forge/linux-64     Cached
  + libcap                                 2.69  h0f662aa_0           conda-forge/linux-64     Cached
  + libcblas                              3.9.0  20_linux64_openblas  conda-forge/linux-64       14kB
  + libclang                             15.0.7  default_hb11cfb5_4   conda-forge/linux-64      133kB
  + libclang13                           15.0.7  default_ha2b6cf4_4   conda-forge/linux-64       10MB
  + libcups                               2.3.3  h4637d8d_4           conda-forge/linux-64     Cached
  + libdeflate                             1.19  hd590300_0           conda-forge/linux-64     Cached
  + libedit                        3.1.20191231  he28a2e2_2           conda-forge/linux-64     Cached
  + libevent                             2.1.12  hf998b51_1           conda-forge/linux-64     Cached
  + libexpat                              2.5.0  hcb278e6_1           conda-forge/linux-64     Cached
  + libffi                                3.4.2  h7f98852_5           conda-forge/linux-64     Cached
  + libflac                               1.4.3  h59595ed_0           conda-forge/linux-64     Cached
  + libgcc-devel_linux-64                12.3.0  h8bca6fd_103         conda-forge/noarch       Cached
  + libgcc-ng                            13.2.0  h807b86a_3           conda-forge/linux-64     Cached
  + libgcrypt                            1.10.3  hd590300_0           conda-forge/linux-64      635kB
  + libgfortran-ng                       13.2.0  h69a702a_3           conda-forge/linux-64     Cached
  + libgfortran5                         13.2.0  ha4646dd_3           conda-forge/linux-64     Cached
  + libglib                              2.78.3  h783c2da_0           conda-forge/linux-64        3MB
  + libgomp                              13.2.0  h807b86a_3           conda-forge/linux-64     Cached
  + libgpg-error                           1.47  h71f35ed_0           conda-forge/linux-64     Cached
  + libiconv                               1.17  hd590300_2           conda-forge/linux-64      706kB
  + libjpeg-turbo                         3.0.0  hd590300_1           conda-forge/linux-64     Cached
  + liblapack                             3.9.0  20_linux64_openblas  conda-forge/linux-64       14kB
  + libllvm15                            15.0.7  hb3ce162_4           conda-forge/linux-64       33MB
  + libnsl                                2.0.1  hd590300_0           conda-forge/linux-64     Cached
  + libogg                                1.3.4  h7f98852_1           conda-forge/linux-64     Cached
  + libopenblas                          0.3.25  pthreads_h413a1c8_0  conda-forge/linux-64        6MB
  + libopus                               1.3.1  h7f98852_1           conda-forge/linux-64     Cached
  + libpng                               1.6.39  h753d276_0           conda-forge/linux-64     Cached
  + libpq                                  16.1  h33b98f1_7           conda-forge/linux-64        2MB
  + libsanitizer                         12.3.0  h0f45ef3_3           conda-forge/linux-64     Cached
  + libsndfile                            1.2.2  hc60ed4a_1           conda-forge/linux-64     Cached
  + libsodium                            1.0.18  h36c2ea0_1           conda-forge/linux-64     Cached
  + libsqlite                            3.44.2  h2797004_0           conda-forge/linux-64     Cached
  + libstdcxx-devel_linux-64             12.3.0  h8bca6fd_103         conda-forge/noarch       Cached
  + libstdcxx-ng                         13.2.0  h7e041cc_3           conda-forge/linux-64     Cached
  + libsystemd0                             255  h3516f8a_0           conda-forge/linux-64      404kB
  + libtiff                               4.6.0  ha9c0a0a_2           conda-forge/linux-64     Cached
  + libuuid                              2.38.1  h0b41bf4_0           conda-forge/linux-64     Cached
  + libvorbis                             1.3.7  h9c3ff4c_0           conda-forge/linux-64     Cached
  + libwebp-base                          1.3.2  hd590300_0           conda-forge/linux-64     Cached
  + libxcb                                 1.15  h0b41bf4_0           conda-forge/linux-64     Cached
  + libxcrypt                            4.4.36  hd590300_1           conda-forge/linux-64      100kB
  + libxkbcommon                          1.6.0  hd429924_1           conda-forge/linux-64      575kB
  + libxml2                              2.12.4  h232c23b_1           conda-forge/linux-64      705kB
  + libzlib                              1.2.13  hd590300_5           conda-forge/linux-64     Cached
  + lz4-c                                 1.9.4  hcb278e6_0           conda-forge/linux-64     Cached
  + markdown-it-py                        3.0.0  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + markupsafe                            2.1.3  py311h459d7ec_1      conda-forge/linux-64     Cached
  + matplotlib                            3.8.2  py311h38be061_0      conda-forge/linux-64        8kB
  + matplotlib-base                       3.8.2  py311h54ef318_0      conda-forge/linux-64        8MB
  + matplotlib-inline                     0.1.6  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + mdit-py-plugins                       0.4.0  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + mdurl                                 0.1.2  pyhd8ed1ab_0         conda-forge/noarch         15kB
  + meson                                 1.3.1  pyhd8ed1ab_0         conda-forge/noarch        628kB
  + meson-python                         0.15.0  pyh0c530f3_0         conda-forge/noarch       Cached
  + mpc                                   1.3.1  hfe3b2da_0           conda-forge/linux-64     Cached
  + mpfr                                  4.2.1  h9458935_0           conda-forge/linux-64     Cached
  + mpg123                               1.32.4  h59595ed_0           conda-forge/linux-64      491kB
  + mpmath                                1.3.0  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + munkres                               1.1.4  pyh9f0ad1d_0         conda-forge/noarch       Cached
  + mypy                                  1.8.0  py311h459d7ec_0      conda-forge/linux-64       18MB
  + mypy_extensions                       1.0.0  pyha770c72_0         conda-forge/noarch       Cached
  + mysql-common                         8.0.33  hf1915f5_6           conda-forge/linux-64     Cached
  + mysql-libs                           8.0.33  hca2cd23_6           conda-forge/linux-64     Cached
  + myst-nb                               1.0.0  pyhd8ed1ab_0         conda-forge/noarch         63kB
  + myst-parser                           2.0.0  pyhd8ed1ab_0         conda-forge/noarch         67kB
  + nbclient                              0.8.0  pyhd8ed1ab_0         conda-forge/noarch         65kB
  + nbformat                              5.9.2  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + ncurses                                 6.4  h59595ed_2           conda-forge/linux-64     Cached
  + nest-asyncio                          1.5.9  pyhd8ed1ab_0         conda-forge/noarch         12kB
  + ninja                                1.11.1  h924138e_0           conda-forge/linux-64     Cached
  + nspr                                   4.35  h27087fc_0           conda-forge/linux-64     Cached
  + nss                                    3.96  h1d7d5a4_0           conda-forge/linux-64        2MB
  + numpy                                1.26.3  py311h64a7726_0      conda-forge/linux-64        8MB
  + numpydoc                              1.6.0  pyhd8ed1ab_0         conda-forge/noarch         57kB
  + openblas                             0.3.25  pthreads_h7a3da1a_0  conda-forge/linux-64        6MB
  + openjpeg                              2.5.0  h488ebb8_3           conda-forge/linux-64     Cached
  + openssl                               3.2.0  hd590300_1           conda-forge/linux-64     Cached
  + packaging                              23.2  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + parso                                 0.8.3  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + pcre2                                 10.42  hcad00b1_0           conda-forge/linux-64     Cached
  + pexpect                               4.8.0  pyh1a96a4e_2         conda-forge/noarch       Cached
  + pickleshare                           0.7.5  py_1003              conda-forge/noarch       Cached
  + pillow                               10.2.0  py311ha6c5da5_0      conda-forge/linux-64       42MB
  + pip                                  23.3.2  pyhd8ed1ab_0         conda-forge/noarch          1MB
  + pixman                               0.43.0  h59595ed_0           conda-forge/linux-64      387kB
  + pkg-config                           0.29.2  h36c2ea0_1008        conda-forge/linux-64     Cached
  + pkgutil-resolve-name                 1.3.10  pyhd8ed1ab_1         conda-forge/noarch       Cached
  + platformdirs                          4.1.0  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + pluggy                                1.3.0  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + ply                                    3.11  py_1                 conda-forge/noarch       Cached
  + pooch                                 1.8.0  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + prompt-toolkit                       3.0.42  pyha770c72_0         conda-forge/noarch       Cached
  + psutil                                5.9.7  py311h459d7ec_0      conda-forge/linux-64      501kB
  + pthread-stubs                           0.4  h36c2ea0_1001        conda-forge/linux-64     Cached
  + ptyprocess                            0.7.0  pyhd3deb0d_0         conda-forge/noarch       Cached
  + pulseaudio-client                      16.1  hb77b528_5           conda-forge/linux-64     Cached
  + pure_eval                             0.2.2  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + pybind11                             2.11.1  py311h9547e67_2      conda-forge/linux-64     Cached
  + pybind11-global                      2.11.1  py311h9547e67_2      conda-forge/linux-64     Cached
  + pycodestyle                          2.11.1  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + pydata-sphinx-theme                   0.9.0  pyhd8ed1ab_1         conda-forge/noarch       Cached
  + pydevtool                             0.3.0  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + pygments                             2.17.2  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + pympler                               1.0.1  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + pyparsing                             3.1.1  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + pyproject-metadata                    0.7.1  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + pyqt                                 5.15.9  py311hf0fb5b6_5      conda-forge/linux-64     Cached
  + pyqt5-sip                           12.12.2  py311hb755f60_5      conda-forge/linux-64     Cached
  + pysocks                               1.7.1  pyha2e5f31_6         conda-forge/noarch       Cached
  + pytest                                7.4.4  pyhd8ed1ab_0         conda-forge/noarch        245kB
  + pytest-cov                            4.1.0  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + pytest-timeout                        2.2.0  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + pytest-xdist                          3.5.0  pyhd8ed1ab_0         conda-forge/noarch         37kB
  + python                               3.11.7  hab00c5b_1_cpython   conda-forge/linux-64       31MB
  + python-dateutil                       2.8.2  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + python-fastjsonschema                2.19.1  pyhd8ed1ab_0         conda-forge/noarch        225kB
  + python_abi                             3.11  4_cp311              conda-forge/linux-64     Cached
  + pythran                              0.15.0  py311h92ebd52_1      conda-forge/linux-64        2MB
  + pytz                           2023.3.post1  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + pyyaml                                6.0.1  py311h459d7ec_1      conda-forge/linux-64     Cached
  + pyzmq                                25.1.2  py311h34ded2d_0      conda-forge/linux-64      537kB
  + qt-main                              5.15.8  h450f30e_18          conda-forge/linux-64       61MB
  + readline                                8.2  h8228510_1           conda-forge/linux-64     Cached
  + referencing                          0.32.1  pyhd8ed1ab_0         conda-forge/noarch         39kB
  + requests                             2.31.0  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + rich                                 13.7.0  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + rich-click                            1.7.3  pyhd8ed1ab_0         conda-forge/noarch         33kB
  + rpds-py                              0.17.1  py311h46250e7_0      conda-forge/linux-64        1MB
  + ruff                                 0.1.13  py311h7145743_1      conda-forge/linux-64        6MB
  + setuptools                           67.1.0  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + sip                                  6.7.12  py311hb755f60_0      conda-forge/linux-64     Cached
  + six                                  1.16.0  pyh6c4a22f_0         conda-forge/noarch       Cached
  + snowballstemmer                       2.2.0  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + sortedcontainers                      2.4.0  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + soupsieve                               2.5  pyhd8ed1ab_1         conda-forge/noarch       Cached
  + sphinx                                7.2.6  pyhd8ed1ab_0         conda-forge/noarch          1MB
  + sphinx-design                         0.5.0  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + sphinxcontrib-applehelp               1.0.8  pyhd8ed1ab_0         conda-forge/noarch         30kB
  + sphinxcontrib-devhelp                 1.0.6  pyhd8ed1ab_0         conda-forge/noarch         24kB
  + sphinxcontrib-htmlhelp                2.0.5  pyhd8ed1ab_0         conda-forge/noarch         33kB
  + sphinxcontrib-jsmath                  1.0.1  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + sphinxcontrib-qthelp                  1.0.7  pyhd8ed1ab_0         conda-forge/noarch         27kB
  + sphinxcontrib-serializinghtml        1.1.10  pyhd8ed1ab_0         conda-forge/noarch         29kB
  + sqlalchemy                           2.0.25  py311h459d7ec_0      conda-forge/linux-64        4MB
  + stack_data                            0.6.2  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + sysroot_linux-64                       2.12  he073ed8_16          conda-forge/noarch       Cached
  + tabulate                              0.9.0  pyhd8ed1ab_1         conda-forge/noarch       Cached
  + threadpoolctl                         3.2.0  pyha21a80b_0         conda-forge/noarch       Cached
  + tk                                   8.6.13  noxft_h4845f30_101   conda-forge/linux-64     Cached
  + tokenize-rt                           5.2.0  pyhd8ed1ab_1         conda-forge/noarch         12kB
  + toml                                 0.10.2  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + tomli                                 2.0.1  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + tornado                               6.3.3  py311h459d7ec_1      conda-forge/linux-64     Cached
  + traitlets                            5.14.1  pyhd8ed1ab_0         conda-forge/noarch        110kB
  + types-psutil                        5.9.5.6  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + typing-extensions                     4.9.0  hd8ed1ab_0           conda-forge/noarch         10kB
  + typing_extensions                     4.9.0  pyha770c72_0         conda-forge/noarch       Cached
  + tzdata                                2023d  h0c530f3_0           conda-forge/noarch        120kB
  + urllib3                               2.1.0  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + wcwidth                              0.2.13  pyhd8ed1ab_0         conda-forge/noarch         33kB
  + wheel                                0.42.0  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + xcb-util                              0.4.0  hd590300_1           conda-forge/linux-64     Cached
  + xcb-util-image                        0.4.0  h8ee46fc_1           conda-forge/linux-64     Cached
  + xcb-util-keysyms                      0.4.0  h8ee46fc_1           conda-forge/linux-64     Cached
  + xcb-util-renderutil                   0.3.9  hd590300_1           conda-forge/linux-64     Cached
  + xcb-util-wm                           0.4.1  h8ee46fc_1           conda-forge/linux-64     Cached
  + xkeyboard-config                       2.40  hd590300_0           conda-forge/linux-64     Cached
  + xorg-kbproto                          1.0.7  h7f98852_1002        conda-forge/linux-64     Cached
  + xorg-libice                           1.1.1  hd590300_0           conda-forge/linux-64     Cached
  + xorg-libsm                            1.2.4  h7391055_0           conda-forge/linux-64     Cached
  + xorg-libx11                           1.8.7  h8ee46fc_0           conda-forge/linux-64     Cached
  + xorg-libxau                          1.0.11  hd590300_0           conda-forge/linux-64     Cached
  + xorg-libxdmcp                         1.1.3  h7f98852_0           conda-forge/linux-64     Cached
  + xorg-libxext                          1.3.4  h0b41bf4_2           conda-forge/linux-64     Cached
  + xorg-libxrender                      0.9.11  hd590300_0           conda-forge/linux-64     Cached
  + xorg-renderproto                     0.11.1  h7f98852_1002        conda-forge/linux-64     Cached
  + xorg-xextproto                        7.3.0  h0b41bf4_1003        conda-forge/linux-64     Cached
  + xorg-xf86vidmodeproto                 2.3.1  h7f98852_1002        conda-forge/linux-64     Cached
  + xorg-xproto                          7.0.31  h7f98852_1007        conda-forge/linux-64     Cached
  + xz                                    5.2.6  h166bdaf_0           conda-forge/linux-64     Cached
  + yaml                                  0.2.5  h7f98852_2           conda-forge/linux-64     Cached
  + zeromq                                4.3.5  h59595ed_0           conda-forge/linux-64     Cached
  + zipp                                 3.17.0  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + zlib                                 1.2.13  hd590300_5           conda-forge/linux-64     Cached
  + zstd                                  1.5.5  hfc55251_0           conda-forge/linux-64     Cached

  Summary:

  Install: 293 packages

  Total download: 276MB

───────────────────────────────────────────────────────────────────────────────────────────────────────


libxcrypt                                          100.4kB @   1.1MB/s  0.1s
mpg123                                             491.1kB @   3.8MB/s  0.1s
libiconv                                           705.8kB @   4.8MB/s  0.1s
pixman                                             387.3kB @   2.4MB/s  0.2s
libxml2                                            704.9kB @   4.4MB/s  0.2s
libsystemd0                                        404.3kB @   2.5MB/s  0.1s
libclang                                           133.4kB @ 676.0kB/s  0.0s
lcms2                                              245.2kB @   1.2MB/s  0.1s
liblapack                                           14.3kB @  63.9kB/s  0.1s
tzdata                                             119.6kB @ 530.0kB/s  0.1s
python-fastjsonschema                              225.2kB @ 798.1kB/s  0.1s
traitlets                                          110.3kB @ 377.1kB/s  0.1s
attrs                                               54.6kB @ 186.2kB/s  0.1s
pip                                                  1.4MB @   4.5MB/s  0.1s
beautifulsoup4                                     118.2kB @ 344.9kB/s  0.1s
typing-extensions                                   10.2kB @  29.7kB/s  0.1s
pytest                                             244.6kB @ 489.4kB/s  0.2s
rich-click                                          32.8kB @  65.6kB/s  0.2s
greenlet                                           236.0kB @ 450.3kB/s  0.2s
pyzmq                                              536.5kB @   1.0MB/s  0.2s
libclang13                                           9.6MB @  13.3MB/s  0.8s
gstreamer                                            2.0MB @   1.5MB/s  0.9s
sqlalchemy                                           3.5MB @   2.5MB/s  0.9s
referencing                                         39.0kB @  27.7kB/s  0.4s
hypothesis                                         310.5kB @ 191.8kB/s  0.2s
jinja2                                             111.6kB @  68.9kB/s  0.2s
cython-lint                                         18.0kB @  11.1kB/s  0.2s
ruff                                                 5.5MB @   3.2MB/s  1.6s
sphinxcontrib-devhelp                               24.5kB @  11.8kB/s  0.5s
nbclient                                            64.9kB @  31.2kB/s  0.5s
jupytext                                           102.9kB @  49.5kB/s  0.5s
numpy                                                8.2MB @   3.8MB/s  2.0s
myst-nb                                             62.7kB @  28.8kB/s  0.4s
libgcrypt                                          634.9kB @ 289.5kB/s  0.6s
nss                                                  2.0MB @ 736.0kB/s  0.8s
libcblas                                            14.4kB @   5.3kB/s  0.4s
font-ttf-ubuntu                                      1.6MB @ 553.8kB/s  1.0s
mdurl                                               14.7kB @   4.2kB/s  0.6s
exceptiongroup                                      20.6kB @   5.9kB/s  0.6s
libopenblas                                          5.5MB @   1.6MB/s  1.5s
pytest-xdist                                        36.5kB @  10.0kB/s  0.2s
ipython                                            591.0kB @ 162.1kB/s  0.2s
glib                                               489.5kB @ 134.1kB/s  0.2s
cython                                               3.7MB @ 897.7kB/s  0.6s
gst-plugins-base                                     2.7MB @ 642.6kB/s  0.6s
sphinxcontrib-htmlhelp                              33.5kB @   7.9kB/s  0.1s
pythran                                              2.4MB @ 550.7kB/s  0.6s
jupyter-cache                                       31.4kB @   7.3kB/s  0.1s
libblas                                             14.4kB @   3.3kB/s  0.1s
libglib                                              2.7MB @ 609.8kB/s  0.2s
cxx-compiler                                         6.3kB @   1.4kB/s  0.1s
tokenize-rt                                         11.8kB @   2.6kB/s  0.1s
nest-asyncio                                        11.7kB @   2.6kB/s  0.1s
comm                                                12.2kB @   1.6kB/s  3.0s
rpds-py                                              1.0MB @ 135.8kB/s  3.0s
matplotlib-base                                      7.9MB @   1.1MB/s  3.9s
psutil                                             501.4kB @  66.0kB/s  0.1s
docutils                                           918.4kB @ 120.9kB/s  0.1s
python                                              30.8MB @   4.0MB/s  5.2s
sphinxcontrib-applehelp                             29.5kB @   3.8kB/s  0.1s
glib-tools                                         110.7kB @  14.3kB/s  0.0s
sphinx                                               1.3MB @ 165.1kB/s  0.2s
compilers                                            7.1kB @ 905.0 B/s  0.1s
alabaster                                           18.4kB @   2.3kB/s  0.1s
meson                                              628.0kB @  79.0kB/s  0.1s
colorlog                                            21.9kB @   2.7kB/s  0.2s
openblas                                             5.7MB @ 694.2kB/s  0.5s
fonttools                                            2.8MB @ 345.5kB/s  0.3s
jsonschema-specifications                           16.4kB @   2.0kB/s  0.1s
sphinxcontrib-serializinghtml                       28.8kB @   3.5kB/s  0.1s
numpydoc                                            56.6kB @   6.8kB/s  0.1s
myst-parser                                         67.1kB @   8.1kB/s  0.1s
wcwidth                                             32.7kB @   3.9kB/s  0.2s
idna                                                50.1kB @   5.9kB/s  0.2s
jsonschema                                          72.3kB @   7.2kB/s  1.5s
sphinxcontrib-qthelp                                27.0kB @   2.7kB/s  1.5s
matplotlib                                           8.4kB @ 651.0 B/s  2.9s
babel                                                7.6MB @ 588.2kB/s  4.7s
libxkbcommon                                       574.9kB @  44.2kB/s  0.1s
jupyter_core                                        94.7kB @   7.3kB/s  0.1s
c-compiler                                           6.3kB @ 481.0 B/s  0.1s
coverage                                           364.9kB @  27.8kB/s  0.1s
fortran-compiler                                     6.3kB @ 479.0 B/s  0.1s
ipykernel                                          118.2kB @   9.0kB/s  0.1s
libllvm15                                           33.3MB @   2.5MB/s  9.1s
libpq                                                2.5MB @ 183.9kB/s  0.2s
mypy                                                17.7MB @   1.3MB/s  3.7s
qt-main                                             61.3MB @   4.2MB/s  7.2s
pillow                                              41.6MB @   2.8MB/s  1.8s

Downloading and Extracting Packages

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate scipy-dev
#
# To deactivate an active environment, use
#
#     $ conda deactivate
mamba activate scipy-dev
python dev.py build
💻  ninja -C /home/jgross/Documents/GitHub/scipy/build -j4
ninja: Entering directory `/home/jgross/Documents/GitHub/scipy/build'
[0/1] Regenerating build files.
Regenerating configuration from scratch: Build directory has been generated with Meson version 1.2.3, which is incompatible with the current version 1.3.1.
The Meson build system
Version: 1.3.1
Source dir: /home/jgross/Documents/GitHub/scipy
Build dir: /home/jgross/Documents/GitHub/scipy/build
Build type: native build
Project name: SciPy
Project version: 1.13.0.dev0
C compiler for the host machine: /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/x86_64-conda-linux-gnu-cc (gcc 12.3.0 "x86_64-conda-linux-gnu-cc (conda-forge gcc 12.3.0-3) 12.3.0")
C linker for the host machine: /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/x86_64-conda-linux-gnu-cc ld.bfd 2.40
C++ compiler for the host machine: /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/x86_64-conda-linux-gnu-c++ (gcc 12.3.0 "x86_64-conda-linux-gnu-c++ (conda-forge gcc 12.3.0-3) 12.3.0")
C++ linker for the host machine: /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/x86_64-conda-linux-gnu-c++ ld.bfd 2.40
Cython compiler for the host machine: cython (cython 3.0.7)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/python3.11)
Found pkg-config: YES (/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/pkg-config) 0.29.2
Run-time dependency python found: YES 3.11
Program cython found: YES (/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/cython)
Compiler for C supports arguments -Wno-unused-but-set-variable: YES
Compiler for C supports arguments -Wno-unused-function: YES
Compiler for C supports arguments -Wno-conversion: YES
Compiler for C supports arguments -Wno-misleading-indentation: YES
Library m found: YES
Fortran compiler for the host machine: /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/x86_64-conda-linux-gnu-gfortran (gcc 12.3.0 "GNU Fortran (conda-forge gcc 12.3.0-3) 12.3.0")
Fortran linker for the host machine: /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/x86_64-conda-linux-gnu-gfortran ld.bfd 2.40
Compiler for Fortran supports arguments -Wno-conversion: YES
Checking if "-Wl,--version-script" : links: YES
Program pythran found: YES 0.15.0 0.15.0 (/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/pythran)
Found CMake: /home/jgross/.local/bin/cmake (3.26.0)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency xsimd found: YES 7.6.0
Run-time dependency threads found: YES
Library npymath found: YES
Library npyrandom found: YES
Run-time dependency pybind11 found: YES 2.11.1
Run-time dependency scipy-openblas found: NO (tried pkgconfig)
Run-time dependency openblas found: YES 0.3.25
Dependency openblas found: YES 0.3.25 (cached)
Compiler for C supports arguments -Wno-maybe-uninitialized: YES
Compiler for C supports arguments -Wno-discarded-qualifiers: YES
Compiler for C supports arguments -Wno-empty-body: YES
Compiler for C supports arguments -Wno-implicit-function-declaration: YES
Compiler for C supports arguments -Wno-parentheses: YES
Compiler for C supports arguments -Wno-switch: YES
Compiler for C supports arguments -Wno-unused-label: YES
Compiler for C supports arguments -Wno-unused-result: YES
Compiler for C supports arguments -Wno-unused-variable: YES
Compiler for C supports arguments -Wno-incompatible-pointer-types: YES
Compiler for C++ supports arguments -Wno-cpp: YES
Compiler for C++ supports arguments -Wno-deprecated-declarations: YES
Compiler for C++ supports arguments -Wno-class-memaccess: YES
Compiler for C++ supports arguments -Wno-format-truncation: YES
Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES
Compiler for C++ supports arguments -Wno-sign-compare: YES
Compiler for C++ supports arguments -Wno-switch: YES
Compiler for C++ supports arguments -Wno-terminate: YES
Compiler for C++ supports arguments -Wno-unused-but-set-variable: YES
Compiler for C++ supports arguments -Wno-unused-function: YES
Compiler for C++ supports arguments -Wno-unused-local-typedefs: YES
Compiler for C++ supports arguments -Wno-unused-variable: YES
Compiler for C++ supports arguments -Wno-int-in-bool-context: YES
Compiler for Fortran supports arguments -Wno-argument-mismatch: YES
Compiler for Fortran supports arguments -Wno-conversion: YES (cached)
Compiler for Fortran supports arguments -Wno-intrinsic-shadow: YES
Compiler for Fortran supports arguments -Wno-maybe-uninitialized: YES
Compiler for Fortran supports arguments -Wno-surprising: YES
Compiler for Fortran supports arguments -Wno-uninitialized: YES
Compiler for Fortran supports arguments -Wno-unused-dummy-argument: YES
Compiler for Fortran supports arguments -Wno-unused-label: YES
Compiler for Fortran supports arguments -Wno-unused-variable: YES
Compiler for Fortran supports arguments -Wno-tabs: YES
Compiler for Fortran supports arguments -Wno-argument-mismatch: YES (cached)
Compiler for Fortran supports arguments -Wno-conversion: YES (cached)
Compiler for Fortran supports arguments -Wno-maybe-uninitialized: YES (cached)
Compiler for Fortran supports arguments -Wno-unused-dummy-argument: YES (cached)
Compiler for Fortran supports arguments -Wno-unused-label: YES (cached)
Compiler for Fortran supports arguments -Wno-unused-variable: YES (cached)
Compiler for Fortran supports arguments -Wno-tabs: YES (cached)
Checking if "Check atomic builtins without -latomic" : links: YES
Configuring __config__.py using configuration
Checking for function "open_memstream" : NO
Configuring messagestream_config.h using configuration
Compiler for Fortran supports arguments -w: YES
Checking for size of "void*" : 8
Compiler for Fortran supports arguments -w: YES (cached)
Build targets in project: 248

SciPy 1.13.0.dev0

  User defined options
    prefix: /home/jgross/Documents/GitHub/scipy/build-install

Found ninja-1.11.1 at /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/ninja
Cleaning... 0 files.
[26/1000] Generating scipy/special/cython_special with a custom command
scipy/special/_generate_pyx.py: all files up-to-date
[53/1000] Generating scipy/linalg/cython_linalg with a custom command
scipy/linalg/_generate_pyx.py: all files up-to-date
[193/997] Compiling C++ object scipy/stats/_stats_pythran.cp...86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o
FAILED: scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o
/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/x86_64-conda-linux-gnu-c++ -Iscipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p -Iscipy/stats -I../scipy/stats -I../../../../.local64/mambaforge/envs/scipy-dev/lib/python3.11/site-packages/pythran -I../../../../.local64/mambaforge/envs/scipy-dev/lib/python3.11/site-packages/numpy/core/include -I/usr/include -I/home/jgross/.local64/mambaforge/envs/scipy-dev/include/python3.11 -fvisibility=hidden -fvisibility-inlines-hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -O2 -g -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/jgross/.local64/mambaforge/envs/scipy-dev/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/jgross/.local64/mambaforge/envs/scipy-dev/include -fPIC -DNPY_NO_DEPRECATED_API=NPY_1_9_API_VERSION -DENABLE_PYTHON_MODULE -D__PYTHRAN__=3 -DPYTHRAN_BLAS_NONE -Wno-cpp -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-unused-function -Wno-unused-variable -Wno-int-in-bool-context -MD -MQ scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o -MF scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o.d -o scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o -c scipy/stats/_stats_pythran.cpp
In file included from /usr/include/features.h:392,
                 from /home/jgross/.local64/mambaforge/envs/scipy-dev/x86_64-conda-linux-gnu/include/c++/12.3.0/x86_64-conda-linux-gnu/bits/os_defines.h:39,
                 from /home/jgross/.local64/mambaforge/envs/scipy-dev/x86_64-conda-linux-gnu/include/c++/12.3.0/x86_64-conda-linux-gnu/bits/c++config.h:655,
                 from /home/jgross/.local64/mambaforge/envs/scipy-dev/x86_64-conda-linux-gnu/include/c++/12.3.0/type_traits:38,
                 from ../../../../.local64/mambaforge/envs/scipy-dev/lib/python3.11/site-packages/pythran/pythonic/include/types/assignable.hpp:4,
                 from ../../../../.local64/mambaforge/envs/scipy-dev/lib/python3.11/site-packages/pythran/pythonic/types/assignable.hpp:4,
                 from ../../../../.local64/mambaforge/envs/scipy-dev/lib/python3.11/site-packages/pythran/pythonic/core.hpp:41,
                 from scipy/stats/_stats_pythran.cpp:1:
/usr/include/features-time64.h:21:10: fatal error: bits/timesize.h: No such file or directory
   21 | #include <bits/timesize.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
[196/997] Compiling C++ object scipy/sparse/sparsetools/_sparsetools.cpython-311-x86_64-linux-gnu.so.p/bsr.cxx.o
ninja: build stopped: subcommand failed.
Build failed!

@JasonGross
Copy link
Author

It's weird that this it can't find the header though, because it exists on my system:

$ sudo find /usr/include /usr/local/include -name 'timesize.h'
/usr/include/x86_64-linux-gnu/bits/timesize.h

@JasonGross
Copy link
Author

I guess the (low-level) problem is that -I is not recursive and /usr/include/x86_64-linux-gnu/bits/timesize.h won't be found with -I /usr/include when /usr/include/features-time64.h has #include <bits/timesize.h>?

@steppi
Copy link
Contributor

steppi commented Jan 18, 2024

What's the output of echo | gcc -v -E -? Among other things, this will show which paths gcc searches for header files.

@JasonGross
Copy link
Author

echo | gcc -v -E -
Reading specs from /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/specs
could not find specs file conda.specs
COLLECT_GCC=gcc
Target: x86_64-conda-linux-gnu
Configured with: ../configure --prefix=/home/conda/feedstock_root/build_artifacts/gcc_compilers_1699751145211/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho --with-slibdir=/home/conda/feedstock_root/build_artifacts/gcc_compilers_1699751145211/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib --libdir=/home/conda/feedstock_root/build_artifacts/gcc_compilers_1699751145211/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib --mandir=/home/conda/feedstock_root/build_artifacts/gcc_compilers_1699751145211/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/man --build=x86_64-conda-linux-gnu --host=x86_64-conda-linux-gnu --target=x86_64-conda-linux-gnu --enable-default-pie --enable-languages=c,c++,fortran,objc,obj-c++ --enable-__cxa_atexit --disable-libmudflap --enable-libgomp --disable-libssp --enable-libquadmath --enable-libquadmath-support --enable-libsanitizer --enable-lto --enable-threads=posix --enable-target-optspace --enable-plugin --enable-gold --disable-nls --disable-bootstrap --disable-multilib --enable-long-long --with-sysroot=/home/conda/feedstock_root/build_artifacts/gcc_compilers_1699751145211/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/x86_64-conda-linux-gnu/sysroot --with-build-sysroot=/home/conda/feedstock_root/build_artifacts/gcc_compilers_1699751145211/_build_env/x86_64-conda-linux-gnu/sysroot --with-gxx-include-dir=/home/conda/feedstock_root/build_artifacts/gcc_compilers_1699751145211/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/x86_64-conda-linux-gnu/include/c++/12.3.0 --with-pkgversion='conda-forge gcc 12.3.0-3' --with-bugurl=https://github.com/conda-forge/ctng-compilers-feedstock/issues/new/choose
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 12.3.0 (conda-forge gcc 12.3.0-3)
COLLECT_GCC_OPTIONS='-v' '-E' '-mtune=generic' '-march=x86-64'
 /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../libexec/gcc/x86_64-conda-linux-gnu/12.3.0/cc1 -E -quiet -v -iprefix /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/ -isysroot /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../x86_64-conda-linux-gnu/sysroot - -mtune=generic -march=x86-64 -dumpbase -
ignoring duplicate directory "/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/../../lib/gcc/x86_64-conda-linux-gnu/12.3.0/include"
ignoring nonexistent directory "/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../x86_64-conda-linux-gnu/sysroot/usr/local/include"
ignoring duplicate directory "/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/../../lib/gcc/x86_64-conda-linux-gnu/12.3.0/include-fixed"
ignoring duplicate directory "/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/../../lib/gcc/x86_64-conda-linux-gnu/12.3.0/../../../../x86_64-conda-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/include
 /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/include-fixed
 /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/../../../../x86_64-conda-linux-gnu/include
 /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../x86_64-conda-linux-gnu/sysroot/usr/include
End of search list.
# 0 "<stdin>"
# 0 "<built-in>"
# 0 "<command-line>"
# 1 "<stdin>"
COMPILER_PATH=/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../libexec/gcc/x86_64-conda-linux-gnu/12.3.0/:/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../libexec/gcc/:/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/../../../../x86_64-conda-linux-gnu/bin/
LIBRARY_PATH=/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/:/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/:/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/../../../../x86_64-conda-linux-gnu/lib/../lib/:/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/../../../../lib/:/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../x86_64-conda-linux-gnu/sysroot/lib/../lib/:/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../x86_64-conda-linux-gnu/sysroot/usr/lib/../lib/:/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/../../../../x86_64-conda-linux-gnu/lib/:/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/../../../:/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../x86_64-conda-linux-gnu/sysroot/lib/:/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../x86_64-conda-linux-gnu/sysroot/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-E' '-mtune=generic' '-march=x86-64'

@JasonGross
Copy link
Author

But maybe you wanted me to mimic the call invoked by ninja

$ echo | /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/x86_64-conda-linux-gnu-c++ -Iscipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p -Iscipy/stats -I../scipy/stats -I../../../../.local64/mambaforge/envs/scipy-dev/lib/python3.11/site-packages/pythran -I../../../../.local64/mambaforge/envs/scipy-dev/lib/python3.11/site-packages/numpy/core/include -I/usr/include -I/home/jgross/.local64/mambaforge/envs/scipy-dev/include/python3.11 -fvisibility=hidden -fvisibility-inlines-hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -O2 -g -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/jgross/.local64/mambaforge/envs/scipy-dev/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/jgross/.local64/mambaforge/envs/scipy-dev/include -fPIC -DNPY_NO_DEPRECATED_API=NPY_1_9_API_VERSION -DENABLE_PYTHON_MODULE -D__PYTHRAN__=3 -DPYTHRAN_BLAS_NONE -Wno-cpp -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-unused-function -Wno-unused-variable -Wno-int-in-bool-context -MD -MQ scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o -MF scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o.d -v -E - 2>&1
Reading specs from /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/specs
could not find specs file conda.specs
COLLECT_GCC=/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/x86_64-conda-linux-gnu-c++
Target: x86_64-conda-linux-gnu
Configured with: ../configure --prefix=/home/conda/feedstock_root/build_artifacts/gcc_compilers_1699751145211/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho --with-slibdir=/home/conda/feedstock_root/build_artifacts/gcc_compilers_1699751145211/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib --libdir=/home/conda/feedstock_root/build_artifacts/gcc_compilers_1699751145211/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib --mandir=/home/conda/feedstock_root/build_artifacts/gcc_compilers_1699751145211/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/man --build=x86_64-conda-linux-gnu --host=x86_64-conda-linux-gnu --target=x86_64-conda-linux-gnu --enable-default-pie --enable-languages=c,c++,fortran,objc,obj-c++ --enable-__cxa_atexit --disable-libmudflap --enable-libgomp --disable-libssp --enable-libquadmath --enable-libquadmath-support --enable-libsanitizer --enable-lto --enable-threads=posix --enable-target-optspace --enable-plugin --enable-gold --disable-nls --disable-bootstrap --disable-multilib --enable-long-long --with-sysroot=/home/conda/feedstock_root/build_artifacts/gcc_compilers_1699751145211/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/x86_64-conda-linux-gnu/sysroot --with-build-sysroot=/home/conda/feedstock_root/build_artifacts/gcc_compilers_1699751145211/_build_env/x86_64-conda-linux-gnu/sysroot --with-gxx-include-dir=/home/conda/feedstock_root/build_artifacts/gcc_compilers_1699751145211/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/x86_64-conda-linux-gnu/include/c++/12.3.0 --with-pkgversion='conda-forge gcc 12.3.0-3' --with-bugurl=https://github.com/conda-forge/ctng-compilers-feedstock/issues/new/choose
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 12.3.0 (conda-forge gcc 12.3.0-3)
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-I' 'scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p' '-I' 'scipy/stats' '-I' '../scipy/stats' '-I' '../../../../.local64/mambaforge/envs/scipy-dev/lib/python3.11/site-packages/pythran' '-I' '../../../../.local64/mambaforge/envs/scipy-dev/lib/python3.11/site-packages/numpy/core/include' '-I' '/usr/include' '-I' '/home/jgross/.local64/mambaforge/envs/scipy-dev/include/python3.11' '-fvisibility=hidden' '-D' '_FILE_OFFSET_BITS=64' '-Wall' '-Winvalid-pch' '-std=c++17' '-O2' '-g' '-fvisibility-inlines-hidden' '-fmessage-length=0' '-march=nocona' '-mtune=haswell' '-ftree-vectorize' '-fstack-protector-strong' '-fno-plt' '-O2' '-ffunction-sections' '-pipe' '-isystem' '/home/jgross/.local64/mambaforge/envs/scipy-dev/include' '-D' 'NDEBUG' '-D' '_FORTIFY_SOURCE=2' '-O2' '-isystem' '/home/jgross/.local64/mambaforge/envs/scipy-dev/include' '-fPIC' '-D' 'NPY_NO_DEPRECATED_API=NPY_1_9_API_VERSION' '-D' 'ENABLE_PYTHON_MODULE' '-D' '__PYTHRAN__=3' '-D' 'PYTHRAN_BLAS_NONE' '-Wno-cpp' '-Wno-deprecated-declarations' '-Wno-unused-but-set-variable' '-Wno-unused-function' '-Wno-unused-variable' '-Wno-int-in-bool-context' '-MD' '-MQ' 'scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o' '-MF' 'scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o.d' '-v' '-E' '-shared-libgcc'
 /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../libexec/gcc/x86_64-conda-linux-gnu/12.3.0/cc1 -E -quiet -v -I scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p -I scipy/stats -I ../scipy/stats -I ../../../../.local64/mambaforge/envs/scipy-dev/lib/python3.11/site-packages/pythran -I ../../../../.local64/mambaforge/envs/scipy-dev/lib/python3.11/site-packages/numpy/core/include -I /usr/include -I /home/jgross/.local64/mambaforge/envs/scipy-dev/include/python3.11 -iprefix /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/ -isysroot /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../x86_64-conda-linux-gnu/sysroot -MD -.d -MF scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o.d -MQ scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o -D _FILE_OFFSET_BITS=64 -D NDEBUG -D _FORTIFY_SOURCE=2 -D NPY_NO_DEPRECATED_API=NPY_1_9_API_VERSION -D ENABLE_PYTHON_MODULE -D __PYTHRAN__=3 -D PYTHRAN_BLAS_NONE -isystem /home/jgross/.local64/mambaforge/envs/scipy-dev/include -isystem /home/jgross/.local64/mambaforge/envs/scipy-dev/include - -march=nocona -mtune=haswell -std=c++17 -Wall -Winvalid-pch -Wno-cpp -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-unused-function -Wno-unused-variable -Wno-int-in-bool-context -fdiagnostics-color=always -fvisibility=hidden -fvisibility-inlines-hidden -fmessage-length=0 -ftree-vectorize -fstack-protector-strong -fno-plt -ffunction-sections -fPIC -g -fworking-directory -O2 -O2 -O2 -dumpbase -
cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
cc1: warning: command-line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C
ignoring duplicate directory "/home/jgross/.local64/mambaforge/envs/scipy-dev/include"
ignoring duplicate directory "/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/../../lib/gcc/x86_64-conda-linux-gnu/12.3.0/include"
ignoring nonexistent directory "/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../x86_64-conda-linux-gnu/sysroot/usr/local/include"
ignoring duplicate directory "/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/../../lib/gcc/x86_64-conda-linux-gnu/12.3.0/include-fixed"
ignoring duplicate directory "/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/../../lib/gcc/x86_64-conda-linux-gnu/12.3.0/../../../../x86_64-conda-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p
 scipy/stats
 ../scipy/stats
 ../../../../.local64/mambaforge/envs/scipy-dev/lib/python3.11/site-packages/pythran
 ../../../../.local64/mambaforge/envs/scipy-dev/lib/python3.11/site-packages/numpy/core/include
 /usr/include
 /home/jgross/.local64/mambaforge/envs/scipy-dev/include/python3.11
 /home/jgross/.local64/mambaforge/envs/scipy-dev/include
 /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/include
 /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/include-fixed
 /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/../../../../x86_64-conda-linux-gnu/include
 /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../x86_64-conda-linux-gnu/sysroot/usr/include
End of search list.
# 0 "<stdin>"
# 1 "/home/jgross/Documents/repos/scipy/build//"
# 0 "<built-in>"
# 0 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1
# 0 "<command-line>" 2
# 1 "<stdin>"
COMPILER_PATH=/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../libexec/gcc/x86_64-conda-linux-gnu/12.3.0/:/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../libexec/gcc/:/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/../../../../x86_64-conda-linux-gnu/bin/
LIBRARY_PATH=/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/:/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/:/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/../../../../x86_64-conda-linux-gnu/lib/../lib/:/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/../../../../lib/:/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../x86_64-conda-linux-gnu/sysroot/lib/../lib/:/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../x86_64-conda-linux-gnu/sysroot/usr/lib/../lib/:/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/../../../../x86_64-conda-linux-gnu/lib/:/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/../../../:/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../x86_64-conda-linux-gnu/sysroot/lib/:/home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../x86_64-conda-linux-gnu/sysroot/usr/lib/
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-I' 'scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p' '-I' 'scipy/stats' '-I' '../scipy/stats' '-I' '../../../../.local64/mambaforge/envs/scipy-dev/lib/python3.11/site-packages/pythran' '-I' '../../../../.local64/mambaforge/envs/scipy-dev/lib/python3.11/site-packages/numpy/core/include' '-I' '/usr/include' '-I' '/home/jgross/.local64/mambaforge/envs/scipy-dev/include/python3.11' '-fvisibility=hidden' '-D' '_FILE_OFFSET_BITS=64' '-Wall' '-Winvalid-pch' '-std=c++17' '-O2' '-g' '-fvisibility-inlines-hidden' '-fmessage-length=0' '-march=nocona' '-mtune=haswell' '-ftree-vectorize' '-fstack-protector-strong' '-fno-plt' '-O2' '-ffunction-sections' '-pipe' '-isystem' '/home/jgross/.local64/mambaforge/envs/scipy-dev/include' '-D' 'NDEBUG' '-D' '_FORTIFY_SOURCE=2' '-O2' '-isystem' '/home/jgross/.local64/mambaforge/envs/scipy-dev/include' '-fPIC' '-D' 'NPY_NO_DEPRECATED_API=NPY_1_9_API_VERSION' '-D' 'ENABLE_PYTHON_MODULE' '-D' '__PYTHRAN__=3' '-D' 'PYTHRAN_BLAS_NONE' '-Wno-cpp' '-Wno-deprecated-declarations' '-Wno-unused-but-set-variable' '-Wno-unused-function' '-Wno-unused-variable' '-Wno-int-in-bool-context' '-MD' '-MQ' 'scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o' '-MF' 'scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o.d' '-v' '-E' '-shared-libgcc'

@steppi
Copy link
Contributor

steppi commented Jan 18, 2024

I see, your gcc will search

 /usr/include
 /home/jgross/.local64/mambaforge/envs/scipy-dev/include/python3.11
 /home/jgross/.local64/mambaforge/envs/scipy-dev/include
 /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/include
 /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/include-fixed
 /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/../../../../x86_64-conda-linux-gnu/include
 /home/jgross/.local64/mambaforge/envs/scipy-dev/bin/../x86_64-conda-linux-gnu/sysroot/usr/include

/usr/include/x86_64-linux-gnu isn't there, that's why the timesize.h on your machine isn't found. I don't use conda or mamba, but it seems like mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/include should have a functional glibc. Is there no timesize.h there?

@JasonGross
Copy link
Author

JasonGross commented Jan 18, 2024

it seems like mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/include should have a functional glibc. Is there no timesize.h there?

There is no bits/, nor timesize.h.

find ~/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/*/include
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/stdatomic.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/quadmath.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/iso646.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/cet.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/gcov.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/bmiintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/lwpintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/clwbintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512vpopcntdqintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512dqintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/acc_prof.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512vbmi2intrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/clzerointrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/mm3dnow.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512pfintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/sgxintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/cross-stdarg.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/tsxldtrkintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512vbmi2vlintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512vldqintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/hresetintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/tmmintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/openacc.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512vp2intersectintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/xsavesintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/xsaveoptintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/lzcntintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/float.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/vpclmulqdqintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512ifmavlintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512fp16vlintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/fmaintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avxvnniintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512vnniintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/unwind.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512bf16intrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/movdirintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/xmmintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/ammintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx2intrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/stdalign.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/fxsrintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512ifmaintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/mwaitintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/fma4intrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/smmintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/amxint8intrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/enqcmdintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/omp.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/cldemoteintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/xsaveintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512fp16intrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/cpuid.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/shaintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/mm_malloc.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/clflushoptintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512erintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512bitalgintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512vbmiintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/pmmintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/mmintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/serializeintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/keylockerintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/pkuintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avxintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/uintrintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/ia32intrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/xsavecintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/wbnoinvdintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512vnnivlintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/rdseedintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/emmintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/stdbool.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512vbmivlintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/stdnoreturn.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/quadmath_weak.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/popcntintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/mwaitxintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/stddef.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/stdarg.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/stdint-gcc.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx5124vnniwintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/xtestintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/prfchwintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/adxintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/f16cintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/cetintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512vp2intersectvlintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/varargs.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512bf16vlintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/rtmintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/x86intrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/waitpkgintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/stdint.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/stdfix.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512fintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/amxtileintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/xopintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/bmi2intrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/vaesintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512vpopcntdqvlintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/pconfigintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/tbmintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512cdintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/sanitizer
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/sanitizer/asan_interface.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/sanitizer/hwasan_interface.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/sanitizer/lsan_interface.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/sanitizer/tsan_interface.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/sanitizer/common_interface_defs.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/x86gprintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/immintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512vlintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/gfniintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/bmmintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/amxbf16intrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512bwintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx5124fmapsintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/nmmintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/wmmintrin.h
/home/jgross/.local64/mambaforge/envs/scipy-dev/lib/gcc/x86_64-conda-linux-gnu/12.3.0/include/avx512vlbwintrin.h

@JasonGross
Copy link
Author

JasonGross commented Jan 18, 2024

I will try venv and report back.
Btw, with regards to

you follow all the steps here

There seems to be a typo, python -m pip sphinx and python -m pip mypy seem to be missing install after pip. (There are also two extra backticks in ``pyenv/pyenv-virtualenv)

screenshots

image

image

@JasonGross JasonGross marked this pull request as ready for review January 18, 2024 21:02
@JasonGross
Copy link
Author

Trying with venv instead:

$ git clean -xfd .
$ python -m venv venv
$ source venv/bin/activate
python -m pip install numpy cython pythran pybind11 meson ninja pydevtool rich-click pytest pytest-xdist pytest-timeout pooch threadpoolctl asv gmpy2 mpmath sphinx "pydata-sphinx-theme==0.9.0" sphinx-design matplotlib numpydoc jupytext myst-nb mypy typing_extensions types-psutil pycodestyle ruff cython-lint
Collecting numpy
  Using cached numpy-1.26.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB)
Collecting cython
  Using cached Cython-3.0.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB)
Collecting pythran
  Using cached pythran-0.15.0-py3-none-any.whl (4.3 MB)
Collecting pybind11
  Using cached pybind11-2.11.1-py3-none-any.whl (227 kB)
Collecting meson
  Using cached meson-1.3.1-py3-none-any.whl (976 kB)
Collecting ninja
  Using cached ninja-1.11.1.1-py2.py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl (307 kB)
Collecting pydevtool
  Using cached pydevtool-0.3.0-py3-none-any.whl (12 kB)
Collecting rich-click
  Using cached rich_click-1.7.3-py3-none-any.whl (32 kB)
Collecting pytest
  Using cached pytest-7.4.4-py3-none-any.whl (325 kB)
Collecting pytest-xdist
  Using cached pytest_xdist-3.5.0-py3-none-any.whl (42 kB)
Collecting pytest-timeout
  Using cached pytest_timeout-2.2.0-py3-none-any.whl (13 kB)
Collecting pooch
  Using cached pooch-1.8.0-py3-none-any.whl (62 kB)
Collecting threadpoolctl
  Using cached threadpoolctl-3.2.0-py3-none-any.whl (15 kB)
Collecting asv
  Using cached asv-0.6.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (371 kB)
Collecting gmpy2
  Using cached gmpy2-2.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB)
Collecting mpmath
  Using cached mpmath-1.3.0-py3-none-any.whl (536 kB)
Collecting sphinx
  Using cached sphinx-7.2.6-py3-none-any.whl (3.2 MB)
Collecting pydata-sphinx-theme==0.9.0
  Using cached pydata_sphinx_theme-0.9.0-py3-none-any.whl (3.3 MB)
Collecting sphinx-design
  Using cached sphinx_design-0.5.0-py3-none-any.whl (2.2 MB)
Collecting matplotlib
  Using cached matplotlib-3.8.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.6 MB)
Collecting numpydoc
  Using cached numpydoc-1.6.0-py3-none-any.whl (61 kB)
Collecting jupytext
  Using cached jupytext-1.16.1-py3-none-any.whl (152 kB)
Collecting myst-nb
  Using cached myst_nb-1.0.0-py3-none-any.whl (79 kB)
Collecting mypy
  Using cached mypy-1.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.5 MB)
Collecting typing_extensions
  Using cached typing_extensions-4.9.0-py3-none-any.whl (32 kB)
Collecting types-psutil
  Using cached types_psutil-5.9.5.20240106-py3-none-any.whl (17 kB)
Collecting pycodestyle
  Using cached pycodestyle-2.11.1-py2.py3-none-any.whl (31 kB)
Collecting ruff
  Using cached ruff-0.1.13-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.5 MB)
Collecting cython-lint
  Using cached cython_lint-0.16.0-py2.py3-none-any.whl (12 kB)
Collecting beautifulsoup4
  Using cached beautifulsoup4-4.12.3-py3-none-any.whl (147 kB)
Collecting packaging
  Using cached packaging-23.2-py3-none-any.whl (53 kB)
Collecting docutils!=0.17.0
  Using cached docutils-0.20.1-py3-none-any.whl (572 kB)
Collecting gast~=0.5.0
  Using cached gast-0.5.4-py3-none-any.whl (19 kB)
Collecting beniget~=0.4.0
  Using cached beniget-0.4.1-py3-none-any.whl (9.4 kB)
Collecting ply>=3.4
  Using cached ply-3.11-py2.py3-none-any.whl (49 kB)
Requirement already satisfied: setuptools in ./venv/lib/python3.10/site-packages (from pythran) (65.5.0)
Collecting doit>=0.36.0
  Using cached doit-0.36.0-py3-none-any.whl (85 kB)
Collecting rich>=10.7.0
  Using cached rich-13.7.0-py3-none-any.whl (240 kB)
Collecting click>=7
  Using cached click-8.1.7-py3-none-any.whl (97 kB)
Collecting pluggy<2.0,>=0.12
  Using cached pluggy-1.3.0-py3-none-any.whl (18 kB)
Collecting tomli>=1.0.0
  Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting iniconfig
  Using cached iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Collecting exceptiongroup>=1.0.0rc8
  Using cached exceptiongroup-1.2.0-py3-none-any.whl (16 kB)
Collecting execnet>=1.1
  Using cached execnet-2.0.2-py3-none-any.whl (37 kB)
Collecting requests>=2.19.0
  Using cached requests-2.31.0-py3-none-any.whl (62 kB)
Collecting platformdirs>=2.5.0
  Using cached platformdirs-4.1.0-py3-none-any.whl (17 kB)
Collecting pympler
  Using cached Pympler-1.0.1-py3-none-any.whl (164 kB)
Collecting tabulate
  Using cached tabulate-0.9.0-py3-none-any.whl (35 kB)
Collecting pyyaml
  Using cached PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (705 kB)
Collecting asv-runner>=v0.1.0
  Using cached asv_runner-0.1.0-py3-none-any.whl (47 kB)
Collecting json5
  Using cached json5-0.9.14-py2.py3-none-any.whl (19 kB)
Collecting sphinxcontrib-jsmath
  Using cached sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB)
Collecting sphinxcontrib-qthelp
  Using cached sphinxcontrib_qthelp-1.0.7-py3-none-any.whl (89 kB)
Collecting sphinxcontrib-devhelp
  Using cached sphinxcontrib_devhelp-1.0.6-py3-none-any.whl (83 kB)
Collecting sphinxcontrib-htmlhelp>=2.0.0
  Using cached sphinxcontrib_htmlhelp-2.0.5-py3-none-any.whl (99 kB)
Collecting sphinxcontrib-applehelp
  Using cached sphinxcontrib_applehelp-1.0.8-py3-none-any.whl (120 kB)
Collecting Pygments>=2.14
  Using cached pygments-2.17.2-py3-none-any.whl (1.2 MB)
Collecting Jinja2>=3.0
  Using cached Jinja2-3.1.3-py3-none-any.whl (133 kB)
Collecting snowballstemmer>=2.0
  Using cached snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB)
Collecting alabaster<0.8,>=0.7
  Using cached alabaster-0.7.16-py3-none-any.whl (13 kB)
Collecting sphinxcontrib-serializinghtml>=1.1.9
  Using cached sphinxcontrib_serializinghtml-1.1.10-py3-none-any.whl (92 kB)
Collecting imagesize>=1.3
  Using cached imagesize-1.4.1-py2.py3-none-any.whl (8.8 kB)
Collecting babel>=2.9
  Using cached Babel-2.14.0-py3-none-any.whl (11.0 MB)
Collecting python-dateutil>=2.7
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting cycler>=0.10
  Using cached cycler-0.12.1-py3-none-any.whl (8.3 kB)
Collecting pyparsing>=2.3.1
  Using cached pyparsing-3.1.1-py3-none-any.whl (103 kB)
Collecting contourpy>=1.0.1
  Using cached contourpy-1.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (310 kB)
Collecting pillow>=8
  Using cached pillow-10.2.0-cp310-cp310-manylinux_2_28_x86_64.whl (4.5 MB)
Collecting kiwisolver>=1.3.1
  Using cached kiwisolver-1.4.5-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.6 MB)
Collecting fonttools>=4.22.0
  Using cached fonttools-4.47.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB)
Collecting markdown-it-py>=1.0
  Using cached markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
Collecting toml
  Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting nbformat
  Using cached nbformat-5.9.2-py3-none-any.whl (77 kB)
Collecting mdit-py-plugins
  Using cached mdit_py_plugins-0.4.0-py3-none-any.whl (54 kB)
Collecting importlib_metadata
  Using cached importlib_metadata-7.0.1-py3-none-any.whl (23 kB)
Collecting ipykernel
  Using cached ipykernel-6.29.0-py3-none-any.whl (116 kB)
Collecting jupyter-cache>=0.5
  Using cached jupyter_cache-1.0.0-py3-none-any.whl (33 kB)
Collecting nbclient
  Using cached nbclient-0.9.0-py3-none-any.whl (24 kB)
Collecting ipython
  Using cached ipython-8.20.0-py3-none-any.whl (809 kB)
Collecting myst-parser>=1.0.0
  Using cached myst_parser-2.0.0-py3-none-any.whl (77 kB)
Collecting mypy-extensions>=1.0.0
  Using cached mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB)
Collecting tokenize-rt>=3.2.0
  Using cached tokenize_rt-5.2.0-py2.py3-none-any.whl (5.8 kB)
Collecting cloudpickle
  Using cached cloudpickle-3.0.0-py3-none-any.whl (20 kB)
Collecting zipp>=0.5
  Using cached zipp-3.17.0-py3-none-any.whl (7.4 kB)
Collecting MarkupSafe>=2.0
  Using cached MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Collecting attrs
  Using cached attrs-23.2.0-py3-none-any.whl (60 kB)
Collecting sqlalchemy<3,>=1.3.12
  Using cached SQLAlchemy-2.0.25-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB)
Collecting mdurl~=0.1
  Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Collecting jupyter-core!=5.0.*,>=4.12
  Using cached jupyter_core-5.7.1-py3-none-any.whl (28 kB)
Collecting jupyter-client>=6.1.12
  Using cached jupyter_client-8.6.0-py3-none-any.whl (105 kB)
Collecting traitlets>=5.4
  Using cached traitlets-5.14.1-py3-none-any.whl (85 kB)
Collecting jsonschema>=2.6
  Using cached jsonschema-4.21.0-py3-none-any.whl (85 kB)
Collecting fastjsonschema
  Using cached fastjsonschema-2.19.1-py3-none-any.whl (23 kB)
Collecting six>=1.5
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting urllib3<3,>=1.21.1
  Using cached urllib3-2.1.0-py3-none-any.whl (104 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2023.11.17-py3-none-any.whl (162 kB)
Collecting charset-normalizer<4,>=2
  Using cached charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)
Collecting idna<4,>=2.5
  Using cached idna-3.6-py3-none-any.whl (61 kB)
Collecting soupsieve>1.2
  Using cached soupsieve-2.5-py3-none-any.whl (36 kB)
Collecting nest-asyncio
  Using cached nest_asyncio-1.5.9-py3-none-any.whl (5.3 kB)
Collecting debugpy>=1.6.5
  Using cached debugpy-1.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB)
Collecting matplotlib-inline>=0.1
  Using cached matplotlib_inline-0.1.6-py3-none-any.whl (9.4 kB)
Collecting comm>=0.1.1
  Using cached comm-0.2.1-py3-none-any.whl (7.2 kB)
Collecting pyzmq>=24
  Using cached pyzmq-25.1.2-cp310-cp310-manylinux_2_28_x86_64.whl (1.1 MB)
Collecting tornado>=6.1
  Using cached tornado-6.4-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (435 kB)
Collecting psutil
  Using cached psutil-5.9.7-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (285 kB)
Collecting stack-data
  Using cached stack_data-0.6.3-py3-none-any.whl (24 kB)
Collecting prompt-toolkit<3.1.0,>=3.0.41
  Using cached prompt_toolkit-3.0.43-py3-none-any.whl (386 kB)
Collecting decorator
  Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting jedi>=0.16
  Using cached jedi-0.19.1-py2.py3-none-any.whl (1.6 MB)
Collecting pexpect>4.3
  Using cached pexpect-4.9.0-py2.py3-none-any.whl (63 kB)
Collecting parso<0.9.0,>=0.8.3
  Using cached parso-0.8.3-py2.py3-none-any.whl (100 kB)
Collecting referencing>=0.28.4
  Using cached referencing-0.32.1-py3-none-any.whl (26 kB)
Collecting rpds-py>=0.7.1
  Using cached rpds_py-0.17.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB)
Collecting jsonschema-specifications>=2023.03.6
  Using cached jsonschema_specifications-2023.12.1-py3-none-any.whl (18 kB)
Collecting ptyprocess>=0.5
  Using cached ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
Collecting wcwidth
  Using cached wcwidth-0.2.13-py2.py3-none-any.whl (34 kB)
Collecting greenlet!=0.4.17
  Using cached greenlet-3.0.3-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (616 kB)
Collecting asttokens>=2.1.0
  Using cached asttokens-2.4.1-py2.py3-none-any.whl (27 kB)
Collecting executing>=1.2.0
  Using cached executing-2.0.1-py2.py3-none-any.whl (24 kB)
Collecting pure-eval
  Using cached pure_eval-0.2.2-py3-none-any.whl (11 kB)
Installing collected packages: wcwidth, snowballstemmer, pure-eval, ptyprocess, ply, ninja, mpmath, json5, gmpy2, fastjsonschema, zipp, urllib3, typing_extensions, types-psutil, traitlets, tornado, tomli, toml, tokenize-rt, threadpoolctl, tabulate, sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, soupsieve, six, ruff, rpds-py, pyzmq, pyyaml, pyparsing, pympler, Pygments, pycodestyle, pybind11, psutil, prompt-toolkit, pluggy, platformdirs, pillow, pexpect, parso, packaging, numpy, nest-asyncio, mypy-extensions, meson, mdurl, MarkupSafe, kiwisolver, iniconfig, imagesize, idna, greenlet, gast, fonttools, executing, execnet, exceptiongroup, docutils, decorator, debugpy, cython, cycler, cloudpickle, click, charset-normalizer, certifi, babel, attrs, asv-runner, alabaster, sqlalchemy, requests, referencing, python-dateutil, pytest, mypy, matplotlib-inline, markdown-it-py, jupyter-core, Jinja2, jedi, importlib_metadata, cython-lint, contourpy, comm, beniget, beautifulsoup4, asv, asttokens, stack-data, sphinx, rich, pythran, pytest-xdist, pytest-timeout, pooch, mdit-py-plugins, matplotlib, jupyter-client, jsonschema-specifications, doit, sphinx-design, rich-click, pydevtool, pydata-sphinx-theme, numpydoc, myst-parser, jsonschema, ipython, nbformat, ipykernel, nbclient, jupytext, jupyter-cache, myst-nb
Successfully installed Jinja2-3.1.3 MarkupSafe-2.1.3 Pygments-2.17.2 alabaster-0.7.16 asttokens-2.4.1 asv-0.6.1 asv-runner-0.1.0 attrs-23.2.0 babel-2.14.0 beautifulsoup4-4.12.3 beniget-0.4.1 certifi-2023.11.17 charset-normalizer-3.3.2 click-8.1.7 cloudpickle-3.0.0 comm-0.2.1 contourpy-1.2.0 cycler-0.12.1 cython-3.0.8 cython-lint-0.16.0 debugpy-1.8.0 decorator-5.1.1 docutils-0.20.1 doit-0.36.0 exceptiongroup-1.2.0 execnet-2.0.2 executing-2.0.1 fastjsonschema-2.19.1 fonttools-4.47.2 gast-0.5.4 gmpy2-2.1.5 greenlet-3.0.3 idna-3.6 imagesize-1.4.1 importlib_metadata-7.0.1 iniconfig-2.0.0 ipykernel-6.29.0 ipython-8.20.0 jedi-0.19.1 json5-0.9.14 jsonschema-4.21.0 jsonschema-specifications-2023.12.1 jupyter-cache-1.0.0 jupyter-client-8.6.0 jupyter-core-5.7.1 jupytext-1.16.1 kiwisolver-1.4.5 markdown-it-py-3.0.0 matplotlib-3.8.2 matplotlib-inline-0.1.6 mdit-py-plugins-0.4.0 mdurl-0.1.2 meson-1.3.1 mpmath-1.3.0 mypy-1.8.0 mypy-extensions-1.0.0 myst-nb-1.0.0 myst-parser-2.0.0 nbclient-0.9.0 nbformat-5.9.2 nest-asyncio-1.5.9 ninja-1.11.1.1 numpy-1.26.3 numpydoc-1.6.0 packaging-23.2 parso-0.8.3 pexpect-4.9.0 pillow-10.2.0 platformdirs-4.1.0 pluggy-1.3.0 ply-3.11 pooch-1.8.0 prompt-toolkit-3.0.43 psutil-5.9.7 ptyprocess-0.7.0 pure-eval-0.2.2 pybind11-2.11.1 pycodestyle-2.11.1 pydata-sphinx-theme-0.9.0 pydevtool-0.3.0 pympler-1.0.1 pyparsing-3.1.1 pytest-7.4.4 pytest-timeout-2.2.0 pytest-xdist-3.5.0 python-dateutil-2.8.2 pythran-0.15.0 pyyaml-6.0.1 pyzmq-25.1.2 referencing-0.32.1 requests-2.31.0 rich-13.7.0 rich-click-1.7.3 rpds-py-0.17.1 ruff-0.1.13 six-1.16.0 snowballstemmer-2.2.0 soupsieve-2.5 sphinx-7.2.6 sphinx-design-0.5.0 sphinxcontrib-applehelp-1.0.8 sphinxcontrib-devhelp-1.0.6 sphinxcontrib-htmlhelp-2.0.5 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.7 sphinxcontrib-serializinghtml-1.1.10 sqlalchemy-2.0.25 stack-data-0.6.3 tabulate-0.9.0 threadpoolctl-3.2.0 tokenize-rt-5.2.0 toml-0.10.2 tomli-2.0.1 tornado-6.4 traitlets-5.14.1 types-psutil-5.9.5.20240106 typing_extensions-4.9.0 urllib3-2.1.0 wcwidth-0.2.13 zipp-3.17.0

[notice] A new release of pip is available: 23.0.1 -> 23.3.2
[notice] To update, run: pip install --upgrade pip
python dev.py build
💻  meson setup /home/jgross/Documents/GitHub/scipy/build --prefix /home/jgross/Documents/GitHub/scipy/build-install
The Meson build system
Version: 1.3.1
Source dir: /home/jgross/Documents/GitHub/scipy
Build dir: /home/jgross/Documents/GitHub/scipy/build
Build type: native build
Project name: SciPy
Project version: 1.13.0.dev0
C compiler for the host machine: cc (gcc 11.4.0 "cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0")
C linker for the host machine: cc ld.bfd 2.38
C++ compiler for the host machine: c++ (gcc 11.4.0 "c++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0")
C++ linker for the host machine: c++ ld.bfd 2.38
Cython compiler for the host machine: cython (cython 3.0.8)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/home/jgross/Documents/GitHub/scipy/venv/bin/python)
Found pkg-config: YES (/usr/bin/pkg-config) 0.29.2
Run-time dependency python found: YES 3.10
Program cython found: YES (/home/jgross/Documents/GitHub/scipy/venv/bin/cython)
Compiler for C supports arguments -Wno-unused-but-set-variable: YES
Compiler for C supports arguments -Wno-unused-function: YES
Compiler for C supports arguments -Wno-conversion: YES
Compiler for C supports arguments -Wno-misleading-indentation: YES
Library m found: YES
Fortran compiler for the host machine: gfortran (gcc 11.4.0 "GNU Fortran (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0")
Fortran linker for the host machine: gfortran ld.bfd 2.38
Compiler for Fortran supports arguments -Wno-conversion: YES
Checking if "-Wl,--version-script" : links: YES
Program pythran found: YES 0.15.0 0.15.0 (/home/jgross/Documents/GitHub/scipy/venv/bin/pythran)
Run-time dependency xsimd found: YES 7.6.0
Run-time dependency threads found: YES
Library npymath found: YES
Library npyrandom found: YES
pybind11-config found: YES (/home/jgross/Documents/GitHub/scipy/venv/bin/pybind11-config) 2.11.1
Run-time dependency pybind11 found: YES 2.11.1
Run-time dependency scipy-openblas found: NO (tried pkgconfig)
Run-time dependency openblas found: YES 0.3.20
Dependency openblas found: YES 0.3.20 (cached)
Compiler for C supports arguments -Wno-maybe-uninitialized: YES
Compiler for C supports arguments -Wno-discarded-qualifiers: YES
Compiler for C supports arguments -Wno-empty-body: YES
Compiler for C supports arguments -Wno-implicit-function-declaration: YES
Compiler for C supports arguments -Wno-parentheses: YES
Compiler for C supports arguments -Wno-switch: YES
Compiler for C supports arguments -Wno-unused-label: YES
Compiler for C supports arguments -Wno-unused-result: YES
Compiler for C supports arguments -Wno-unused-variable: YES
Compiler for C supports arguments -Wno-incompatible-pointer-types: YES
Compiler for C++ supports arguments -Wno-cpp: YES
Compiler for C++ supports arguments -Wno-deprecated-declarations: YES
Compiler for C++ supports arguments -Wno-class-memaccess: YES
Compiler for C++ supports arguments -Wno-format-truncation: YES
Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES
Compiler for C++ supports arguments -Wno-sign-compare: YES
Compiler for C++ supports arguments -Wno-switch: YES
Compiler for C++ supports arguments -Wno-terminate: YES
Compiler for C++ supports arguments -Wno-unused-but-set-variable: YES
Compiler for C++ supports arguments -Wno-unused-function: YES
Compiler for C++ supports arguments -Wno-unused-local-typedefs: YES
Compiler for C++ supports arguments -Wno-unused-variable: YES
Compiler for C++ supports arguments -Wno-int-in-bool-context: YES
Compiler for Fortran supports arguments -Wno-argument-mismatch: YES
Compiler for Fortran supports arguments -Wno-conversion: YES (cached)
Compiler for Fortran supports arguments -Wno-intrinsic-shadow: YES
Compiler for Fortran supports arguments -Wno-maybe-uninitialized: YES
Compiler for Fortran supports arguments -Wno-surprising: YES
Compiler for Fortran supports arguments -Wno-uninitialized: YES
Compiler for Fortran supports arguments -Wno-unused-dummy-argument: YES
Compiler for Fortran supports arguments -Wno-unused-label: YES
Compiler for Fortran supports arguments -Wno-unused-variable: YES
Compiler for Fortran supports arguments -Wno-tabs: YES
Compiler for Fortran supports arguments -Wno-argument-mismatch: YES (cached)
Compiler for Fortran supports arguments -Wno-conversion: YES (cached)
Compiler for Fortran supports arguments -Wno-maybe-uninitialized: YES (cached)
Compiler for Fortran supports arguments -Wno-unused-dummy-argument: YES (cached)
Compiler for Fortran supports arguments -Wno-unused-label: YES (cached)
Compiler for Fortran supports arguments -Wno-unused-variable: YES (cached)
Compiler for Fortran supports arguments -Wno-tabs: YES (cached)
Checking if "Check atomic builtins without -latomic" : links: YES
Configuring __config__.py using configuration
Checking for function "open_memstream" : NO
Configuring messagestream_config.h using configuration
Compiler for Fortran supports arguments -w: YES
Checking for size of "void*" : 8
Compiler for Fortran supports arguments -w: YES (cached)
Build targets in project: 248

SciPy 1.13.0.dev0

  User defined options
    prefix: /home/jgross/Documents/GitHub/scipy/build-install

Found ninja-1.11.1.git.kitware.jobserver-1 at /home/jgross/Documents/GitHub/scipy/venv/bin/ninja
Meson build setup OK
💻  ninja -C /home/jgross/Documents/GitHub/scipy/build -j4
ninja: Entering directory `/home/jgross/Documents/GitHub/scipy/build'
This one seems to be working, it's at `[1083/1501] Generating 'scipy/signal/_upfirdn_apply.cpython-310-x86_64-linux-gnu.so.p/_upfirdn_apply.c'` currently

@JasonGross
Copy link
Author

Also the CI seems to pass with my updated code.

@JasonGross
Copy link
Author

Ah, sorry, I guess I was premature with the CI before.

Btw, you might want to update the build instructions, I had to do

python -m pip install hypothesis

to get the tests to run.

@JasonGross JasonGross force-pushed the log-softmax-log1p branch 2 times, most recently from 7136a8a to 67cbf91 Compare January 19, 2024 00:01
@JasonGross
Copy link
Author

Most of the tests (python dev.py test -t scipy/special/tests/test_log_softmax.py) now pass, but the final one is blocked on numpy/numpy#25623, because np.argmax doesn't support tuple axes even though np.max does.

@steppi
Copy link
Contributor

steppi commented Jan 19, 2024

Ah, sorry, I guess I was premature with the CI before.

Btw, you might want to update the build instructions, I had to do

python -m pip install hypothesis

to get the tests to run.

Check the devdocs for the most up to date info. https://scipy.github.io/devdocs/building/index.html#building-from-source

@JasonGross
Copy link
Author

I've pushed a horrible kludge of a commit that special-cases tuple arguments to axis and uses the old implementation for those arguments. This makes the test-suite (python dev.py test -t scipy/special/tests/test_log_softmax.py) pass, but maybe we want to wait for numpy/numpy#25623?

By taking advantage of the fact that `x - x_max` is going to be 0 at the
maximum and that `exp(0)` is 1, we can use `log1p` instead of `log` to
increase the accuracy of `log_softmax` at the maximum index by a factor
of about `2**126` (for float32) or about `2**1022` (for float64).

Fixes scipy#19521
@JasonGross
Copy link
Author

If you approve the CI run again, I expect (fingers crossed) all the tests will pass

@@ -8,6 +8,14 @@

@pytest.mark.parametrize('x, expected', [
(np.array([1000, 1]), np.array([0, -999])),
# we shouldn't return zero on the smallest subnormal input
(np.array([-np.log(np.finfo(np.float32).smallest_subnormal), 0], dtype=np.float32),
np.array([float.fromhex('-0x1.00000p-149'), float.fromhex('-0x1.9d1dap+6')],
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test (I believe) is the one test that fails on Windows with

Not equal to tolerance rtol=1e-13, atol=0

Mismatched elements: 1 / 2 (50%)
Max absolute difference among violations: 5.e-324
Max relative difference among violations: 1.
 ACTUAL: array([   0.      , -744.440072])
 DESIRED: array([-4.940656e-324, -7.444401e+002])

This seems like a bug in the windows implementation of floating point arithmetic. What should we do? Is there a way to relax this test only on Windows?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A new feature or improvement scipy.special
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ENH: scipy.special.log_softmax could be 2**126 to 2**1022 times more accurate
3 participants