Skip to content

pkg_resources is deprecated #1945

@jminor

Description

@jminor

We're seeing this warning in OTIO CI builds recently. It looks like we need to switch from pkg_resources to mportlib.resources or packaging instead.

/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/opentimelineio/console/otioconvert.py:14: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.

Example here (warning at the top, not the error later): https://github.com/AcademySoftwareFoundation/OpenTimelineIO/actions/runs/18021083051/job/51280293327

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildissues building OTIOhelp wantedWe're looking for help from the community - you're weclome to volunteer!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions