From a81fa31314a9a57af0c089c9003e8f01474574a0 Mon Sep 17 00:00:00 2001
From: uvjustin <46082645+uvjustin@users.noreply.github.com>
Date: Wed, 2 Mar 2022 03:17:25 +0800
Subject: [PATCH] Bump httpx and httpcore (#67438)

---
 homeassistant/package_constraints.txt | 4 ++--
 requirements.txt                      | 2 +-
 script/gen_requirements_all.py        | 2 +-
 setup.cfg                             | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt
index 98dd11bbe73..c0fd916c9e2 100644
--- a/homeassistant/package_constraints.txt
+++ b/homeassistant/package_constraints.txt
@@ -15,7 +15,7 @@ ciso8601==2.2.0
 cryptography==35.0.0
 hass-nabucasa==0.54.0
 home-assistant-frontend==20220226.0
-httpx==0.21.3
+httpx==0.22.0
 ifaddr==0.1.7
 jinja2==3.0.3
 paho-mqtt==1.6.1
@@ -77,7 +77,7 @@ regex==2021.8.28
 # requirements so we can directly link HA versions to these library versions.
 anyio==3.5.0
 h11==0.12.0
-httpcore==0.14.5
+httpcore==0.14.7
 
 # Ensure we have a hyperframe version that works in Python 3.10
 # 5.2.0 fixed a collections abc deprecation
diff --git a/requirements.txt b/requirements.txt
index 4885e717b30..923075bb5e1 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -10,7 +10,7 @@ awesomeversion==22.2.0
 bcrypt==3.1.7
 certifi>=2021.5.30
 ciso8601==2.2.0
-httpx==0.21.3
+httpx==0.22.0
 ifaddr==0.1.7
 jinja2==3.0.3
 PyJWT==2.1.0
diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py
index de6e2229d1d..c95d470fdeb 100755
--- a/script/gen_requirements_all.py
+++ b/script/gen_requirements_all.py
@@ -97,7 +97,7 @@ regex==2021.8.28
 # requirements so we can directly link HA versions to these library versions.
 anyio==3.5.0
 h11==0.12.0
-httpcore==0.14.5
+httpcore==0.14.7
 
 # Ensure we have a hyperframe version that works in Python 3.10
 # 5.2.0 fixed a collections abc deprecation
diff --git a/setup.cfg b/setup.cfg
index 8787432ba7f..1fbd8265e46 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -42,7 +42,7 @@ install_requires =
     ciso8601==2.2.0
     # When bumping httpx, please check the version pins of
     # httpcore, anyio, and h11 in gen_requirements_all
-    httpx==0.21.3
+    httpx==0.22.0
     ifaddr==0.1.7
     jinja2==3.0.3
     PyJWT==2.1.0
-- 
GitLab