phoebe-project / phoebe2

PHOEBE - Eclipsing Binary Star Modeling Software
http://phoebe-project.org
GNU General Public License v3.0
80 stars 30 forks source link

Phoebe 2.4.11 build failure on Python 3.11.4 #770

Closed spencel9 closed 3 months ago

spencel9 commented 1 year ago

Phoebe fails to build in venv with Python 3.11.4.

Collecting phoebe
  Downloading phoebe-2.4.11.tar.gz (77.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.7/77.7 MB 42.4 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      Numpy is needed for running and building of PHOEBE
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
spencel9 commented 1 year ago

Numpy is installed

Name: numpy
Version: 1.24.4
Summary: Fundamental package for array computing in Python
Home-page: https://www.numpy.org
Author: Travis E. Oliphant et al.
Author-email:
License: BSD-3-Clause
Location: /Users/lindsayspence/phoebevenv/lib/python3.8/site-packages
Requires:
Required-by:
kecnry commented 1 year ago

Are you sure that numpy is available from the same version/instance of python that pip is trying to install phoebe into?

aprsa commented 8 months ago

@spencel9, can you please try the 2.4.12 build? We replaced the build system and I'm hoping that this is resolved.

kecnry commented 3 months ago

This should be fixed now, if anyone runs into this same problem after 2.4.12, please re-open this issue or create a new one.