Skip to content

pkg_resources is deprecated as an API #374

@anetchaev

Description

@anetchaev

from pkg_resources import parse_version # included in setuptools

Using Python 3.12.3:
"from pkg_resources import parse_version"

returns

:1: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html

Actually that line is not needed if line 59 is changed to:

if setuptools.version < SETUPTOOLS_MIN_VER:

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