diff --git a/poetry.lock b/poetry.lock index d49b3d85..1510fa0e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -258,6 +258,7 @@ files = [ [package.dependencies] certifi = "*" +h2 = {version = ">=3,<5", optional = true, markers = "extra == \"http2\""} httpcore = ">=0.15.0,<0.18.0" idna = "*" sniffio = "*" diff --git a/pyproject.toml b/pyproject.toml index d62557cf..3cb26fb9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,8 +27,7 @@ python = "^3.7" # Mandatory dependencies methoddispatch = "^3.0.2" msgpack = "^1.0.0" -httpx = "^0.24.1" -h2 = "^4.0.0" +httpx = { version = "^0.24.1", extras = ["http2"] } # Optional dependencies pycrypto = { version = "^2.6.1", optional = true }