Skip to content

v5.4.1

Latest

Choose a tag to compare

@eaguad1337 eaguad1337 released this 07 Jun 21:35

Bug fixes

Package providers resolve their root through the import system. PackageProvider.root() located a package's directory with a first-occurrence substring search over the provider's __file__. When the project path itself contained the package name before the real module directory — an app created at /tmp/<pkg>-smoke, or an editable install from a repo directory named like the package — the search matched too early and the provider crashed on boot with views() first argument must be a folder containing all package views. The directory is now resolved via importlib, which is immune to path coincidences (#24).