watertap-org / parameter-sweep

https://parameter-sweep.readthedocs.io
Other
0 stars 5 forks source link

Deprecation warnings from pyomo on import #10

Closed lbianchi-lbl closed 5 months ago

lbianchi-lbl commented 5 months ago
$ python -c "import parameter_sweep"
WARNING: DEPRECATED: the '_VarData' class has been moved to
'pyomo.core.base.VarData'.  Please update your import.  (deprecated in 6.7.2)
(called from /opt/conda/envs/test-watertap-1437/lib/python3.10/site-
packages/parameter_sweep/parameter_sweep.py:24)
WARNING: DEPRECATED: the '_ExpressionData' class has been moved to
'pyomo.core.base.NamedExpressionData'.  Please update your import. (deprecated
in 6.7.2) (called from /opt/conda/envs/test-watertap-1437/lib/python3.10/site-
packages/parameter_sweep/parameter_sweep.py:24)
WARNING: DEPRECATED: defer_check=False is deprecated.  Please use defer_import
(deprecated in 6.7.2) (called from /opt/conda/envs/test-
watertap-1437/lib/python3.10/site-
packages/parameter_sweep/parallel/parallel_manager_factory.py:26)
WARNING: DEPRECATED: defer_check=False is deprecated.  Please use defer_import
(deprecated in 6.7.2) (called from /opt/conda/envs/test-
watertap-1437/lib/python3.10/site-
packages/parameter_sweep/parallel/parallel_manager_factory.py:27)
WARNING: DEPRECATED: defer_check=False is deprecated.  Please use defer_import
(deprecated in 6.7.2) (called from /opt/conda/envs/test-
watertap-1437/lib/python3.10/site-
packages/parameter_sweep/parallel/ray_io_parallel_manager.py:23)