ome / omero-py

Python project containing Ice remoting code for OMERO
https://www.openmicroscopy.org/omero
GNU General Public License v2.0
20 stars 31 forks source link

use math module instead of numpy.math #384

Closed jburel closed 8 months ago

jburel commented 9 months ago

This should fix the warning noticed in the updated CI

/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.9/site-packages/omero/util/roi_handling_utils.py:28: DeprecationWarning: `np.math` is a deprecated alias for the standard library `math` module (Deprecated Numpy 1.25). Replace usages of `np.math` with `math`
23:16:31     from numpy import asarray, int32, math, zeros, hstack, vstack
joshmoore commented 8 months ago

:+1: Have definitely seen this in other repos.