Commit ee0c5be
committed
Declare jinja2 as a direct dependency
fastapi_cache.coder imports starlette.templating unconditionally, which
requires jinja2. Since Starlette 1.0 no longer bundles jinja2 (it's an
optional extra), a minimal install crashes with 'ImportError: jinja2 must
be installed to use Jinja2Templates'. The test suite missed this because
the dev group pulls in jinja2 transitively via towncrier.
Fixes #5681 parent b2143ef commit ee0c5be
3 files changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
| |||
0 commit comments