ejeschke / ginga

The Ginga astronomical FITS file viewer
BSD 3-Clause "New" or "Revised" License
121 stars 77 forks source link

Remove deprecated use of numpy.bool #1051

Closed StuartLittlefair closed 1 year ago

StuartLittlefair commented 1 year ago

The data type np.bool is used in a few places, for example canvas/types/mixins.py.

This was deprecated in NumPy 1.20 and now causes an exception in 1.24.x.

With this change Ginga can no longer be imported.