diff --git a/setup.py b/setup.py
index bb3094cce8278da016135101b685ad812fdaa3f6..c424d7437b8aafbe956f99b4c5282133936442b4 100644
--- a/setup.py
+++ b/setup.py
@@ -35,8 +35,8 @@ setup(
         'Topic :: Scientific/Engineering :: Astronomy'],
     platforms='any',
     install_requires=[
-        'aplpy', 'astropy', 'bdsf', 'h5py', 'losoto @ git+https://github.com/revoltek/losoto.git@0f5a498930da0c6301fd0595271acc21d3a5b383', 'lsmtool',
-        'matplotlib', 'numpy==1.23.0', 'python-casacore', 'RMextract', 'scipy'],
+        'aplpy', 'astropy', 'bdsf', 'h5py', 'losoto @ git+https://github.com/revoltek/losoto.git@fix_numpy_warnings', 'lsmtool',
+        'matplotlib', 'numpy', 'python-casacore', 'RMextract', 'scipy'],
     scripts=glob.glob('scripts/*'),
     data_files=data_files,
     # explicitly declare packages so setuptools does not attempt auto discovery