sassoftware / python-swat

The SAS Scripting Wrapper for Analytics Transfer (SWAT) package is the Python client to SAS Cloud Analytic Services (CAS). It allows users to execute CAS actions and process the results all from Python.
Other
144 stars 61 forks source link

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

Open grandBleu opened 6 months ago

grandBleu commented 6 months ago

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

bkemper24 commented 6 months ago

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