Skip to content

[bug] update_checker.py:7: UserWarning: pkg_resources is deprecated as an API #744

@maaaaz

Description

@maaaaz

Hello,

Thanks for this great project!

After doing a pip install objection and launching the tool with objection --help, I encounter the following warning message:

/root/.virtualenvs/virtualenvobjection/lib/python3.13/site-packages/objection/utils/update_checker.py:7: 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 parse_version

Here is the used environment:

$ python -V
Python 3.13.3

$ pip freeze
blinker==1.9.0
certifi==2025.6.15
charset-normalizer==3.4.2
cli_helpers==2.4.0
click==8.2.1
colorama==0.4.6
configobj==5.0.9
delegator.py==0.1.1
Flask==3.1.1
frida==17.2.6
frida-tools==14.3.1
idna==3.10
itsdangerous==2.2.0
Jinja2==3.1.6
litecli==1.15.0
MarkupSafe==3.0.2
objection==1.11.0
pexpect==4.9.0
prompt_toolkit==3.0.51
ptyprocess==0.7.0
Pygments==2.19.2
requests==2.32.4
semver==2.13.0
setuptools==80.9.0
sqlparse==0.5.3
tabulate==0.9.0
urllib3==2.5.0
wcwidth==0.2.13
websockets==13.1
Werkzeug==3.1.3


$ uname -amrs                                                                                                                        
Linux kali 6.12.25-amd64 #1 SMP PREEMPT_DYNAMIC Kali 6.12.25-1kali1 (2025-04-30) x86_64 GNU/Linux

$ cat /etc/issue*
Kali GNU/Linux Rolling

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    freshissueDefault label for new, untriaged issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions