spacetelescope / webbpsf

James Webb Space Telescope PSF simulation tool
https://webbpsf.readthedocs.io
BSD 3-Clause "New" or "Revised" License
115 stars 61 forks source link

readthedocs build is broken; needs python version update #854

Closed mperrin closed 3 months ago

mperrin commented 3 months ago

I noticed that all our builds on readthedocs have been failing for the last nearly two months. since March 28. Error is about Python version, see below:

@BradleySappington might you be able to lend a hand with debugging this, please?

python -m pip install --upgrade --upgrade-strategy only-if-needed --no-cache-dir .[docs]
Processing /home/docs/checkouts/readthedocs.org/user_builds/webbpsf/checkouts/latest
  Installing build dependencies: started
  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 'done'
Collecting numpy>=1.21.6 (from webbpsf==0.1.dev181+gfc36b37)
  Downloading numpy-1.26.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.0/61.0 kB 2.9 MB/s eta 0:00:00
Collecting scipy>=1.5.0 (from webbpsf==0.1.dev181+gfc36b37)
  Downloading scipy-1.13.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (60 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.6/60.6 kB 19.2 MB/s eta 0:00:00
Collecting matplotlib>=3.2.0 (from webbpsf==0.1.dev181+gfc36b37)
  Downloading matplotlib-3.9.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)
Collecting astropy>=5.1.0 (from webbpsf==0.1.dev181+gfc36b37)
  Downloading astropy-6.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (9.8 kB)
Collecting photutils>=1.10.0 (from webbpsf==0.1.dev181+gfc36b37)
  Downloading photutils-1.11.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.5 kB)
Collecting poppy>=1.0.0 (from webbpsf==0.1.dev181+gfc36b37)
  Downloading poppy-1.1.1-py3-none-any.whl.metadata (3.8 kB)
Collecting pysiaf>=0.19.1 (from webbpsf==0.1.dev181+gfc36b37)
  Downloading pysiaf-0.22.0-py3-none-any.whl.metadata (11 kB)
Collecting synphot>=1.0.0 (from webbpsf==0.1.dev181+gfc36b37)
  Downloading synphot-1.3.post0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.2 kB)
Collecting astroquery>=0.4.6 (from webbpsf==0.1.dev181+gfc36b37)
  Downloading astroquery-0.4.7-py3-none-any.whl.metadata (7.2 kB)
INFO: pip is looking at multiple versions of webbpsf to determine which version is compatible with other requirements. This could take a while.
ERROR: Package 'webbpsf' requires a different Python: 3.9.18 not in '>=3.10'
BradleySappington commented 3 months ago

@mperrin - Part of the release this week is a version update for webbpsf to be >=3.10 which will fix this, I'll verify all is building properly before doing the release.

mperrin commented 3 months ago

Great, thanks. Sounds good.

Whenever we do get it building on readtheeocs before the release I’d like to try to do a check of the docs then for any rendering or formatting issues etc.

BradleySappington commented 3 months ago

This work is complete

BradleySappington commented 3 months ago

completed with 858