Skip to content

nps lint displays pkg_resources warnings #228

@bkeryan

Description

@bkeryan
PS C:\dev\nitypes-python> poetry run nps lint
C:\dev\nitypes-python\.venv\Lib\site-packages\flake8_import_order\styles.py:3: 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.
  from pkg_resources import iter_entry_points

This is with flake8-import-order 0.18.2.

It's fixed in flake8-import-order 0.19.0: PyCQA/flake8-import-order#201

However, we've blocked upgrading of flake8-import-order for other reasons: #225

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions