8000 bullseye images has issue with mktime OverflowError · Issue #815 · docker-library/python · GitHub
[go: up one dir, main page]

Skip to content
bullseye images has issue with mktime OverflowError #815
Open
@AhmadMS1988

Description

@AhmadMS1988

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0