Skip to content

Remove 1 warning - DeprecationWarning: pkg_resources is deprecated as an API #143

Description

@bobleesj

Problem

===================================================== warnings summary ======================================================
../../../miniconda3/envs/diffpy_utils_env/lib/python3.13/site-packages/diffpy.utils-3.0.0-py3.7.egg/diffpy/utils/version.py:29
  /Users/macbook/miniconda3/envs/diffpy_utils_env/lib/python3.13/site-packages/diffpy.utils-3.0.0-py3.7.egg/diffpy/utils/version.py:29: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    from pkg_resources import resource_filename

Proposed solution

See https://setuptools.pypa.io/en/latest/pkg_resources.html as instructed

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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