Bump httpx to 0.18.0 and respx to 0.17.0 (#49805)
This commit is contained in:
parent
1cb907c2e3
commit
dcb5b9f8b5
6 changed files with 5 additions and 13 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
2
setup.py
2
setup.py
|
@ -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.
|
||||
|
|
|
@ -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"],
|
||||
|
|
Loading…
Add table
Reference in a new issue