GoogleCloudPlatform / GoogleCloudPlatform/appengine-python-standard

`cgi` module is deprecated

未关闭
#117 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
86
派生
61
PR 合并指标
30 天内没有已合并 PR

描述

See [PEP 594](https://peps.python.org/pep-0594/#cgi). The `cgi` module is deprecated since version Python 3.11, will be removed in version Python 3.13.

Currently, a `DeprecationWarning` is emitted due to `appengine-python-standard` use of the `cgi` module.

```
.venv/lib/python3.12/site-packages/google/appengine/runtime/request_environment.py:29: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
import cgi
```

## Specifications

- Version: appengine-python-standard v1.1.6
- Platform: Linux 6.6.30-2 x86_64; Python 3.12.2

贡献指南

打开贡献指南

调研方向

Start with the request_environment.py:29 location shown in the traceback and read the PEP 594 CGI deprecation details. Determine the supported replacement and verify that appengine-python-standard no longer emits this warning and remains compatible with Python 3.13.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
backend, cloud
Issue 类型
重构
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。