Skip to content

Conversation

@shelld3v
Copy link
Collaborator

@shelld3v shelld3v commented Oct 20, 2025

Description

pkg_resources will soon be deprecated, and based on my research and testing, importlib.metadata is not a reliable replacement as under certain conditions, it might not be able to check installed dependencies probably, prevent users from running the tool. Therefore, the only solution is to remove this feature, the responsibility for installing dependencies should belong to the user, not dirsearch

Fix #1481, fix #1483

@drego85
Copy link
Contributor

drego85 commented Nov 4, 2025

I agree with this change; it’s indeed the user’s responsibility to install the required dependencies in their system or within a virtual environment (venv).
This approach keeps dirsearch cleaner and avoids potential issues with dependency management.

Thanks @shelld3v for the work and detailed explanation!

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.

No module named distutils When I run it, dirsearch has a warning

3 participants