Fix a regression in extension packaging.
Review Request #13213 — Created Aug. 14, 2023 and submitted — Latest diff uploaded
When typing was introduced for
djblets.extensions.packaging
, an import
was added that triggered Django model/app machinery. This ended up
breaking, since we weren't setting up a Django environment at this
stage.This import was only needed for typing, so it's been moved into a
TYPE_CHECKING
block.
Successfully installed extension packages.