update pillow dependency to get rid of github vul-

nerability warning
This commit is contained in:
Noah Levitt 2018-07-24 16:37:25 -05:00
parent 771d6aa626
commit b44a444dc2
2 changed files with 4 additions and 3 deletions

View File

@ -350,7 +350,8 @@ class BrozzlerWorker:
raise
def full_and_thumb_jpegs(self, large_png):
img = PIL.Image.open(io.BytesIO(large_png))
# these screenshots never have any alpha (right?)
img = PIL.Image.open(io.BytesIO(large_png)).convert('RGB')
out = io.BytesIO()
img.save(out, "jpeg", quality=95)

View File

@ -32,7 +32,7 @@ def find_package_data(package):
setuptools.setup(
name='brozzler',
version='1.4.dev295',
version='1.4.dev296',
description='Distributed web crawling with browsers',
url='https://github.com/internetarchive/brozzler',
author='Noah Levitt',
@ -68,7 +68,7 @@ setuptools.setup(
'reppy==0.3.4',
'requests',
'websocket-client!=0.39.0',
'pillow==3.3.0',
'pillow>=5.2.0',
'urlcanon>=0.1.dev23',
'doublethink>=0.2.0.dev88',
'rethinkdb>=2.3,<2.4',