Skip to content

Commit 46b7523

Browse files
feat: Support httpx 0.28 (#1172)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [httpx](https://redirect.github.com/encode/httpx) ([changelog](https://redirect.github.com/encode/httpx/blob/master/CHANGELOG.md)) | `>=0.20.0,<0.28.0` -> `>=0.20.0,<0.29.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/httpx/0.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/httpx/0.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/httpx/0.27.2/0.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/httpx/0.27.2/0.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [httpx](https://redirect.github.com/encode/httpx) ([changelog](https://redirect.github.com/encode/httpx/blob/master/CHANGELOG.md)) | `>= 0.20.0, < 0.28.0` -> `>=0.20.0, <0.29.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/httpx/0.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/httpx/0.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/httpx/0.27.2/0.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/httpx/0.27.2/0.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>encode/httpx (httpx)</summary> ### [`v0.28.1`](https://redirect.github.com/encode/httpx/blob/HEAD/CHANGELOG.md#0281-6th-December-2024) [Compare Source](https://redirect.github.com/encode/httpx/compare/0.28.0...0.28.1) - Fix SSL case where `verify=False` together with client side certificates. ### [`v0.28.0`](https://redirect.github.com/encode/httpx/blob/HEAD/CHANGELOG.md#0280-28th-November-2024) [Compare Source](https://redirect.github.com/encode/httpx/compare/0.27.2...0.28.0) The 0.28 release includes a limited set of deprecations. **Deprecations**: We are working towards a simplified SSL configuration API. *For users of the standard `verify=True` or `verify=False` cases, or `verify=<ssl_context>` case this should require no changes. The following cases have been deprecated...* - The `verify` argument as a string argument is now deprecated and will raise warnings. - The `cert` argument is now deprecated and will raise warnings. Our revised [SSL documentation](docs/advanced/ssl.md) covers how to implement the same behaviour with a more constrained API. **The following changes are also included**: - The deprecated `proxies` argument has now been removed. - The deprecated `app` argument has now been removed. - JSON request bodies use a compact representation. ([#&#8203;3363](https://redirect.github.com/encode/httpx/issues/3363)) - Review URL percent escape sets, based on WHATWG spec. ([#&#8203;3371](https://redirect.github.com/encode/httpx/issues/3371), [#&#8203;3373](https://redirect.github.com/encode/httpx/issues/3373)) - Ensure `certifi` and `httpcore` are only imported if required. ([#&#8203;3377](https://redirect.github.com/encode/httpx/issues/3377)) - Treat `socks5h` as a valid proxy scheme. ([#&#8203;3178](https://redirect.github.com/encode/httpx/issues/3178)) - Cleanup `Request()` method signature in line with `client.request()` and `httpx.request()`. ([#&#8203;3378](https://redirect.github.com/encode/httpx/issues/3378)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/openapi-generators/openapi-python-client). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzkuNDIuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Dylan Anthony <dbanty@users.noreply.github.com>
1 parent 233ac66 commit 46b7523

File tree

12 files changed

+36
-38
lines changed

12 files changed

+36
-38
lines changed

end_to_end_tests/golden-record/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ include = ["CHANGELOG.md", "my_test_api_client/py.typed"]
1212

1313
[tool.poetry.dependencies]
1414
python = "^3.9"
15-
httpx = ">=0.20.0,<0.28.0"
15+
httpx = ">=0.20.0,<0.29.0"
1616
attrs = ">=21.3.0"
1717
python-dateutil = "^2.8.0"
1818

end_to_end_tests/literal-enums-golden-record/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ include = ["CHANGELOG.md", "my_enum_api_client/py.typed"]
1212

1313
[tool.poetry.dependencies]
1414
python = "^3.9"
15-
httpx = ">=0.20.0,<0.28.0"
15+
httpx = ">=0.20.0,<0.29.0"
1616
attrs = ">=21.3.0"
1717
python-dateutil = "^2.8.0"
1818

end_to_end_tests/metadata_snapshots/pdm.pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = []
66
readme = "README.md"
77
requires-python = ">=3.9,<4.0"
88
dependencies = [
9-
"httpx>=0.20.0,<0.28.0",
9+
"httpx>=0.20.0,<0.29.0",
1010
"attrs>=21.3.0",
1111
"python-dateutil>=2.8.0",
1212
]

end_to_end_tests/metadata_snapshots/poetry.pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ include = ["CHANGELOG.md", "test_3_1_features_client/py.typed"]
1212

1313
[tool.poetry.dependencies]
1414
python = "^3.9"
15-
httpx = ">=0.20.0,<0.28.0"
15+
httpx = ">=0.20.0,<0.29.0"
1616
attrs = ">=21.3.0"
1717
python-dateutil = "^2.8.0"
1818

end_to_end_tests/metadata_snapshots/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
long_description_content_type="text/markdown",
1414
packages=find_packages(),
1515
python_requires=">=3.9, <4",
16-
install_requires=["httpx >= 0.20.0, < 0.28.0", "attrs >= 21.3.0", "python-dateutil >= 2.8.0, < 3"],
16+
install_requires=["httpx >= 0.20.0, < 0.29.0", "attrs >= 21.3.0", "python-dateutil >= 2.8.0, < 3"],
1717
package_data={"test_3_1_features_client": ["py.typed"]},
1818
)

end_to_end_tests/test-3-1-golden-record/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ include = ["CHANGELOG.md", "test_3_1_features_client/py.typed"]
1212

1313
[tool.poetry.dependencies]
1414
python = "^3.9"
15-
httpx = ">=0.20.0,<0.28.0"
15+
httpx = ">=0.20.0,<0.29.0"
1616
attrs = ">=21.3.0"
1717
python-dateutil = "^2.8.0"
1818

integration-tests/pdm.lock

+10-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

integration-tests/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = "A client library for accessing OpenAPI Test Server"
55
authors = []
66
readme = "README.md"
77
dependencies = [
8-
"httpx>=0.20.0,<0.28.0",
8+
"httpx>=0.20.0,<0.29.0",
99
"attrs>=21.3.0",
1010
"python-dateutil>=2.8.0",
1111
]

openapi_python_client/templates/pyproject.toml.jinja

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ include = ["CHANGELOG.md", "{{ package_name }}/py.typed"]
1919
2020
{% if pdm %}
2121
dependencies = [
22-
"httpx>=0.20.0,<0.28.0",
22+
"httpx>=0.20.0,<0.29.0",
2323
"attrs>=21.3.0",
2424
"python-dateutil>=2.8.0",
2525
]
@@ -31,7 +31,7 @@ distribution = true
3131

3232
[tool.poetry.dependencies]
3333
python = "^3.9"
34-
httpx = ">=0.20.0,<0.28.0"
34+
httpx = ">=0.20.0,<0.29.0"
3535
attrs = ">=21.3.0"
3636
python-dateutil = "^2.8.0"
3737
{% endif %}

openapi_python_client/templates/setup.py.jinja

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ setup(
1313
long_description_content_type="text/markdown",
1414
packages=find_packages(),
1515
python_requires=">=3.9, <4",
16-
install_requires=["httpx >= 0.20.0, < 0.28.0", "attrs >= 21.3.0", "python-dateutil >= 2.8.0, < 3"],
16+
install_requires=["httpx >= 0.20.0, < 0.29.0", "attrs >= 21.3.0", "python-dateutil >= 2.8.0, < 3"],
1717
package_data={"{{ package_name }}": ["py.typed"]},
1818
)

pdm.lock

+15-16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies = [
1212
"pydantic>=2.1.1,<3.0.0",
1313
"attrs>=21.3.0",
1414
"python-dateutil>=2.8.1,<3.0.0",
15-
"httpx>=0.20.0,<0.28.0",
15+
"httpx>=0.20.0,<0.29.0",
1616
"ruamel.yaml>=0.18.6,<0.19.0",
1717
"ruff>=0.2,<0.9",
1818
"typing-extensions>=4.8.0,<5.0.0",

0 commit comments

Comments
 (0)