Skip to content

Commit 4dfbdb8

Browse files
committed
feat(deps): Allow httpx 0.18.x in generated clients
1 parent 19897b8 commit 4dfbdb8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

openapi_python_client/templates/pyproject.toml.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ include = ["CHANGELOG.md", "{{ package_name }}/py.typed"]
1414

1515
[tool.poetry.dependencies]
1616
python = "^3.6"
17-
httpx = ">=0.15.4,<0.18.0"
17+
httpx = ">=0.15.4,<0.19.0"
1818
attrs = "^20.1.0"
1919
python-dateutil = "^2.8.0"
2020

openapi_python_client/templates/setup.py.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ setup(
1414
package_dir={"": "{{ package_name }}"},
1515
packages=find_packages(where="{{ package_name }}"),
1616
python_requires=">=3.6, <4",
17-
install_requires=["httpx >= 0.15.0, < 0.18.0", "attrs >= 20.1.0", "python-dateutil >= 2.8.0, < 3"],
17+
install_requires=["httpx >= 0.15.0, < 0.19.0", "attrs >= 20.1.0", "python-dateutil >= 2.8.0, < 3"],
1818
package_data={"": ["CHANGELOG.md"], "{{ package_name }}": ["py.typed"]},
1919
)

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ importlib_metadata = {version = "^2.0.0", python = "<3.8"}
3131
pydantic = "^1.6.1"
3232
attrs = "^20.1.0"
3333
python-dateutil = "^2.8.1"
34-
httpx = ">=0.15.4,<0.18.2"
34+
httpx = ">=0.15.4,<0.19.0"
3535
autoflake = "^1.4"
3636

3737
[tool.poetry.scripts]

0 commit comments

Comments
 (0)