]>
git.ipfire.org Git - thirdparty/httpx.git/log
Kar Petrosyan [Wed, 25 Oct 2023 10:31:19 +0000 (06:31 -0400)]
Merge branch 'master' into async-dependencies-optional
Mahmoud [Wed, 25 Oct 2023 07:29:20 +0000 (10:29 +0300)]
Delete js folder and remove extra_javascript (#2899)
* Delete js folder and remove extra_javascript
* Update mkdocs.yml
---------
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
Tom Christie [Thu, 12 Oct 2023 09:42:02 +0000 (10:42 +0100)]
Update README.md
Co-authored-by: T-256 <132141463+T-256@users.noreply.github.com>
Tom Christie [Tue, 10 Oct 2023 12:43:40 +0000 (13:43 +0100)]
Merge branch 'master' into async-dependencies-optional
robinaly [Tue, 10 Oct 2023 11:03:47 +0000 (13:03 +0200)]
Fix encode host (#2886)
* Fix requiring dot literal rather than any character in IPv4
* Add check to prevent future errors
dependabot[bot] [Mon, 2 Oct 2023 13:35:16 +0000 (14:35 +0100)]
Bump mkdocs-material from 9.2.6 to 9.4.2 (#2872)
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.2.6 to 9.4.2.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.2.6...9.4.2)
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
dependabot[bot] [Mon, 2 Oct 2023 12:39:05 +0000 (13:39 +0100)]
Bump pytest from 7.4.0 to 7.4.2 (#2871)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.0 to 7.4.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.0...7.4.2)
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zanie Blue <contact@zanie.dev>
dependabot[bot] [Mon, 2 Oct 2023 04:34:13 +0000 (23:34 -0500)]
Bump mkdocs from 1.5.2 to 1.5.3 (#2869)
Bumps [mkdocs](https://github.com/mkdocs/mkdocs) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/mkdocs/mkdocs/releases)
- [Commits](https://github.com/mkdocs/mkdocs/compare/1.5.2...1.5.3)
---
updated-dependencies:
- dependency-name: mkdocs
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 2 Oct 2023 04:26:46 +0000 (22:26 -0600)]
Bump ruff from 0.0.286 to 0.0.291 (#2870)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.286 to 0.0.291.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.286...v0.0.291)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 2 Oct 2023 04:15:01 +0000 (22:15 -0600)]
Bump black from 23.7.0 to 23.9.1 (#2873)
Bumps [black](https://github.com/psf/black) from 23.7.0 to 23.9.1.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/23.7.0...23.9.1)
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Kar Petrosyan [Thu, 28 Sep 2023 16:30:49 +0000 (12:30 -0400)]
Hishel as an alternative for "cachecontrol" and "requests-cache". (#2866)
* Add Caching section in compatibility
* typo
dependabot[bot] [Fri, 22 Sep 2023 04:53:13 +0000 (22:53 -0600)]
Bump cryptography from 41.0.3 to 41.0.4 (#2859)
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.3 to 41.0.4.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/41.0.3...41.0.4)
---
updated-dependencies:
- dependency-name: cryptography
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Hugo van Kemenade [Thu, 21 Sep 2023 14:35:56 +0000 (08:35 -0600)]
Add support for Python 3.12 (#2854)
* Add support for Python 3.12
* Bump GitHub Actions
* Remove redundant version checks
* Add CHANGELOG entry
Tom Christie [Wed, 20 Sep 2023 09:10:12 +0000 (10:10 +0100)]
Fix dependency formatting
Tom Christie [Wed, 20 Sep 2023 08:46:39 +0000 (09:46 +0100)]
Make async dependencies optional.
xzmeng [Tue, 19 Sep 2023 07:54:32 +0000 (15:54 +0800)]
Raise ValueError on `Response.encoding` being set after `Response.text` has been accessed (#2852)
* Raise ValueError on change encoding
* Always raise ValueError for simplicity
* update CHANGELOG.md
Y.D.X [Sat, 16 Sep 2023 20:58:56 +0000 (04:58 +0800)]
Drop private imports from test_proxies.py (#2850)
Musale Martin [Fri, 15 Sep 2023 09:52:11 +0000 (12:52 +0300)]
Add cookies to the retried request when performing digest authentication. (#2846)
* Add cookies from the response to the retried request
* Conditionally add cookies from the response
* Fix failing auth module tests
* Fix linting error
* Add tests to check set cookies from server
Trim21 [Mon, 11 Sep 2023 10:13:24 +0000 (18:13 +0800)]
Version 0.25.0 (#2801)
* bump
* Update CHANGELOG.md
* Update CHANGELOG.md
Co-authored-by: Kar Petrosyan <92274156+karosis88@users.noreply.github.com>
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
---------
Co-authored-by: Kar Petrosyan <92274156+karosis88@users.noreply.github.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
Kar Petrosyan [Mon, 11 Sep 2023 09:56:01 +0000 (05:56 -0400)]
HTTPS proxies support (#2845)
* Add ssl_context argument to Proxy class
* Changelog
Kar Petrosyan [Mon, 11 Sep 2023 06:29:22 +0000 (02:29 -0400)]
Change extensions type (#2803)
* Change extensions type
* Update changelog
* install httpcore from the git
* Revert "install httpcore from the git"
This reverts commit
1813c6aff178cce3b63d7458ec9a8337542de9dd .
* bump httpcore version
* fix requirements
---------
Co-authored-by: Tom Christie <tom@tomchristie.com>
Kalle Møller [Thu, 7 Sep 2023 09:24:49 +0000 (11:24 +0200)]
Update _models.py (#2840)
To remove the unknown dict type info
(variable) extensions: ResponseExtensions | dict[Unknown, Unknown]
Co-authored-by: Tom Christie <tom@tomchristie.com>
dependabot[bot] [Thu, 7 Sep 2023 09:19:54 +0000 (10:19 +0100)]
Bump coverage[toml] from 7.2.7 to 7.3.0 (#2839)
Bumps [coverage[toml]](https://github.com/nedbat/coveragepy) from 7.2.7 to 7.3.0.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.2.7...7.3.0)
---
updated-dependencies:
- dependency-name: coverage[toml]
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
dependabot[bot] [Sat, 2 Sep 2023 07:10:53 +0000 (08:10 +0100)]
Bump mkdocs-material from 9.1.17 to 9.2.6 (#2835)
dependabot[bot] [Fri, 1 Sep 2023 19:12:56 +0000 (14:12 -0500)]
Bump chardet from 5.1.0 to 5.2.0 (#2837)
Bumps [chardet](https://github.com/chardet/chardet) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/chardet/chardet/releases)
- [Commits](https://github.com/chardet/chardet/compare/5.1.0...5.2.0)
---
updated-dependencies:
- dependency-name: chardet
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Fri, 1 Sep 2023 18:55:09 +0000 (13:55 -0500)]
Bump mypy from 1.4.1 to 1.5.1 (#2838)
Bumps [mypy](https://github.com/python/mypy) from 1.4.1 to 1.5.1.
- [Commits](https://github.com/python/mypy/compare/v1.4.1...v1.5.1)
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zanie Blue <contact@zanie.dev>
dependabot[bot] [Fri, 1 Sep 2023 18:48:11 +0000 (13:48 -0500)]
Bump ruff from 0.0.275 to 0.0.286 (#2836)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.275 to 0.0.286.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.275...v0.0.286)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
xzmeng [Tue, 29 Aug 2023 09:27:23 +0000 (17:27 +0800)]
fix a typo in docs/logging.md (#2830)
dependabot[bot] [Sun, 20 Aug 2023 06:44:32 +0000 (08:44 +0200)]
Bump mkdocs from 1.4.3 to 1.5.2 (#2818)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 14 Aug 2023 14:01:00 +0000 (09:01 -0500)]
Bump trio from 0.22.0 to 0.22.2 (#2807)
Bumps [trio](https://github.com/python-trio/trio) from 0.22.0 to 0.22.2.
- [Release notes](https://github.com/python-trio/trio/releases)
- [Commits](https://github.com/python-trio/trio/compare/v0.22.0...v0.22.2)
---
updated-dependencies:
- dependency-name: trio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 14 Aug 2023 13:52:17 +0000 (08:52 -0500)]
Bump black from 23.3.0 to 23.7.0 (#2805)
Bumps [black](https://github.com/psf/black) from 23.3.0 to 23.7.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/23.3.0...23.7.0)
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 14 Aug 2023 12:36:38 +0000 (14:36 +0200)]
Bump trustme from 1.0.0 to 1.1.0 (#2804)
Bumps [trustme](https://github.com/python-trio/trustme) from 1.0.0 to 1.1.0.
- [Commits](https://github.com/python-trio/trustme/compare/v1.0.0...v1.1.0)
---
updated-dependencies:
- dependency-name: trustme
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Iurii Pliner [Wed, 9 Aug 2023 09:02:28 +0000 (10:02 +0100)]
Drop support for Python 3.7 (#2813)
* Drop Python 3.7 support
* Fix lint
* Changelog
Trim21 [Mon, 7 Aug 2023 16:47:48 +0000 (00:47 +0800)]
remove unnecessary black argument (#2817)
dependabot[bot] [Wed, 2 Aug 2023 05:48:15 +0000 (06:48 +0100)]
Bump cryptography from 41.0.2 to 41.0.3 (#2809)
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.2 to 41.0.3.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/41.0.2...41.0.3)
---
updated-dependencies:
- dependency-name: cryptography
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Trim21 [Tue, 1 Aug 2023 09:22:58 +0000 (17:22 +0800)]
Make `raise_for_status` chainable (#2776)
* merge upstream
* lint
* Update test_async_client.py
* update docs
* add example
* Update docs/quickstart.md
Co-authored-by: Tom Christie <tom@tomchristie.com>
* Update CHANGELOG.md
Co-authored-by: Tom Christie <tom@tomchristie.com>
* Update docs/quickstart.md
Co-authored-by: Tom Christie <tom@tomchristie.com>
---------
Co-authored-by: Tom Christie <tom@tomchristie.com>
Kar Petrosyan [Mon, 31 Jul 2023 15:40:10 +0000 (11:40 -0400)]
Add Hishel into the Third Party Packages (#2799)
dependabot[bot] [Sat, 15 Jul 2023 03:38:15 +0000 (22:38 -0500)]
Bump cryptography from 41.0.0 to 41.0.2 (#2773)
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.0 to 41.0.2.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/41.0.0...41.0.2)
---
updated-dependencies:
- dependency-name: cryptography
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Zanie [Thu, 13 Jul 2023 20:17:07 +0000 (15:17 -0500)]
Use Mozilla documentation instead of `httpstatuses.com` for HTTP error reference (#2768)
Marcelo Trylesinski [Thu, 13 Jul 2023 18:02:01 +0000 (20:02 +0200)]
Remove temporary click version pin (#2771)
Trim21 [Thu, 13 Jul 2023 12:55:41 +0000 (20:55 +0800)]
docs: upload progress (#2725)
* upload progress
* typo
* typo
* Update docs/advanced.md
* Update advanced.md
* Update docs/advanced.md
Co-authored-by: Kar Petrosyan <92274156+karosis88@users.noreply.github.com>
---------
Co-authored-by: Tom Christie <tom@tomchristie.com>
Co-authored-by: Kar Petrosyan <92274156+karosis88@users.noreply.github.com>
Zanie [Wed, 12 Jul 2023 14:07:06 +0000 (09:07 -0500)]
Pin CI version of `click` to resolve mypy error (#2769)
* Add upper bound to click version to fix mypy error
* Move pin to `requirements.txt`
* Restore `pyproject.toml`
dependabot[bot] [Mon, 3 Jul 2023 09:56:05 +0000 (10:56 +0100)]
Bump coverage[toml] from 7.2.2 to 7.2.7 (#2752)
Bumps [coverage[toml]](https://github.com/nedbat/coveragepy) from 7.2.2 to 7.2.7.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.2.2...7.2.7)
---
updated-dependencies:
- dependency-name: coverage[toml]
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
dependabot[bot] [Mon, 3 Jul 2023 09:18:52 +0000 (10:18 +0100)]
Bump mkdocs-material from 9.1.15 to 9.1.17 (#2755)
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.15 to 9.1.17.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.1.15...9.1.17)
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 3 Jul 2023 09:13:56 +0000 (10:13 +0100)]
Bump ruff from 0.0.260 to 0.0.275 (#2753)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.260 to 0.0.275.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.260...v0.0.275)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 3 Jul 2023 08:56:42 +0000 (09:56 +0100)]
Bump mypy from 1.3.0 to 1.4.1 (#2754)
Bumps [mypy](https://github.com/python/mypy) from 1.3.0 to 1.4.1.
- [Commits](https://github.com/python/mypy/compare/v1.3.0...v1.4.1)
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 3 Jul 2023 08:48:29 +0000 (09:48 +0100)]
Bump pytest from 7.3.1 to 7.4.0 (#2751)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.3.1 to 7.4.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.3.1...7.4.0)
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Johnny Lim [Thu, 22 Jun 2023 08:44:44 +0000 (17:44 +0900)]
Fix sample in quickstart.md (#2747)
Trond Hindenes [Thu, 15 Jun 2023 09:20:28 +0000 (10:20 +0100)]
async recommendations (#2727)
* async recommendations
* better
* Update docs/async.md
Co-authored-by: Tom Christie <tom@tomchristie.com>
* added async recommendation tweak
---------
Co-authored-by: Tom Christie <tom@tomchristie.com>
Zanie Adkins [Fri, 9 Jun 2023 09:06:56 +0000 (04:06 -0500)]
Always encode forward slashes as `%2F` in query parameters (#2723)
* Always encode forward slashes as `%2F` in query parameters
* Revert inclusion of "%"
This is expected to fail tests due to double escaping
* Update `urlencode`
---------
Co-authored-by: Tom Christie <tom@tomchristie.com>
Karen Petrosyan [Thu, 8 Jun 2023 12:32:18 +0000 (16:32 +0400)]
Fix URLPattern examples (#2740)
Co-authored-by: Tom Christie <tom@tomchristie.com>
dependabot[bot] [Tue, 6 Jun 2023 09:24:53 +0000 (10:24 +0100)]
Bump mkdocs-material from 9.1.5 to 9.1.15 (#2729)
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.5 to 9.1.15.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.1.5...9.1.15)
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
dependabot[bot] [Tue, 6 Jun 2023 09:20:00 +0000 (10:20 +0100)]
Bump pytest from 7.2.2 to 7.3.1 (#2731)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.2.2 to 7.3.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.2.2...7.3.1)
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
dependabot[bot] [Tue, 6 Jun 2023 09:14:50 +0000 (10:14 +0100)]
Bump mypy from 1.0.1 to 1.3.0 (#2732)
Bumps [mypy](https://github.com/python/mypy) from 1.0.1 to 1.3.0.
- [Commits](https://github.com/python/mypy/compare/v1.0.1...v1.3.0)
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Fri, 2 Jun 2023 20:33:26 +0000 (14:33 -0600)]
Bump cryptography from 40.0.2 to 41.0.0 (#2735)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Thu, 1 Jun 2023 16:59:45 +0000 (10:59 -0600)]
Bump mkdocs from 1.4.2 to 1.4.3 (#2730)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Karen Petrosyan [Wed, 24 May 2023 08:42:39 +0000 (04:42 -0400)]
Add `socket_options` argument to `httpx.HTTPTransport` class (#2716)
* Add `socket_options` argument to `httpx.HTTPTransport` and `httpx.AsyncHTTPTransport` classes
* Update changelog
* Fix changelog format
* Set httpcore's minimum version to 0.17.2
* Remove SOCKET_OPTIONS import
Nik [Sun, 21 May 2023 00:17:23 +0000 (02:17 +0200)]
Fix exception suppression in asgi transport (#2669)
Peter Lazorchak [Fri, 19 May 2023 17:18:00 +0000 (10:18 -0700)]
Update changelog with WSGITransport SERVER_PROTOCOL fix (#2711)
Peter Lazorchak [Fri, 19 May 2023 10:38:18 +0000 (03:38 -0700)]
Ensure all WSGITransport environs have a SERVER_PROTOCOL (#2708)
epenet [Thu, 18 May 2023 11:03:21 +0000 (13:03 +0200)]
Version 0.24.1 (#2702)
* Version 0.24.1
* Update CHANGELOG.md
* Update CHANGELOG.md
Tom Christie [Tue, 9 May 2023 13:20:12 +0000 (14:20 +0100)]
Fix for gen-delims escaping behaviour in path/query/fragment (#2701)
Bartosz Sokorski [Wed, 3 May 2023 13:13:40 +0000 (15:13 +0200)]
Move configuration of tools to pyproject.toml (#2686)
Co-authored-by: Tom Christie <tom@tomchristie.com>
dependabot[bot] [Mon, 1 May 2023 18:15:35 +0000 (12:15 -0600)]
Bump trio-typing from 0.7.0 to 0.8.0 (#2688)
Bumps [trio-typing](https://github.com/python-trio/trio-typing) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/python-trio/trio-typing/releases)
- [Commits](https://github.com/python-trio/trio-typing/compare/v0.7.0...v0.8.0)
---
updated-dependencies:
- dependency-name: trio-typing
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 1 May 2023 18:00:42 +0000 (12:00 -0600)]
Bump types-chardet from 5.0.4.2 to 5.0.4.5 (#2689)
Bumps [types-chardet](https://github.com/python/typeshed) from 5.0.4.2 to 5.0.4.5.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)
---
updated-dependencies:
- dependency-name: types-chardet
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 1 May 2023 17:43:47 +0000 (11:43 -0600)]
Bump trustme from 0.9.0 to 1.0.0 (#2690)
Bumps [trustme](https://github.com/python-trio/trustme) from 0.9.0 to 1.0.0.
- [Release notes](https://github.com/python-trio/trustme/releases)
- [Commits](https://github.com/python-trio/trustme/compare/v0.9.0...v1.0.0)
---
updated-dependencies:
- dependency-name: trustme
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 1 May 2023 17:40:51 +0000 (11:40 -0600)]
Bump cryptography from 39.0.1 to 40.0.2 (#2692)
Bumps [cryptography](https://github.com/pyca/cryptography) from 39.0.1 to 40.0.2.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/39.0.1...40.0.2)
---
updated-dependencies:
- dependency-name: cryptography
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 1 May 2023 17:17:31 +0000 (11:17 -0600)]
Bump uvicorn from 0.20.0 to 0.22.0 (#2691)
Bumps [uvicorn](https://github.com/encode/uvicorn) from 0.20.0 to 0.22.0.
- [Release notes](https://github.com/encode/uvicorn/releases)
- [Changelog](https://github.com/encode/uvicorn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/encode/uvicorn/compare/0.20.0...0.22.0)
---
updated-dependencies:
- dependency-name: uvicorn
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Florimond Manca [Fri, 28 Apr 2023 06:52:16 +0000 (08:52 +0200)]
Add httpx-sse to Third Party Packages (#2683)
Amin Alaee [Wed, 26 Apr 2023 07:34:33 +0000 (09:34 +0200)]
Fix ruff error and script (#2680)
Leon Kuchenbecker [Thu, 20 Apr 2023 11:52:44 +0000 (13:52 +0200)]
More robust check for upload files in binary mode (#2630)
* Fix check for binary mode
* Change order of type checks
---------
Co-authored-by: Tom Christie <tom@tomchristie.com>
Tom Christie [Thu, 20 Apr 2023 11:17:44 +0000 (12:17 +0100)]
Additional context in InvalidURL exceptions (#2675)
Florimond Manca [Wed, 19 Apr 2023 13:16:29 +0000 (15:16 +0200)]
Drop private imports from test_decoders.py (#2570)
Co-authored-by: Tom Christie <tom@tomchristie.com>
dependabot[bot] [Wed, 19 Apr 2023 12:48:56 +0000 (13:48 +0100)]
Bump mkdocs-material from 9.0.15 to 9.1.5 (#2640)
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.0.15 to 9.1.5.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.0.15...9.1.5)
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
Tom Christie [Wed, 19 Apr 2023 12:21:42 +0000 (13:21 +0100)]
Fix optional percent encoding behaviour. (#2671)
* Tests for failing optional percent encoding
* Linting
* Fix for optional percent escaping
Jiayun Shen [Wed, 19 Apr 2023 12:14:37 +0000 (20:14 +0800)]
fix: NO_PROXY should support IPv4, IPv6 and localhost (#2659)
* fix: NO_PROXY supports IPv4, IPv6 and localhost
* add more tests for test_get_environment_proxies
---------
Co-authored-by: Tom Christie <tom@tomchristie.com>
Tom Christie [Wed, 19 Apr 2023 11:43:58 +0000 (12:43 +0100)]
Update PULL_REQUEST_TEMPLATE.md (#2672)
Marcelo Trylesinski [Wed, 19 Apr 2023 08:29:40 +0000 (10:29 +0200)]
Update PULL_REQUEST_TEMPLATE.md (#2668)
Alex Prengère [Tue, 18 Apr 2023 09:03:01 +0000 (11:03 +0200)]
Fixes #2666: None is the default value of file for httpx.NetRCAuth (#2667)
Piotr Staroszczyk [Wed, 12 Apr 2023 14:53:11 +0000 (16:53 +0200)]
set logging request lines to INFO level for async method also (#2656)
Tom Christie [Tue, 11 Apr 2023 10:00:02 +0000 (11:00 +0100)]
Version 0.24.0 (#2652)
* Version 0.24.0
* Typo
* Update CHANGELOG.md
Marcelo Trylesinski [Wed, 5 Apr 2023 10:37:10 +0000 (12:37 +0200)]
Use ruff instead of flake8, autoflake and isort (#2648)
* Use ruff instead of flake8, autoflake and isort
* Update pyproject.toml
dependabot[bot] [Wed, 5 Apr 2023 10:17:42 +0000 (11:17 +0100)]
Bump coverage from 7.2.1 to 7.2.2 (#2641)
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.2.1 to 7.2.2.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.2.1...7.2.2)
---
updated-dependencies:
- dependency-name: coverage
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Wed, 5 Apr 2023 10:05:31 +0000 (11:05 +0100)]
Update httpcore requirement from <0.17.0,>=0.15.0 to >=0.15.0,<0.18.0 (#2642)
Updates the requirements on [httpcore](https://github.com/encode/httpcore) to permit the latest version.
- [Release notes](https://github.com/encode/httpcore/releases)
- [Changelog](https://github.com/encode/httpcore/blob/master/CHANGELOG.md)
- [Commits](https://github.com/encode/httpcore/compare/0.15.0...0.17.0)
---
updated-dependencies:
- dependency-name: httpcore
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Sun, 2 Apr 2023 09:00:39 +0000 (11:00 +0200)]
Bump pytest from 7.2.1 to 7.2.2 (#2643)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Sun, 2 Apr 2023 08:50:53 +0000 (10:50 +0200)]
Bump black from 22.10.0 to 23.3.0 (#2644)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Tom Christie [Mon, 20 Mar 2023 11:30:11 +0000 (11:30 +0000)]
Use standard logging style (#2547)
* Use standard logging style
* Add docs for logging
* Drop out-of-date HTTPX_LOG_LEVEL variable docs
Gianni Tedesco [Thu, 16 Mar 2023 14:29:15 +0000 (23:29 +0900)]
Change LineDecoder to match stdlib splitlines, resulting in significant speed up (#2423)
* Replace quadratic algo in LineDecoder
Leading to enormous speedups when doing things such as
Response(...).iter_lines() as described on issue #2422
* Update httpx/_decoders.py
* Update _decoders.py
Handle text ending in `\r` more gracefully.
Return as much content as possible.
* Update test_decoders.py
* Update _decoders.py
* Update _decoders.py
* Update _decoders.py
* Update httpx/_decoders.py
Co-authored-by: cdeler <serj.krotov@gmail.com>
* Update _decoders.py
---------
Co-authored-by: Tom Christie <tom@tomchristie.com>
Co-authored-by: cdeler <serj.krotov@gmail.com>
Tom Christie [Wed, 15 Mar 2023 10:11:01 +0000 (10:11 +0000)]
Update _client.py
Tom Christie [Wed, 15 Mar 2023 10:07:09 +0000 (10:07 +0000)]
Update _client.py
bpoirriez [Mon, 13 Mar 2023 12:06:21 +0000 (13:06 +0100)]
Add sslcontext to the asynclient docstring (#2609)
Co-authored-by: Tom Christie <tom@tomchristie.com>
dependabot[bot] [Mon, 6 Mar 2023 11:32:02 +0000 (11:32 +0000)]
Bump mkdocs-material from 8.5.11 to 9.0.15 (#2610)
* Bump mkdocs-material from 8.5.11 to 9.0.15
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 8.5.11 to 9.0.15.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Upgrade guide](https://github.com/squidfunk/mkdocs-material/blob/master/docs/upgrade.md)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/8.5.11...9.0.15)
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump `mkdocs` to minimum version required by `mkdocs-material-9.0.15`
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Adkins <michael@prefect.io>
Co-authored-by: Tom Christie <tom@tomchristie.com>
dependabot[bot] [Mon, 6 Mar 2023 11:29:01 +0000 (11:29 +0000)]
Bump types-chardet from 5.0.3 to 5.0.4.2 (#2613)
Bumps [types-chardet](https://github.com/python/typeshed) from 5.0.3 to 5.0.4.2.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)
---
updated-dependencies:
- dependency-name: types-chardet
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Wed, 1 Mar 2023 17:53:54 +0000 (11:53 -0600)]
Bump mypy from 0.982 to 1.0.1 (#2611)
* Bump mypy from 0.982 to 1.0.1
Bumps [mypy](https://github.com/python/mypy) from 0.982 to 1.0.1.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.982...v1.0.1)
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Remove unused ignores for mypy-1.0.1
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Adkins <michael@prefect.io>
dependabot[bot] [Wed, 1 Mar 2023 17:26:09 +0000 (18:26 +0100)]
Bump pytest from 7.2.0 to 7.2.1 (#2612)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Wed, 1 Mar 2023 17:13:03 +0000 (18:13 +0100)]
Bump coverage from 6.5.0 to 7.2.1 (#2614)
Bumps [coverage](https://github.com/nedbat/coveragepy) from 6.5.0 to 7.2.1.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/6.5.0...7.2.1)
---
updated-dependencies:
- dependency-name: coverage
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Florimond Manca [Wed, 15 Feb 2023 14:43:19 +0000 (15:43 +0100)]
Drop private imports from test_urlparse.py (#2572)
* Drop private imports from test_urlparse.py
* Coverage
* Drop ._uri_reference
Adrian Garcia Badaracco [Thu, 9 Feb 2023 16:05:07 +0000 (08:05 -0800)]
fix type annotation for MockTransport (#2581)
* fix type annotation for MockTransport
* add type ignore
* better type checks
* better type checks
* add pragma
---------
Co-authored-by: Tom Christie <tom@tomchristie.com>
Florimond Manca [Thu, 9 Feb 2023 16:00:27 +0000 (17:00 +0100)]
Drop private imports from test_exported_members.py (#2573)
Co-authored-by: Tom Christie <tom@tomchristie.com>
Florimond Manca [Thu, 9 Feb 2023 15:54:53 +0000 (16:54 +0100)]
Drop private imports in tests/conftest.py (#2569)
Co-authored-by: Tom Christie <tom@tomchristie.com>