Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update aiohttp 2.3.10 / yarl 1.1.0 #12244

Merged
merged 5 commits into from
Feb 9, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions homeassistant/components/http/static.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from aiohttp.web import FileResponse, middleware
from aiohttp.web_exceptions import HTTPNotFound
from aiohttp.web_urldispatcher import StaticResource
from yarl import unquote
from yarl import URL

_FINGERPRINT = re.compile(r'^(.+)-[a-z0-9]{32}\.(\w+)$', re.IGNORECASE)

Expand All @@ -16,7 +16,7 @@ class CachingStaticResource(StaticResource):

@asyncio.coroutine
def _handle(self, request):
filename = unquote(request.match_info['filename'])
filename = URL(request.match_info['filename']).path
try:
# PyLint is wrong about resolve not being a member.
# pylint: disable=no-member
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/tts/google.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def async_get_tts_audio(self, message, language, options=None):
url_param = {
'ie': 'UTF-8',
'tl': language,
'q': yarl.quote(part),
'q': yarl.URL(part).raw_path,
'tk': part_token,
'total': len(message_parts),
'idx': idx,
Expand Down
4 changes: 2 additions & 2 deletions homeassistant/package_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ pip>=8.0.3
jinja2>=2.10
voluptuous==0.10.5
typing>=3,<4
aiohttp==2.3.7
yarl==0.18.0
aiohttp==2.3.10
yarl==1.1.0
async_timeout==2.0.0
chardet==3.0.4
astral==1.5
Expand Down
4 changes: 2 additions & 2 deletions requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ pip>=8.0.3
jinja2>=2.10
voluptuous==0.10.5
typing>=3,<4
aiohttp==2.3.7
yarl==0.18.0
aiohttp==2.3.10
yarl==1.1.0
async_timeout==2.0.0
chardet==3.0.4
astral==1.5
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
'jinja2>=2.10',
'voluptuous==0.10.5',
'typing>=3,<4',
'aiohttp==2.3.7', # If updated, check if yarl also needs an update!
'yarl==0.18.0',
'aiohttp==2.3.10', # If updated, check if yarl also needs an update!
'yarl==1.1.0',
'async_timeout==2.0.0',
'chardet==3.0.4',
'astral==1.5',
Expand Down