diff --git a/end_to_end_tests/golden-record/pyproject.toml b/end_to_end_tests/golden-record/pyproject.toml index 21177dd14..78b077036 100644 --- a/end_to_end_tests/golden-record/pyproject.toml +++ b/end_to_end_tests/golden-record/pyproject.toml @@ -14,7 +14,7 @@ include = ["CHANGELOG.md", "my_test_api_client/py.typed"] [tool.poetry.dependencies] python = "^3.6" -httpx = ">=0.15.4,<0.19.0" +httpx = ">=0.15.4,<0.20.0" attrs = ">=20.1.0,<22.0.0" python-dateutil = "^2.8.0" diff --git a/openapi_python_client/templates/pyproject.toml b/openapi_python_client/templates/pyproject.toml index 695092f48..23f6ad916 100644 --- a/openapi_python_client/templates/pyproject.toml +++ b/openapi_python_client/templates/pyproject.toml @@ -14,7 +14,7 @@ include = ["CHANGELOG.md", "{{ package_name }}/py.typed"] [tool.poetry.dependencies] python = "^3.6" -httpx = ">=0.15.4,<0.19.0" +httpx = ">=0.15.4,<0.20.0" attrs = ">=20.1.0,<22.0.0" python-dateutil = "^2.8.0" diff --git a/poetry.lock b/poetry.lock index 634d173a7..c4d975153 100644 --- a/poetry.lock +++ b/poetry.lock @@ -117,7 +117,7 @@ python-versions = "*" name = "charset-normalizer" version = "2.0.4" description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." -category = "dev" +category = "main" optional = false python-versions = ">=3.5.0" @@ -226,7 +226,7 @@ http2 = ["h2 (>=3,<5)"] [[package]] name = "httpx" -version = "0.18.2" +version = "0.19.0" description = "The next generation HTTP client." category = "main" optional = false @@ -235,13 +235,14 @@ python-versions = ">=3.6" [package.dependencies] async-generator = {version = "*", markers = "python_version < \"3.7\""} certifi = "*" +charset-normalizer = "*" httpcore = ">=0.13.3,<0.14.0" rfc3986 = {version = ">=1.3,<2", extras = ["idna2008"]} sniffio = "*" [package.extras] -brotli = ["brotlicffi (>=1.0.0,<2.0.0)"] -http2 = ["h2 (>=3.0.0,<4.0.0)"] +brotli = ["brotlicffi", "brotli"] +http2 = ["h2 (>=3,<5)"] [[package]] name = "idna" @@ -803,7 +804,7 @@ testing = ["pytest (>=4.6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytes [metadata] lock-version = "1.1" python-versions = "^3.6.2" -content-hash = "5751e906ef4710a587539d0ec2a6bb4c4e6753bf6b97059f27ebb88bb6fa78a9" +content-hash = "dbd6277c188dd3f24b3799a90585a77c3aab162dfdb7c21571f3f0ea702d78f8" [metadata.files] anyio = [ @@ -931,8 +932,8 @@ httpcore = [ {file = "httpcore-0.13.6.tar.gz", hash = "sha256:b0d16f0012ec88d8cc848f5a55f8a03158405f4bca02ee49bc4ca2c1fda49f3e"}, ] httpx = [ - {file = "httpx-0.18.2-py3-none-any.whl", hash = "sha256:979afafecb7d22a1d10340bafb403cf2cb75aff214426ff206521fc79d26408c"}, - {file = "httpx-0.18.2.tar.gz", hash = "sha256:9f99c15d33642d38bce8405df088c1c4cfd940284b4290cacbfb02e64f4877c6"}, + {file = "httpx-0.19.0-py3-none-any.whl", hash = "sha256:9bd728a6c5ec0a9e243932a9983d57d3cc4a87bb4f554e1360fce407f78f9435"}, + {file = "httpx-0.19.0.tar.gz", hash = "sha256:92ecd2c00c688b529eda11cedb15161eaf02dee9116712f621c70d9a40b2cdd0"}, ] idna = [ {file = "idna-3.2-py3-none-any.whl", hash = "sha256:14475042e284991034cb48e06f6851428fb14c4dc953acd9be9a5e95c7b6dd7a"}, diff --git a/pyproject.toml b/pyproject.toml index 1f0cc95ee..f3fd2d7fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ importlib_metadata = {version = ">2,<5", python = "<3.8"} pydantic = "^1.6.1" attrs = "^21.0.0" python-dateutil = "^2.8.1" -httpx = ">=0.15.4,<0.19.0" +httpx = ">=0.15.4,<0.20.0" autoflake = "^1.4" typing-extensions = { version = "*", python = "<3.8" }