From 11d81357953d690d25352767d81293feea5d4e1c Mon Sep 17 00:00:00 2001 From: "Mikhail Andreev (adw0rd)" Date: Fri, 19 Mar 2021 15:59:12 +0300 Subject: [PATCH] Fixed security vulnerabilities of Pillow (https://github.com/adw0rd/instagrapi/security/dependabot/requirements-test.txt/Pillow/open) --- instagrapi/mixins/igtv.py | 2 +- instagrapi/mixins/photo.py | 2 +- instagrapi/story.py | 2 +- requirements-test.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/instagrapi/mixins/igtv.py b/instagrapi/mixins/igtv.py index 67781afa..e605a0ea 100644 --- a/instagrapi/mixins/igtv.py +++ b/instagrapi/mixins/igtv.py @@ -14,7 +14,7 @@ try: from PIL import Image except ImportError: - raise Exception("You don't have PIL installed. Please install PIL or Pillow>=7.2.0") + raise Exception("You don't have PIL installed. Please install PIL or Pillow>=8.1.1") class DownloadIGTVMixin: diff --git a/instagrapi/mixins/photo.py b/instagrapi/mixins/photo.py index 36173260..7dabb1ab 100644 --- a/instagrapi/mixins/photo.py +++ b/instagrapi/mixins/photo.py @@ -21,7 +21,7 @@ try: from PIL import Image except ImportError: - raise Exception("You don't have PIL installed. Please install PIL or Pillow>=7.2.0") + raise Exception("You don't have PIL installed. Please install PIL or Pillow>=8.1.1") class DownloadPhotoMixin: diff --git a/instagrapi/story.py b/instagrapi/story.py index f10292f1..0de8be33 100644 --- a/instagrapi/story.py +++ b/instagrapi/story.py @@ -12,7 +12,7 @@ try: from PIL import Image except ImportError: - raise Exception("You don't have PIL installed. Please install PIL or Pillow>=7.2.0") + raise Exception("You don't have PIL installed. Please install PIL or Pillow>=8.1.1") class StoryBuilder: diff --git a/requirements-test.txt b/requirements-test.txt index d0f1a125..d390f852 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,4 +1,4 @@ flake8==3.9.0 -Pillow==8.1.0 +Pillow==8.1.1 isort==4.3.21 bandit==1.7.0