Skip to content

Deprecate dependencies checker/installer#1490

Merged
maurosoria merged 2 commits intomasterfrom
deprecate-dep
Dec 26, 2025
Merged

Deprecate dependencies checker/installer#1490
maurosoria merged 2 commits intomasterfrom
deprecate-dep

Conversation

@shelld3v
Copy link
Copy Markdown
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
Copy Markdown
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!

@maurosoria maurosoria merged commit 6087496 into master Dec 26, 2025
13 checks passed
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