Skip to content

Commit

Permalink
Trying to fix jinja2 import error
Browse files Browse the repository at this point in the history
When pushing to prod I'm getting the following error:

```
ImportError: cannot import name 'escape' from 'jinja2'
```

It looks like some library I'm using is importing something from Jinja2
which has been deprecated and removed. Fixing the version of `Jinja2` to
`3.0.3` should fix this issue
according to: pallets/jinja#1626
  • Loading branch information
arnfred committed Mar 27, 2022
1 parent 1b548fa commit 228f092
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Pillow==9.0.1
jinja2==3.0.3
python-dateutil==2.8.1
toml==0.10.0
boto3==1.11.3
Expand Down

0 comments on commit 228f092

Please sign in to comment.