Bump httpx to 0.18.0 and respx to 0.17.0 (#49805)

This commit is contained in:
J. Nick Koston 2021-04-27 23:22:09 -10:00 committed by GitHub
parent 1cb907c2e3
commit dcb5b9f8b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 5 additions and 13 deletions

View File

@ -17,7 +17,7 @@ distro==1.5.0
emoji==1.2.0
hass-nabucasa==0.43.0
home-assistant-frontend==20210427.0
httpx==0.17.1
httpx==0.18.0
jinja2>=2.11.3
netdisco==2.8.2
paho-mqtt==1.5.1
@ -44,10 +44,6 @@ urllib3>=1.24.3
# Constrain H11 to ensure we get a new enough version to support non-rfc line endings
h11>=0.12.0
# Constrain httpcore to fix exception when connection dropped
# https://github.com/encode/httpcore/issues/239
httpcore>=0.12.3
# Constrain httplib2 to protect against GHSA-93xj-8mrv-444m
# https://github.com/advisories/GHSA-93xj-8mrv-444m
httplib2>=0.19.0

View File

@ -9,7 +9,7 @@ awesomeversion==21.2.3
bcrypt==3.1.7
certifi>=2020.12.5
ciso8601==2.1.3
httpx==0.17.1
httpx==0.18.0
jinja2>=2.11.3
PyJWT==1.7.1
cryptography==3.3.2

View File

@ -23,6 +23,6 @@ pytest-xdist==2.1.0
pytest==6.2.3
requests_mock==1.8.0
responses==0.12.0
respx==0.16.2
respx==0.17.0
stdlib-list==0.7.0
tqdm==4.49.0

View File

@ -66,10 +66,6 @@ urllib3>=1.24.3
# Constrain H11 to ensure we get a new enough version to support non-rfc line endings
h11>=0.12.0
# Constrain httpcore to fix exception when connection dropped
# https://github.com/encode/httpcore/issues/239
httpcore>=0.12.3
# Constrain httplib2 to protect against GHSA-93xj-8mrv-444m
# https://github.com/advisories/GHSA-93xj-8mrv-444m
httplib2>=0.19.0

View File

@ -40,7 +40,7 @@ REQUIRES = [
"bcrypt==3.1.7",
"certifi>=2020.12.5",
"ciso8601==2.1.3",
"httpx==0.17.1",
"httpx==0.18.0",
"jinja2>=2.11.3",
"PyJWT==1.7.1",
# PyJWT has loose dependency. We want the latest one.

View File

@ -80,7 +80,7 @@ async def test_form_cannot_connect(hass: HomeAssistant) -> None:
with patch(
"homeassistant.components.enphase_envoy.config_flow.EnvoyReader.getData",
side_effect=httpx.HTTPError("any", request=MagicMock()),
side_effect=httpx.HTTPError("any"),
):
result2 = await hass.config_entries.flow.async_configure(
result["flow_id"],