Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PackageLoader works with single module file #1542

Merged
merged 1 commit into from Nov 9, 2021
Merged

Conversation

davidism
Copy link
Member

@davidism davidism commented Nov 9, 2021

If the package is actually a single module file, spec.submodule_search_locations is None. spec.origin refers to the imported file, use the parent directory in that case. fixes #1512

@davidism davidism added this to the 3.0.3 milestone Nov 9, 2021
@davidism davidism merged commit 199b6d5 into 3.0.x Nov 9, 2021
@davidism davidism deleted the package-loader-file branch November 9, 2021 20:21
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant