Import integrations inside extension init.
Review Request #14861 — Created March 1, 2026 and submitted
The djblets extension packaging build backend imports extension classes
in order to get metadata, which means that anything imported from the
extension needs to be present at build time, not just runtime.
rbintegrations' extension file was importing all of the individual
integration files, which in turn could import modules from third-party
dependencies.This change moves those dependencies into the extension's initialize
method so it works with build isolation.
Did a test build.
| Summary | ID |
|---|---|
| ntwponssmotvmrwulvtomlkxklzxxsll |
| Description | From | Last Updated |
|---|---|---|
|
We should probably get rid of the integrations attribute now since nothing gets put in it, things get registered into … |
|
- Commits:
-
Summary ID ntwponssmotvmrwulvtomlkxklzxxsll ntwponssmotvmrwulvtomlkxklzxxsll - Diff:
-
Revision 2 (+50 -60)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.