diff --git a/conda/meta.yaml b/conda/meta.yaml index be1d15c43..424e4d10d 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -24,7 +24,7 @@ requirements: run: - python >=3.8 - numpy >=1.21.0,<2.0.0 - - orange3 >=3.34.0 + - orange3 >=3.37.0 - orange-canvas-core >=0.1.28 - orange-widget-base >=4.19.0 - scipy >=1.9.0 diff --git a/orangecontrib/spectroscopy/widgets/owpls.py b/orangecontrib/spectroscopy/widgets/owpls.py index b1d44e61f..e1230bf35 100644 --- a/orangecontrib/spectroscopy/widgets/owpls.py +++ b/orangecontrib/spectroscopy/widgets/owpls.py @@ -27,11 +27,14 @@ class Outputs(OWBaseLearner.Outputs): class Warning(OWBaseLearner.Warning): sparse_data = Msg('Sparse input data: default preprocessing is to scale it.') + deprecated = Msg('The PLS widget is deprecated and will be removed in the future.\n' + 'You can use a PLS widget in the core Orange instead.') n_components = Setting(2) max_iter = Setting(500) def add_main_layout(self): + self.Warning.deprecated() self.optimization_box = gui.vBox( self.controlArea, "Optimization Parameters") diff --git a/setup.py b/setup.py index 987f23927..0ebfab92d 100644 --- a/setup.py +++ b/setup.py @@ -128,7 +128,7 @@ def include_documentation(local_dir, install_dir): 'setuptools>=36.3', # same as for Orange 3.28 'pip>=9.0', # same as for Orange 3.28 'numpy>=1.21.0,<2.0.0', - 'Orange3>=3.34.0', + 'Orange3>=3.37.0', 'orange-canvas-core>=0.1.28', 'orange-widget-base>=4.19.0', 'scipy>=1.9.0', diff --git a/tox.ini b/tox.ini index 8b19afa1f..8fdd3b48c 100644 --- a/tox.ini +++ b/tox.ini @@ -21,7 +21,7 @@ setenv = deps = {env:PYQT_PYPI_NAME:PyQt5}=={env:PYQT_PYPI_VERSION:5.15.*} {env:WEBENGINE_PYPI_NAME:PyQtWebEngine}=={env:WEBENGINE_PYPI_VERSION:5.15.*} - oldest: orange3==3.34.0 + oldest: orange3==3.37.0 oldest: orange-canvas-core==0.1.28 oldest: orange-widget-base==4.19.0 oldest: scikit-learn~=1.0.1