diff --git a/orangecontrib/spectroscopy/tests/test_xas.py b/orangecontrib/spectroscopy/tests/test_xas.py index 71d586215..19582a989 100644 --- a/orangecontrib/spectroscopy/tests/test_xas.py +++ b/orangecontrib/spectroscopy/tests/test_xas.py @@ -59,4 +59,5 @@ def test_file(self): exafs = extra(data) numpy.testing.assert_almost_equal( [-3.46450033e-01, -3.45888957e-01, -3.44362296e-01, -3.41912861e-01, - -3.38582017e-01, -3.34409725e-01, -3.29434571e-01, -3.23693808e-01], exafs.X[0, :8]) + -3.38582017e-01, -3.34409725e-01, -3.29434571e-01, -3.23693808e-01], exafs.X[0, :8], + decimal=4) diff --git a/setup.py b/setup.py index 6db38fe48..67f038010 100644 --- a/setup.py +++ b/setup.py @@ -127,7 +127,7 @@ def include_documentation(local_dir, install_dir): install_requires=[ 'setuptools>=36.3', # same as for Orange 3.28 'pip>=9.0', # same as for Orange 3.28 - 'numpy>=1.20.0,<2.0.0', + 'numpy>=1.21.0,<2.0.0', 'Orange3>=3.34.0', 'orange-canvas-core>=0.1.28', 'orange-widget-base>=4.19.0', @@ -141,7 +141,7 @@ def include_documentation(local_dir, install_dir): 'h5py', 'extranormal3 >=0.0.3', 'renishawWiRE>=0.1.8', - 'pillow', + 'pillow>=9.0.0', 'lmfit>=1.3.2', 'bottleneck', 'pebble', diff --git a/tox.ini b/tox.ini index ea9cf85e8..8b19afa1f 100644 --- a/tox.ini +++ b/tox.ini @@ -25,12 +25,13 @@ deps = oldest: orange-canvas-core==0.1.28 oldest: orange-widget-base==4.19.0 oldest: scikit-learn~=1.0.1 - oldest: numpy~=1.20.0 + oldest: numpy~=1.21.0 oldest: pyqtgraph==0.12.2 oldest: scipy~=1.9.0 oldest: pandas~=1.3.0 oldest: spectral~=0.22.3 - oldest: lmfit==1.3.1 + oldest: lmfit==1.3.2 + oldest: pillow==9.0.0 latest: https://github.com/biolab/orange3/archive/refs/heads/master.zip#egg=orange3 latest: https://github.com/biolab/orange-canvas-core/archive/refs/heads/master.zip#egg=orange-canvas-core latest: https://github.com/biolab/orange-widget-base/archive/refs/heads/master.zip#egg=orange-widget-base