Skip to content

Commit f5d12c2

Browse files
feat: Support httpx 0.26 (#913)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [httpx](https://togithub.com/encode/httpx) ([changelog](https://togithub.com/encode/httpx/blob/master/CHANGELOG.md)) | `>=0.20.0,<0.26.0` -> `>=0.20.0,<0.27.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/httpx/0.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/httpx/0.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/httpx/0.25.2/0.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/httpx/0.25.2/0.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>encode/httpx (httpx)</summary> ### [`v0.26.0`](https://togithub.com/encode/httpx/blob/HEAD/CHANGELOG.md#0260-20th-December-2023) [Compare Source](https://togithub.com/encode/httpx/compare/0.25.2...0.26.0) ##### Added - The `proxy` argument was added. You should use the `proxy` argument instead of the deprecated `proxies`, or use `mounts=` for more complex configurations. ([#&#8203;2879](https://togithub.com/encode/httpx/issues/2879)) ##### Deprecated - The `proxies` argument is now deprecated. It will still continue to work, but it will be removed in the future. ([#&#8203;2879](https://togithub.com/encode/httpx/issues/2879)) ##### Fixed - Fix cases of double escaping of URL path components. Allow / as a safe character in the query portion. ([#&#8203;2990](https://togithub.com/encode/httpx/issues/2990)) - Handle `NO_PROXY` envvar cases when a fully qualified URL is supplied as the value. ([#&#8203;2741](https://togithub.com/encode/httpx/issues/2741)) - Allow URLs where username or password contains unescaped '@&#8203;'. ([#&#8203;2986](https://togithub.com/encode/httpx/issues/2986)) - Ensure ASGI `raw_path` does not include URL query component. ([#&#8203;2999](https://togithub.com/encode/httpx/issues/2999)) - Ensure `Response.iter_text()` cannot yield empty strings. ([#&#8203;2998](https://togithub.com/encode/httpx/issues/2998)) </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 becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/openapi-generators/openapi-python-client). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Dylan Anthony <[email protected]>
1 parent 6f81761 commit f5d12c2

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

Diff for: end_to_end_tests/golden-record/pyproject.toml

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

1414
[tool.poetry.dependencies]
1515
python = "^3.8"
16-
httpx = ">=0.20.0,<0.26.0"
16+
httpx = ">=0.20.0,<0.27.0"
1717
attrs = ">=21.3.0"
1818
python-dateutil = "^2.8.0"
1919

Diff for: integration-tests/poetry.lock

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

Diff for: integration-tests/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ include = ["CHANGELOG.md", "open_api_test_server_client/py.typed"]
1111

1212
[tool.poetry.dependencies]
1313
python = "^3.8"
14-
httpx = ">=0.15.4,<0.26.0"
14+
httpx = ">=0.15.4,<0.27.0"
1515
attrs = ">=21.3.0"
1616
python-dateutil = "^2.8.0"
1717

Diff for: openapi_python_client/templates/pyproject.toml.jinja

+1-1
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.8"
17-
httpx = ">=0.20.0,<0.26.0"
17+
httpx = ">=0.20.0,<0.27.0"
1818
attrs = ">=21.3.0"
1919
python-dateutil = "^2.8.0"
2020

Diff for: 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.8, <4",
16-
install_requires=["httpx >= 0.20.0, < 0.26.0", "attrs >= 21.3.0", "python-dateutil >= 2.8.0, < 3"],
16+
install_requires=["httpx >= 0.20.0, < 0.27.0", "attrs >= 21.3.0", "python-dateutil >= 2.8.0, < 3"],
1717
package_data={"{{ package_name }}": ["py.typed"]},
1818
)

Diff for: poetry.lock

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

Diff for: pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ shellingham = "^1.3.2"
2727
pydantic = "^2.1.1"
2828
attrs = ">=21.3.0"
2929
python-dateutil = "^2.8.1"
30-
httpx = ">=0.20.0,<0.26.0"
30+
httpx = ">=0.20.0,<0.27.0"
3131
PyYAML = "^6.0"
3232
ruff = "^0.1.2"
3333
typing-extensions = "^4.8.0"

0 commit comments

Comments
 (0)