Skip to content

Conversation

@kt-devoss
Copy link

Description

  • Added setuptools to install_requires in setup.cfg
  • Fixes ModuleNotFoundError: No module named 'pkg_resources' on Python 3.12+
  • This error occurred because setuptools was not listed as a dependency

Note: This commit provides a temporary fix by ensuring setuptools is installed. However, pkg_resources is deprecated and will be removed after 2025-11-30. Future versions should replace pkg_resources with importlib.metadata.

Test Plan


fixes: #82

…rt error

- Added `setuptools` to `install_requires` in setup.cfg
- Fixes `ModuleNotFoundError: No module named 'pkg_resources'` on Python
3.12+
- This error occurred because setuptools was not listed as a dependency

Note: This commit provides a temporary fix by ensuring setuptools is
installed. However, pkg_resources is deprecated and will be removed
after 2025-11-30. Future versions should replace pkg_resources with
importlib.metadata.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pkg_resources import fails on Python 3.12 due to missing setuptools dependency

1 participant