Skip to content

Commit

Permalink
Constrain NumPy and Pillow packages to fix vulnerabilites
Browse files Browse the repository at this point in the history
  • Loading branch information
xofbd committed Aug 12, 2022
1 parent 6eb3c05 commit 352146a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ gunicorn==20.0.4
itsdangerous==1.1.0
Jinja2==2.11.3
MarkupSafe==1.1.1
numpy==1.19.4
numpy==1.23.1
packaging==20.8
Pillow==8.3.2
Pillow==9.2.0
pip-tools==5.5.0
pyparsing==2.4.7
python-dateutil==2.8.1
Expand Down
3 changes: 2 additions & 1 deletion requirements/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Constraints to fix security bugs
jinja2>=2.11.3
pillow>=8.3.2
numpy>=1.22
pillow>=9.0.1
PyYAML>=5.4
5 changes: 3 additions & 2 deletions requirements/prod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,14 @@ markupsafe==1.1.1
# via
# jinja2
# wtforms
numpy==1.19.4
numpy==1.23.1
# via
# -c requirements/constraints.txt
# bokeh
# scipy
packaging==20.8
# via bokeh
pillow==8.3.2
pillow==9.2.0
# via
# -c requirements/constraints.txt
# bokeh
Expand Down

0 comments on commit 352146a

Please sign in to comment.