diff --git a/end_to_end_tests/golden-record/pyproject.toml b/end_to_end_tests/golden-record/pyproject.toml index 78b077036..67b718887 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.20.0" +httpx = ">=0.15.4,<0.21.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 23f6ad916..728d412ba 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.20.0" +httpx = ">=0.15.4,<0.21.0" attrs = ">=20.1.0,<22.0.0" python-dateutil = "^2.8.0" diff --git a/openapi_python_client/templates/setup.py.jinja b/openapi_python_client/templates/setup.py.jinja index 027120ab9..21606f2b6 100644 --- a/openapi_python_client/templates/setup.py.jinja +++ b/openapi_python_client/templates/setup.py.jinja @@ -14,6 +14,6 @@ setup( package_dir={"": "{{ package_name }}"}, packages=find_packages(where="{{ package_name }}"), python_requires=">=3.6, <4", - install_requires=["httpx >= 0.15.0, < 0.19.0", "attrs >= 20.1.0, < 22.0.0", "python-dateutil >= 2.8.0, < 3"], + install_requires=["httpx >= 0.15.0, < 0.21.0", "attrs >= 20.1.0, < 22.0.0", "python-dateutil >= 2.8.0, < 3"], package_data={"": ["CHANGELOG.md"], "{{ package_name }}": ["py.typed"]}, ) diff --git a/poetry.lock b/poetry.lock index 2fa0b5f2f..e39089ceb 100644 --- a/poetry.lock +++ b/poetry.lock @@ -226,7 +226,7 @@ http2 = ["h2 (>=3,<5)"] [[package]] name = "httpx" -version = "0.19.0" +version = "0.20.0" description = "The next generation HTTP client." category = "main" optional = false @@ -242,6 +242,7 @@ sniffio = "*" [package.extras] brotli = ["brotlicffi", "brotli"] +cli = ["click (>=8.0.0,<9.0.0)", "rich (>=10.0.0,<11.0.0)", "pygments (>=2.0.0,<3.0.0)"] http2 = ["h2 (>=3,<5)"] [[package]] @@ -804,7 +805,7 @@ testing = ["pytest (>=4.6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytes [metadata] lock-version = "1.1" python-versions = "^3.6.2" -content-hash = "272554de291abb77860c74ee28fba25487e00a605231873381f959a795bdb447" +content-hash = "97da85288a070f7dce4a749d442fd305d49069a8d83d2265ebd672a2721e98d0" [metadata.files] anyio = [ @@ -932,8 +933,8 @@ httpcore = [ {file = "httpcore-0.13.6.tar.gz", hash = "sha256:b0d16f0012ec88d8cc848f5a55f8a03158405f4bca02ee49bc4ca2c1fda49f3e"}, ] httpx = [ - {file = "httpx-0.19.0-py3-none-any.whl", hash = "sha256:9bd728a6c5ec0a9e243932a9983d57d3cc4a87bb4f554e1360fce407f78f9435"}, - {file = "httpx-0.19.0.tar.gz", hash = "sha256:92ecd2c00c688b529eda11cedb15161eaf02dee9116712f621c70d9a40b2cdd0"}, + {file = "httpx-0.20.0-py3-none-any.whl", hash = "sha256:33af5aad9bdc82ef1fc89219c1e36f5693bf9cd0ebe330884df563445682c0f8"}, + {file = "httpx-0.20.0.tar.gz", hash = "sha256:09606d630f070d07f9ff28104fbcea429ea0014c1e89ac90b4d8de8286c40e7b"}, ] idna = [ {file = "idna-3.2-py3-none-any.whl", hash = "sha256:14475042e284991034cb48e06f6851428fb14c4dc953acd9be9a5e95c7b6dd7a"}, diff --git a/pyproject.toml b/pyproject.toml index b2eb1eaaa..7202a76b5 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.20.0" +httpx = ">=0.15.4,<0.21.0" autoflake = "^1.4" typing-extensions = { version = "*", python = "<3.8" }