Deprecation warning for cgi when using 3.11 version of Lacuna base image
还没有人认领这个 Issue。
评估
调研方向
从 swat/notebook/zeppelin.py 开始,具体检查第 27 行报告的 import cgi,并检查该模块的使用方式。使用 Python 3.11 Lacuna 基础镜像复现该警告,然后验证弃用警告已消失,同时 Zeppelin notebook 集成仍能正常工作。
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- Python
- 星标
- 159
- 派生
- 66
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
sassoftware/python-swat 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 30/100
sassoftware/python-swat#191 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
sassoftware/python-swat#183 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
sassoftware/python-swat#180 ·
-
难度 2/5 1-3 小时 新手友好度 35/100
sassoftware/python-swat#178 ·
-
难度 4/5 3-5 天 新手友好度 25/100
sassoftware/python-swat#177 · 1 条评论 ·
查看 sassoftware/python-swat 的全部 Issue
相似的 Issue
-
fuzz fuzz-unconfirmed
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
ready-for-agent
难度 2/5 1-3 小时 新手友好度 86/100
neilsh/stunt-reel#220 ·
维护者通常 1 天内回复
-
[Issue]: use_fp4_cache is accepted but ignored; the launcher always writes FP8 records可能已有人在做 @0z5a 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
area: cli priority: p3 size: S type: bug
难度 2/5 1-3 小时 新手友好度 83/100
finos/open-resource-broker#757 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 6 天内回复