Skip to content

PackageLoader understands namespace packages#1113

Merged
davidism merged 1 commit intomasterfrom
namespace-loader
Dec 5, 2019
Merged

PackageLoader understands namespace packages#1113
davidism merged 1 commit intomasterfrom
namespace-loader

Conversation

@davidism
Copy link
Copy Markdown
Member

@davidism davidism commented Dec 5, 2019

fixes #1097

Adds limited support for PEP 420 namespace packages. The template directory is assumed to be provided to by the first contributor encountered in the namespace package's path, and Zip files are not supported.

The loader now tries to import the package, so users will get an ImportError if it's misconfigured.

@davidism
Copy link
Copy Markdown
Member Author

Reverting this in 2.11.2, it broke compatibility with Pytest. However, support will be present when 3.0 is released. See #1168, #1169

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 13, 2020
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.

PackageLoader fails on namespace packages

1 participant