Skip to content

DeprecationWarning due to resources.open_text #109

@alexprengere

Description

@alexprengere

Not really a bug, so feel free to close without further explanations.
Not too long ago I started seeing this deprecation warning from _tzpath.py:152

DeprecationWarning: open_text is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.
    with resources.open_text("tzdata", "zones") as f:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions