Skip to content

Handle missing nested packages in package_is_available - #76

Open
Sanjays2402 wants to merge 1 commit into
nhairs:mainfrom
Sanjays2402:fix/oss-contribution
Open

Handle missing nested packages in package_is_available#76
Sanjays2402 wants to merge 1 commit into
nhairs:mainfrom
Sanjays2402:fix/oss-contribution

Conversation

@Sanjays2402

Copy link
Copy Markdown
Contributor

importlib.util.find_spec raises ModuleNotFoundError for missing parents in dotted module names. Treat missing modules in the requested name as unavailable while preserving unrelated dependency errors.

@nhairs

nhairs commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Hi @Sanjays2402

Can you give an example of why we need this?

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.

2 participants