bullseye images has issue with mktime OverflowError
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 28/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- docker, python
调研方向
在 Bullseye 和 Buster 镜像中使用 pytz 重现提供的 Python 代码片段,然后比较 time.mktime 涉及的运行时和 OS 依赖项。确定 Bullseye 镜像是否需要记录依赖项或进行打包更改,并确认该代码片段不再引发 OverflowError。
由索引模型根据 Issue 内容生成。
描述
Hi
We are trying to run the following code snippet on bullseye after installing pytz
from datetime import datetime
import time
import pytz
tz=pytz.timezone('America/New_York')
nytime= datetime.utcnow().astimezone(tz)
time.mktime(nytime.timetuple())
But we get the following exception:
OverflowError: mktime argument out of range
Knowing that it works normally in buster images.
Is there any OS dependency that I need to install for bullseye?
Thank you
- 主要语言
- Dockerfile
- 星标
- 2.8k
- 派生
- 1.1k
- 平均合并
- 3 天 1 小时
- 30 天内合并 PR
- 1
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
docker-library/python 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
docker-library/python#1080 · 8 条评论 ·
-
难度 4/5 3-5 天 新手友好度 45/100
docker-library/python#1121 · 2 条评论 ·
-
难度 4/5 3-5 天 新手友好度 45/100
docker-library/python#1082 · 10 条评论 · 36 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 55/100
docker-library/python#1076 · 6 条评论 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 52/100
docker-library/python#1071 · 7 条评论 ·
查看 docker-library/python 的全部 Issue
相似的 Issue
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main 未关闭area: ci bug perceived difficulty: 3
难度 2/5 1-3 小时 新手友好度 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
crossplane/crossplane#7859 ·
-
Product: Terraform (AVM) Topic: Networking (HS) :globe_with_meridians:
难度 2/5 1-3 小时 新手友好度 88/100
Azure/Azure-Landing-Zones#4282 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 88/100
-
bug carvel-triage
难度 2/5 1-3 小时 新手友好度 88/100
carvel-dev/kapp-controller#1861 ·