You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: sdss-basecam 0.6.2 has requirement astropy<5.0,>=4.2; python_version >= "3.7" and python_version < "3.10", but you'll have astropy 5.1 which is incompatible.
In the current dependencies the latest numpy 1.23.0 is installed with astropy 4.3.1 and it fails.
[ERROR]: Traceback (most recent call last):
File "/root/lvmcam/python/lvmcam/__main__.py", line 26, in <module>
from lvmcam.actor.actor import LvmcamActor
File "/root/lvmcam/python/lvmcam/actor/__init__.py", line 1, in <module>
from .actor import LvmcamActor
File "/root/lvmcam/python/lvmcam/actor/actor.py", line 21, in <module>
from basecam import BaseCamera
File "/usr/local/lib/python3.8/dist-packages/basecam/__init__.py", line 12, in <module>
from .camera import *
File "/usr/local/lib/python3.8/dist-packages/basecam/camera.py", line 38, in <module>
from basecam.models.fits import FITSModel
File "/usr/local/lib/python3.8/dist-packages/basecam/models/__init__.py", line 1, in <module>
from .builtin import *
File "/usr/local/lib/python3.8/dist-packages/basecam/models/builtin.py", line 9, in <module>
from .card import Card
File "/usr/local/lib/python3.8/dist-packages/basecam/models/card.py", line 20, in <module>
import astropy.wcs
File "/usr/local/lib/python3.8/dist-packages/astropy/wcs/__init__.py", line 26, in <module>
from .wcs import *
File "/usr/local/lib/python3.8/dist-packages/astropy/wcs/wcs.py", line 50, in <module>
from astropy import units as u
File "/usr/local/lib/python3.8/dist-packages/astropy/units/__init__.py", line 17, in <module>
from .quantity import *
File "/usr/local/lib/python3.8/dist-packages/astropy/units/quantity.py", line 28, in <module>
from .quantity_helper import (converters_and_unit, can_have_arbitrary_unit,
File "/usr/local/lib/python3.8/dist-packages/astropy/units/quantity_helper/__init__.py", line 10, in <module>
from . import helpers, function_helpers
File "/usr/local/lib/python3.8/dist-packages/astropy/units/quantity_helper/function_helpers.py", line 119, in <module>
np.asscalar,
File "/usr/local/lib/python3.8/dist-packages/numpy/__init__.py", line 311, in __getattr__
raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'asscalar'
The text was updated successfully, but these errors were encountered:
Fixed on 8f1afb2. Restricted numpy to <1.22.0. The issue seems to be that numpy 1.23 has deprecated numpy.asscalar which is used by astropy 4.0.
Eventually we should just move to astropy 5 but the problem is that we are supporting Python 3.7 and astropy 5 does not have wheels for Python 3.7 (and I'm not sure it actually compiles).
I've release 0.6.3 with that change, let me know if that works.
basecam limits astropy to < 5.0 which is incompatible with numpy 1.23.0 see astropy issue #12535, has been fixed with astropy > 5.0
ERROR: sdss-basecam 0.6.2 has requirement astropy<5.0,>=4.2; python_version >= "3.7" and python_version < "3.10", but you'll have astropy 5.1 which is incompatible.
In the current dependencies the latest numpy 1.23.0 is installed with astropy 4.3.1 and it fails.
The text was updated successfully, but these errors were encountered: