python-swat icon indicating copy to clipboard operation
python-swat copied to clipboard

Deprecation warning for cgi when using 3.11 version of Lacuna base image

Open grandBleu opened this issue 1 year ago • 1 comments
trafficstars

Upgrading Lacuna base image from 3.9 to 3.11 and seeing below warning. It looks like SWAT needs to be updated for the cgi package.

============================================ warnings summary ============================================ ../../../../../usr/local/lib64/python3.11/site-packages/swat/notebook/zeppelin.py:27 ../../../../../usr/local/lib64/python3.11/site-packages/swat/notebook/zeppelin.py:27 ../../../../../usr/local/lib64/python3.11/site-packages/swat/notebook/zeppelin.py:27 ../../../../../usr/local/lib64/python3.11/site-packages/swat/notebook/zeppelin.py:27 /usr/local/lib64/python3.11/site-packages/swat/notebook/zeppelin.py:27: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 import cgi

grandBleu avatar Jan 04 '24 18:01 grandBleu

Thanks for reporting this! I've made a note to replace the use of the cgi package.

bkemper24 avatar Jan 04 '24 18:01 bkemper24