Update Pillow to 9.1.0 (#70273)

This commit is contained in:
Franck Nijhof 2022-04-19 12:49:43 +02:00 committed by GitHub
parent 3869388f5f
commit 0969e50553
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 12 additions and 12 deletions

View file

@ -2,7 +2,7 @@
"domain": "doods",
"name": "DOODS - Dedicated Open Object Detection Service",
"documentation": "https://www.home-assistant.io/integrations/doods",
"requirements": ["pydoods==1.0.2", "pillow==9.0.1"],
"requirements": ["pydoods==1.0.2", "pillow==9.1.0"],
"codeowners": [],
"iot_class": "local_polling",
"loggers": ["pydoods"]

View file

@ -2,7 +2,7 @@
"domain": "generic",
"name": "Generic Camera",
"config_flow": true,
"requirements": ["ha-av==9.1.1-3", "pillow==9.0.1"],
"requirements": ["ha-av==9.1.1-3", "pillow==9.1.0"],
"documentation": "https://www.home-assistant.io/integrations/generic",
"codeowners": ["@davet2001"],
"iot_class": "local_push"

View file

@ -3,7 +3,7 @@
"name": "Image",
"config_flow": false,
"documentation": "https://www.home-assistant.io/integrations/image",
"requirements": ["pillow==9.0.1"],
"requirements": ["pillow==9.1.0"],
"dependencies": ["http"],
"codeowners": ["@home-assistant/core"],
"quality_scale": "internal"

View file

@ -112,7 +112,7 @@ def _resize_image(image, opts):
scale = new_width / float(old_width)
new_height = int(float(old_height) * float(scale))
img = img.resize((new_width, new_height), Image.ANTIALIAS)
img = img.resize((new_width, new_height), Image.Resampling.LANCZOS)
imgbuf = io.BytesIO()
img.save(imgbuf, "JPEG", optimize=True, quality=quality)
newimage = imgbuf.getvalue()

View file

@ -2,6 +2,6 @@
"domain": "proxy",
"name": "Camera Proxy",
"documentation": "https://www.home-assistant.io/integrations/proxy",
"requirements": ["pillow==9.0.1"],
"requirements": ["pillow==9.1.0"],
"codeowners": []
}

View file

@ -2,7 +2,7 @@
"domain": "qrcode",
"name": "QR Code",
"documentation": "https://www.home-assistant.io/integrations/qrcode",
"requirements": ["pillow==9.0.1", "pyzbar==0.1.7"],
"requirements": ["pillow==9.1.0", "pyzbar==0.1.7"],
"codeowners": [],
"iot_class": "calculated",
"loggers": ["pyzbar"]

View file

@ -2,7 +2,7 @@
"domain": "seven_segments",
"name": "Seven Segments OCR",
"documentation": "https://www.home-assistant.io/integrations/seven_segments",
"requirements": ["pillow==9.0.1"],
"requirements": ["pillow==9.1.0"],
"codeowners": ["@fabaff"],
"iot_class": "local_polling"
}

View file

@ -2,7 +2,7 @@
"domain": "sighthound",
"name": "Sighthound",
"documentation": "https://www.home-assistant.io/integrations/sighthound",
"requirements": ["pillow==9.0.1", "simplehound==0.3"],
"requirements": ["pillow==9.1.0", "simplehound==0.3"],
"codeowners": ["@robmarkcole"],
"iot_class": "cloud_polling",
"loggers": ["simplehound"]

View file

@ -7,7 +7,7 @@
"tf-models-official==2.5.0",
"pycocotools==2.0.1",
"numpy==1.21.4",
"pillow==9.0.1"
"pillow==9.1.0"
],
"codeowners": [],
"iot_class": "local_polling",

View file

@ -21,7 +21,7 @@ ifaddr==0.1.7
jinja2==3.1.1
lru-dict==1.1.7
paho-mqtt==1.6.1
pillow==9.0.1
pillow==9.1.0
pip>=21.0,<22.1
pyserial==3.5
python-slugify==4.0.1

View file

@ -1215,7 +1215,7 @@ pilight==0.1.1
# homeassistant.components.seven_segments
# homeassistant.components.sighthound
# homeassistant.components.tensorflow
pillow==9.0.1
pillow==9.1.0
# homeassistant.components.dominos
pizzapi==0.0.3

View file

@ -814,7 +814,7 @@ pilight==0.1.1
# homeassistant.components.seven_segments
# homeassistant.components.sighthound
# homeassistant.components.tensorflow
pillow==9.0.1
pillow==9.1.0
# homeassistant.components.plex
plexapi==4.10.1