Relax app dependencies for `lightning` | breaking imports from `L` (#18386)
* make App conditional import
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* ci: min req.
* data + store
* typo
* module_available
* extra
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* typo
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* envs
* doctest
* more
* docs
* **
* rm
* -f
* Apply suggestions from code review
* docs
* Revert "docs"
This reverts commit 20e8e6be98
.
* Apply suggestions from code review
* warnings
* breaking
* ...
* fixing source
* fixing examples
* fixing tests
* fixing docs
* fixing source
* fix mock
* fix trainer
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>