Bump jinja2 from 2.11.2 to 2.11.3 (#1838)

* Bump jinja2 from 2.11.2 to 2.11.3

Bumps [jinja2](https://github.com/pallets/jinja) from 2.11.2 to 2.11.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/master/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/2.11.2...2.11.3)

Signed-off-by: dependabot[bot] <support@github.com>

* Run pip-compile our way

* Add newline

* Update CHANGELOG

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Chung <kchung@nyu.edu>
Co-authored-by: Kevin Chung <kchung@ctfd.io>
This commit is contained in:
dependabot[bot]
2021-03-24 15:42:28 -04:00
committed by GitHub
parent 7fa9f2f56e
commit cd9ff1ec32
4 changed files with 17 additions and 5 deletions

10
scripts/pip-compile.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
# Script to pin Python requirements in a Docker container
ROOTDIR=`pwd -P`
docker run \
--rm \
--entrypoint bash \
-v $ROOTDIR:/mnt/CTFd \
-e CUSTOM_COMPILE_COMMAND='./scripts/pip-compile.sh' \
-it python:3.7 \
-c 'cd /mnt/CTFd && pip install pip-tools==5.4.0 && pip-compile'