Skip to content

Fix: Skip built-in modules in dependency check#1

Open
shahadulhaider wants to merge 1 commit intomainfrom
fix/builtin-package-install
Open

Fix: Skip built-in modules in dependency check#1
shahadulhaider wants to merge 1 commit intomainfrom
fix/builtin-package-install

Conversation

@shahadulhaider
Copy link
Copy Markdown
Collaborator

The dependency checker would incorrectly identify built-in modules like sys or os as uninstalled because they do not reside in the venv's site-packages directory.

This change uses sys.builtin_module_names to filter out these modules before checking their installation status.

The dependency checker would incorrectly identify built-in modules like
`sys` or `os` as uninstalled because they do not reside in the venv's
`site-packages` directory.

This change uses `sys.builtin_module_names` to filter out these modules
before checking their installation status.
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.

1 participant