Skip to content

Warning at every command #2681

@Dominiquini

Description

@Dominiquini

Description

Every command with 'capa' generates a warning in the command line:
PyInstaller/loader/pyimod02_importers.py:450: 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.

Steps to Reproduce

  1. Install the binary for the last version: 9.2.0
  2. Run: 'capa --version' on the terminal
  3. See the warning

Expected behavior:

No warnings should appears!

Actual behavior:

-> capa --version

PyInstaller/loader/pyimod02_importers.py:450: 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.
capa 9.2.0

Versions

Additional Information

The previous version (9.1.0) appears to be working fine!

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