Cannot build from source with 3.15

Đang mở
#334 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
46/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
pandas, python
Lĩnh vực
build-system

Hướng nghiên cứu

Start by reproducing the source build with Python 3.15 and inspect the Meson error shown at pandas/meson.build:1, especially the failed NumPy import. The issue provides no repository file or test entry point beyond that build log, so first determine whether the failure is caused by this project’s dependency configuration or upstream pandas compatibility. Done means the documented build path succeeds with Python 3.15; there are no comments or follow-up confirming a response.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Python
Star
47
Fork
33
Merge trung bình
2 giờ 28 phút
Pull request đã merge (30 ngày)
10

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của dathere/datapusher-plus

Tất cả issue của dathere/datapusher-plus

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.