Skip to content

[Bug]: Warning about depreacted API of pkg_resources #996

@vinchatl

Description

@vinchatl

Bug description

Installed aqtinstall on Windows using winget CLI, the app seems to work but there's an warning message about a deprecated API:

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.

Tried it with python 3.12.10 and 3.14.2.

Not sure if this comes from Windows installer, from the app or from a dependency.

Expected behavior

No warning message

aqt and python version

aqtinstall(aqt) v3.3.0 on Python 3.13.3 [CPython MSC v.1943 64 bit (AMD64)]

Operating System

Windows

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions