8000 DeprecationWarning parameter.py · Issue #3356 · spotify/luigi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
DeprecationWarning parameter.py #3356
Open
@AndreCimander

Description

@AndreCimander

.venv/lib/python3.12/site-packages/luigi/parameter.py:408
/workspaces/.venv/lib/python3.12/site-packages/luigi/parameter.py:408: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
_UNIX_EPOCH = datetime.datetime.utcfromtimestamp(0)

Would be nice to remove this warning, but I'm aware that this might break backwards compatibility if people rely on a naive date.

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