[BUG] DeprecationWarning: Parsing dates involving a day of month without a year specified is ambiguious and fails to parse leap day.
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先,在所报告的 Dash 3.0.4 环境中使用 import dash 重现该警告,然后不要局限于所报告的 strptime 搜索,继续检查 repository,并查阅链接的 CPython issue。当导入 Dash 不再发出弃用警告时即表示完成,包括涉及闰日的日期。
由索引模型根据 Issue 内容生成。
描述
Describe your context
Please provide us your environment, so we can easily reproduce the issue.
- replace the result of
pip list | grep dashbelow
dash 3.0.4
Describe the bug
When importing dash :
DeprecationWarning: Parsing dates involving a day of month without a year specified is ambiguious
and fails to parse leap day. The default behavior will change in Python 3.15
to either always raise an exception or to use a different default year (TBD).
To avoid trouble, add a specific year to the input & format.
See https://github.com/python/cpython/issues/70647.
import dash
Expected behavior
No deprecation warning should occur.
The surprising part is that when I search for "strptime" in the dash repository, Github doesn't return any result.
- 主要语言
- Python
- 星标
- 24.5k
- 派生
- 2.3k
- 平均合并
- 3 天 7 小时
- 30 天内合并 PR
- 30
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
plotly/dash 的其他 Issue
-
P2 plotly-internal size: 1 task
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
Extract graph schema validation into properly named test可能已有人在做 @Nice6042 于 90 天前认领。 未关闭good first issue P3 size: 1 task
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
[BUG] Patch.update mutates a shared mapping and rewrites earlier merges可能已有人在做 @peterolkhov 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 35/100
维护者通常 1 天内回复
-
[BUG] dcc.Dropdown: virtualized list keeps the height measured at opening when options grow while the menu is open可能已有人在做 @KoolADE85 于 2 天前认领。 未关闭bug P3 size: 1
plotly/dash#4131 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[BUG] `set_props` streaming可能已有人在做 @BSd3v 于 5 天前认领。 未关闭bug P3 size: 1
难度 4/5 3-5 天 新手友好度 35/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
comp/desktop P3 type/feature
难度 2/5 1-3 小时 新手友好度 78/100
NousResearch/hermes-agent#154285 ·
维护者通常 1 天内回复
-
docs: qualify copied and custom kubectl debug policy notes可能已有人在做 @nym01 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
kubescape/cel-admission-library#166 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
SACGF/variantgrid#2804 · 1 条评论 ·
维护者通常 1 天内回复
-
[BUG] HTTP lifecycle dispatch treats a NO_PROXY-only environment as corporate egress and skips the resolve-and-pinned session可能已有人在做 @bodapatisaikrishna 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复