Skip to content

Cannot build from source with 3.15 #334

Description

@clin1234
Collecting pandas==2.2.3 (from datapusher-plus)
  Using cached pandas-2.2.3.tar.gz (4.4 MB)
  Installing build dependencies: started
  Installing build dependencies: still running...
  Installing build dependencies: still running...
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'error'
  error: subprocess-exited-with-error
  
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [31 lines of output]
      + meson setup /tmp/pip-install-7796d06d/pandas_0f0685e3535f43369a1ad94d1cf1c7eb /tmp/pip-install-7796d06d/pandas_0f0685e3535f43369a1ad94d1cf1c7eb/.mesonpy-qqhwp7le -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --vsenv --native-file=/tmp/pip-install-7796d06d/pandas_0f0685e3535f43369a1ad94d1cf1c7eb/.mesonpy-qqhwp7le/meson-python-native-file.ini
      The Meson build system
      Version: 1.11.1
      Source dir: /tmp/pip-install-7796d06d/pandas_0f0685e3535f43369a1ad94d1cf1c7eb
      Build dir: /tmp/pip-install-7796d06d/pandas_0f0685e3535f43369a1ad94d1cf1c7eb/.mesonpy-qqhwp7le
      Build type: native build
      Project name: pandas
      Project version: 2.2.3
      C compiler for the host machine: /home/cc/.cargo/bin/sccache cc (gcc 16.1.1 "cc (GCC) 16.1.1 20260515 (Red Hat 16.1.1-2)")
      C linker for the host machine: cc ld.bfd 2.46.50.20260604
      C++ compiler for the host machine: /home/cc/.cargo/bin/sccache c++ (gcc 17.0.0 "c++ (GCC) 17.0.0 20260531 (experimental)")
      C++ linker for the host machine: c++ ld.bfd 2.46.50.20260604
      Cython compiler for the host machine: cython (cython 3.3.0)
      Host machine cpu family: x86_64
      Host machine cpu: x86_64
      Program python found: YES (/home/cc/venv/bin/python3.15t)
      
      ../pandas/meson.build:1:15: ERROR: Command `/home/cc/venv/bin/python3.15t -c '
      import os
      import numpy as np
      try:
          # Check if include directory is inside the pandas dir
          # e.g. a venv created inside the pandas dir
          # If so, convert it to a relative path
          incdir = os.path.relpath(np.get_include())
      except Exception:
          incdir = np.get_include()
      print(incdir)
           '` failed with status 1.
      
      A full log can be found at /tmp/pip-install-7796d06d/pandas_0f0685e3535f43369a1ad94d1cf1c7eb/.mesonpy-qqhwp7le/meson-logs/meson-log.txt
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions