]>
git.ipfire.org Git - thirdparty/httpx.git/log
Florimond Manca [Thu, 9 Feb 2023 00:35:52 +0000 (01:35 +0100)]
Drop private imports from test_exceptions.py (#2571)
dependabot[bot] [Wed, 8 Feb 2023 12:20:04 +0000 (13:20 +0100)]
Bump cryptography from 38.0.4 to 39.0.1 (#2579)
Bumps [cryptography](https://github.com/pyca/cryptography) from 38.0.4 to 39.0.1.
- [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/38.0.4...39.0.1)
---
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>
Paul Schreiber [Mon, 6 Feb 2023 17:42:35 +0000 (12:42 -0500)]
Remove rfc3986 from Chinese readme (#2576)
fix https://github.com/encode/httpx/pull/2252
dependabot[bot] [Sat, 4 Feb 2023 22:18:36 +0000 (23:18 +0100)]
Bump trio from 0.21.0 to 0.22.0 (#2562)
* Bump trio from 0.21.0 to 0.22.0
Bumps [trio](https://github.com/python-trio/trio) from 0.21.0 to 0.22.0.
- [Release notes](https://github.com/python-trio/trio/releases)
- [Commits](https://github.com/python-trio/trio/compare/v0.21.0...v0.22.0)
---
updated-dependencies:
- dependency-name: trio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Ignore MultiError deprecation warning, it will disappear with anyio 4
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: florimondmanca <florimond.manca@protonmail.com>
dependabot[bot] [Sat, 4 Feb 2023 22:06:00 +0000 (23:06 +0100)]
Bump isort from 5.11.4 to 5.12.0 (#2563)
* Bump isort from 5.11.4 to 5.12.0
Bumps [isort](https://github.com/pycqa/isort) from 5.11.4 to 5.12.0.
- [Release notes](https://github.com/pycqa/isort/releases)
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pycqa/isort/compare/5.11.4...5.12.0)
---
updated-dependencies:
- dependency-name: isort
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update requirements.txt
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Florimond Manca <florimond.manca@protonmail.com>
dependabot[bot] [Wed, 1 Feb 2023 17:27:53 +0000 (18:27 +0100)]
Bump twine from 4.0.1 to 4.0.2 (#2565)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Wed, 1 Feb 2023 16:27:46 +0000 (17:27 +0100)]
Bump build from 0.8.0 to 0.10.0 (#2564)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Wed, 1 Feb 2023 16:18:21 +0000 (17:18 +0100)]
Bump flake8-bugbear from 22.7.1 to 23.1.20 (#2561)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Tom Christie [Thu, 12 Jan 2023 11:27:46 +0000 (11:27 +0000)]
Add `NetRCAuth()` class. (#2535)
* NetRCAuth class
* Add docs for httpx.NetRCAuth()
* Drop failing cross-domain test for NetRCAuth()
* Update tests
* Update httpx/_auth.py
* Add tests for netrc file with no password
Tom Christie [Tue, 10 Jan 2023 11:23:14 +0000 (11:23 +0000)]
Drop private import of 'encode_request' in test_multipart (#2525)
Tom Christie [Tue, 10 Jan 2023 11:16:09 +0000 (11:16 +0000)]
Use '%20' for encoding spaces in query parameters. (#2543)
* Add failing test
* Fix failing test case
* Add urlencode
* Update comment
Tom Christie [Tue, 10 Jan 2023 10:36:15 +0000 (10:36 +0000)]
Drop `rfc3986` requirement. (#2252)
* Drop RawURL
* First pass at adding urlparse
* Update urlparse
* Add urlparse
* Add urlparse
* Unicode non-printables can be valid in IDNA hostnames
* Update _urlparse.py docstring
* Linting
* Trim away ununsed codepaths
* Tweaks for path validation depending on scheme and authority presence
* Minor cleanups
* Minor cleanups
* full_path -> raw_path, forr internal consistency
* Linting fixes
* Drop rfc3986 dependency
* Add test for #1833
* Linting
* Drop 'rfc3986' dependancy from README and docs homepage
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
Michał Górny [Thu, 5 Jan 2023 12:38:37 +0000 (13:38 +0100)]
Bump rich pin to allow version 13 (#2546)
See https://github.com/encode/httpx/discussions/2544
Tom Christie [Wed, 4 Jan 2023 09:39:43 +0000 (09:39 +0000)]
Version 0.23.3 (#2540)
Michael Adkins [Wed, 4 Jan 2023 09:23:32 +0000 (03:23 -0600)]
Revert "Raise `TypeError` on invalid query params. (#2523)" (#2539)
This reverts commit
4cbf13ece2e584b45b935df0a0c670e1863c4569 .
Thomas Grainger [Mon, 2 Jan 2023 12:53:30 +0000 (12:53 +0000)]
replace pytest-asyncio and pytest-trio with anyio (#2512)
* replace pytest-asyncio with anyio
* remove pytest-trio also
* Update setup.cfg
* use anyio.Lock in test_auth
Co-authored-by: Tom Christie <tom@tomchristie.com>
Hynek Schlawack [Mon, 2 Jan 2023 12:41:45 +0000 (13:41 +0100)]
PyPI readme: fix screenshot links & trim changelog (#2522)
Co-authored-by: Tom Christie <tom@tomchristie.com>
dependabot[bot] [Mon, 2 Jan 2023 12:36:58 +0000 (12:36 +0000)]
Bump chardet from 5.0.0 to 5.1.0 (#2530)
Bumps [chardet](https://github.com/chardet/chardet) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/chardet/chardet/releases)
- [Commits](https://github.com/chardet/chardet/compare/5.0.0...5.1.0)
---
updated-dependencies:
- dependency-name: chardet
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
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 Jan 2023 12:33:30 +0000 (12:33 +0000)]
Bump mkdocs-material from 8.5.5 to 8.5.11 (#2529)
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 8.5.5 to 8.5.11.
- [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/8.5.5...8.5.11)
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
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 Jan 2023 12:29:40 +0000 (12:29 +0000)]
Bump isort from 5.10.1 to 5.11.4 (#2528)
Bumps [isort](https://github.com/pycqa/isort) from 5.10.1 to 5.11.4.
- [Release notes](https://github.com/pycqa/isort/releases)
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pycqa/isort/compare/5.10.1...5.11.4)
---
updated-dependencies:
- dependency-name: isort
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
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 [Mon, 2 Jan 2023 11:46:22 +0000 (11:46 +0000)]
Version 0.23.2 (#2510)
* Version 0.23.2
* Update CHANGELOG.md
Tom Christie [Fri, 30 Dec 2022 20:56:48 +0000 (20:56 +0000)]
Raise `TypeError` on invalid query params. (#2523)
* Raise TypeError on invalid query params
* Fix TypeError
* Update tests/models/test_queryparams.py
Co-authored-by: Michael Adkins <contact@zanie.dev>
* Linting
* Fix exception check
Co-authored-by: Michael Adkins <contact@zanie.dev>
Marcelo Trylesinski [Thu, 29 Dec 2022 11:47:24 +0000 (12:47 +0100)]
Delete setup.py (#2516)
Tom Christie [Tue, 20 Dec 2022 13:46:16 +0000 (13:46 +0000)]
Update pytest-asyncio (#2511)
Tom Christie [Mon, 12 Dec 2022 16:31:29 +0000 (16:31 +0000)]
Drop private import of 'format_form_param' from tests (#2500)
* Drop private import of 'format_form_param' from tests
* Drop unused code path
Tom Christie [Mon, 12 Dec 2022 16:14:56 +0000 (16:14 +0000)]
Streaming multipart support (#2382)
* Streaming multipart support
* Update tests for streaming multipary
Tom Christie [Mon, 12 Dec 2022 10:43:46 +0000 (10:43 +0000)]
Drop unneccessary private import in tests (#2498)
Tom Christie [Sun, 11 Dec 2022 19:12:08 +0000 (19:12 +0000)]
Raise TypeError if content is passed a 'dict' instance. (#2495)
Tom Christie [Tue, 6 Dec 2022 18:22:04 +0000 (18:22 +0000)]
Remove some private imports from test_decoders (#2496)
Tom Christie [Tue, 6 Dec 2022 13:27:05 +0000 (13:27 +0000)]
Use httpx public API for 'test_content' tests (#2494)
Tom Christie [Tue, 6 Dec 2022 11:58:30 +0000 (11:58 +0000)]
Use consistent import style (#2493)
Demetri [Fri, 2 Dec 2022 16:20:05 +0000 (08:20 -0800)]
Add back in URL.raw with NamedTuple (#2481)
* add back in URL.raw with NamedTuple
* Update _urls.py
* Update _urls.py
Co-authored-by: Tom Christie <tom@tomchristie.com>
Martijn Pieters [Fri, 2 Dec 2022 10:47:42 +0000 (10:47 +0000)]
Typing: enable disallow_untyped_calls (#2479)
* Typing: enable disallow_untyped_calls
Only the test suite needed adjusting to add type hints.
* Update setup.cfg
Co-authored-by: Tom Christie <tom@tomchristie.com>
Martijn Pieters [Fri, 2 Dec 2022 08:45:28 +0000 (08:45 +0000)]
Typing: enable strict_equality (#2480)
- ignore mypy when it comes to comparing an IntEnum member with an int
- Correct type hint for `test_wsgi_server_port`'s `expected_server_port`
parameter.
Co-authored-by: Tom Christie <tom@tomchristie.com>
dependabot[bot] [Thu, 1 Dec 2022 17:13:10 +0000 (17:13 +0000)]
Bump cryptography from 38.0.3 to 38.0.4 (#2485)
dependabot[bot] [Thu, 1 Dec 2022 17:04:23 +0000 (18:04 +0100)]
Bump uvicorn from 0.19.0 to 0.20.0 (#2484)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Thu, 1 Dec 2022 16:45:12 +0000 (17:45 +0100)]
Bump pytest from 7.1.2 to 7.2.0 (#2483)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Martijn Pieters [Wed, 30 Nov 2022 13:11:22 +0000 (13:11 +0000)]
Enable no_implicit_reexport (#2475)
- Add explicit exports for names imported from `_compat`
- Correct imports of `URL` (from `._urls`, not via `._models`)
- Correct import of the uvicorn `Server` class
Co-authored-by: Tom Christie <tom@tomchristie.com>
Martijn Pieters [Wed, 30 Nov 2022 13:08:02 +0000 (13:08 +0000)]
Typing: enable warn_return_any (#2477)
Michael Oliver [Wed, 30 Nov 2022 09:48:51 +0000 (09:48 +0000)]
Use wsgi types from typeshed (#2478)
Martijn Pieters [Wed, 30 Nov 2022 09:04:54 +0000 (09:04 +0000)]
Typing: enable disallow_incomplete_defs (#2476)
The only places mypy reports issues is in the test suite.
Adrian Garcia Badaracco [Tue, 29 Nov 2022 17:55:21 +0000 (11:55 -0600)]
Typing: use wsgiref.types to validate types and fix issues uncovered (#2467)
* Typing: use wsgiref.types to validate types and fix issues uncovered
- start_response() must return a write(bytes) function, even though this
is now deprecated. It's fine to be a no-op here.
- sys.exc_info() can return (None, None, None), so make sure to handle that case.
* remove typing_extensions
Co-authored-by: Martijn Pieters <mj@zopatista.com>
rettier [Tue, 29 Nov 2022 17:05:37 +0000 (18:05 +0100)]
reuse the digest auth state to avoid unnecessary requests (#2463)
* reuse the digest auth challenge to avoid sending twice as many requests
* fix for digest testcase
* ran testing/linting scripts
* codereview changes, removed tomchristie username from all authentication tests
Co-authored-by: Philipp Reitter <p.reitter@accessio.at>
Co-authored-by: Tom Christie <tom@tomchristie.com>
Adrian Garcia Badaracco [Tue, 29 Nov 2022 16:55:45 +0000 (10:55 -0600)]
Remove and dissallow unused type ignores (#2470)
* Remove and dissallow unused type ignores
* add pragmas
* fix ignore
Adrian Garcia Badaracco [Tue, 29 Nov 2022 16:46:00 +0000 (10:46 -0600)]
Add mypy flags (#2472)
Adrian Garcia Badaracco [Tue, 29 Nov 2022 16:36:03 +0000 (10:36 -0600)]
Typing: always fill in generic type parameters (#2468)
* Typing: always fill in generic type parameters
Being explicit about the parameters helps find bugs and makes the library
easier to use for users.
- Tell mypy to disallow generics without parameter values
- Give all generic types parameters values
* fix things that aren't coming in from other commits
* lint
Co-authored-by: Martijn Pieters <mj@zopatista.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
Adrian Garcia Badaracco [Tue, 29 Nov 2022 16:23:18 +0000 (10:23 -0600)]
use # pragma: no cover instead of # pragma: nocover (#2471)
Co-authored-by: Tom Christie <tom@tomchristie.com>
Simon K [Tue, 29 Nov 2022 15:55:38 +0000 (15:55 +0000)]
remove `chunk_size` from api docs for `iter_lines` variants (#2464)
Co-authored-by: Tom Christie <tom@tomchristie.com>
Adrian Garcia Badaracco [Tue, 29 Nov 2022 08:45:10 +0000 (02:45 -0600)]
Remove typeshed iscoroutine workaround (#2466)
This was resolved in typeshed and newer mypy versions have inherited the fix.
Co-authored-by: Martijn Pieters <mj@zopatista.com>
Tom Christie [Mon, 28 Nov 2022 12:29:02 +0000 (12:29 +0000)]
Switch `extensions` from `Dict` to `Mapping`. (#2465)
* Ignore Mapping -> Dict type error
* Fix type of ResponseExtension
* Switch extensions from Dict to Mapping
Ben Falk [Fri, 25 Nov 2022 12:05:46 +0000 (07:05 -0500)]
update requests compatibility docs on query and form params (#2461)
Tom Christie [Mon, 21 Nov 2022 13:38:53 +0000 (13:38 +0000)]
Update CHANGELOG.md (#2458)
Tom Christie [Mon, 21 Nov 2022 10:29:31 +0000 (10:29 +0000)]
Drop multipart requirement from tests (#2456)
dependabot[bot] [Fri, 18 Nov 2022 12:55:22 +0000 (12:55 +0000)]
Bump cryptography from 38.0.1 to 38.0.3 (#2447)
Bumps [cryptography](https://github.com/pyca/cryptography) from 38.0.1 to 38.0.3.
- [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/38.0.1...38.0.3)
---
updated-dependencies:
- dependency-name: cryptography
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Tom Christie [Fri, 18 Nov 2022 12:48:32 +0000 (12:48 +0000)]
Version 0.23.1 (#2442)
* Version 0.23.1
* Update dependencies
* Update CHANGELOG
* Update CHANGELOG.md
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
* Update CHANGELOG.md
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
František Nesveda [Mon, 7 Nov 2022 14:25:49 +0000 (15:25 +0100)]
Mention default timeout differences from Requests in compatibility docs (#2433)
I was recently migrating a project from Requests to HTTPX, and I stumbled a bit on the default socket timeouts being different between the two, which I haven't seen explicitly mentioned anywhere.
This adds a mention of those differences to the compatibility section, feel free to edit it or move it around as you choose.
Tom Christie [Mon, 7 Nov 2022 14:01:29 +0000 (14:01 +0000)]
Drop .read/.aread from SyncByteStream/AsyncByteStream (#2407)
Michael K [Mon, 7 Nov 2022 13:57:48 +0000 (13:57 +0000)]
Run tests against Python 3.11 stable (#2420)
Co-authored-by: Tom Christie <tom@tomchristie.com>
Vincent Fazio [Thu, 3 Nov 2022 11:29:23 +0000 (06:29 -0500)]
Drop cgi module from test_multipart (#2424)
* Use multipart instead of cgi for multipart tests
The cgi module has been deprecated as of python 3.11.
Signed-off-by: Vincent Fazio <vfazio@gmail.com>
* Update setup.cfg
All references to the cgi module have all been removed so there's no
longer a need to silence those deprecation warnings.
The deprecation warning for certifi is resolved as of version 2022.09.24.
Signed-off-by: Vincent Fazio <vfazio@gmail.com>
Signed-off-by: Vincent Fazio <vfazio@gmail.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
dependabot[bot] [Wed, 2 Nov 2022 11:19:02 +0000 (11:19 +0000)]
Bump uvicorn from 0.18.3 to 0.19.0 (#2429)
Bumps [uvicorn](https://github.com/encode/uvicorn) from 0.18.3 to 0.19.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.18.3...0.19.0)
---
updated-dependencies:
- dependency-name: uvicorn
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
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] [Wed, 2 Nov 2022 11:13:18 +0000 (11:13 +0000)]
Bump black from 22.8.0 to 22.10.0 (#2428)
Bumps [black](https://github.com/psf/black) from 22.8.0 to 22.10.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/22.8.0...22.10.0)
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
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] [Wed, 2 Nov 2022 09:48:03 +0000 (09:48 +0000)]
Bump mypy from 0.971 to 0.982 (#2427)
Bumps [mypy](https://github.com/python/mypy) from 0.971 to 0.982.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.971...v0.982)
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
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] [Wed, 2 Nov 2022 09:42:50 +0000 (09:42 +0000)]
Bump autoflake from 1.4 to 1.7.7 (#2430)
Bumps [autoflake](https://github.com/PyCQA/autoflake) from 1.4 to 1.7.7.
- [Release notes](https://github.com/PyCQA/autoflake/releases)
- [Commits](https://github.com/PyCQA/autoflake/compare/v1.4...v1.7.7)
---
updated-dependencies:
- dependency-name: autoflake
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Tue, 1 Nov 2022 17:09:45 +0000 (18:09 +0100)]
Bump coverage from 6.4.4 to 6.5.0 (#2431)
Bumps [coverage](https://github.com/nedbat/coveragepy) from 6.4.4 to 6.5.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/6.4.4...6.5.0)
---
updated-dependencies:
- dependency-name: coverage
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Tom Christie [Tue, 18 Oct 2022 13:42:28 +0000 (14:42 +0100)]
Drop stalebot (#2412)
Sorry @stalebot, but we don't need your work here.
We've a low enough ticket count, and you're just adding noise.
Ramazan Elsunakev [Wed, 12 Oct 2022 08:45:06 +0000 (01:45 -0700)]
Add parameters to generics in `_client.py` (#2266)
Co-authored-by: Tom Christie <tom@tomchristie.com>
Co-authored-by: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com>
Meder Kamalov [Tue, 11 Oct 2022 10:54:24 +0000 (12:54 +0200)]
Add dark mode toggle for documentation (#2403)
Tom Christie [Thu, 6 Oct 2022 16:53:51 +0000 (17:53 +0100)]
Allow str content for multipart upload files (#2400)
Tom Christie [Thu, 6 Oct 2022 13:43:43 +0000 (14:43 +0100)]
Remove unneeded installation on `install` script (#2398)
Tom Christie [Wed, 5 Oct 2022 17:42:32 +0000 (18:42 +0100)]
Always use latest version of `pip`. (#2396)
Installation should start by updating `pip` to the latest version.
Resolves issue noted in https://github.com/encode/httpx/pull/2334#issuecomment-
1268308195
dependabot[bot] [Tue, 4 Oct 2022 13:12:43 +0000 (14:12 +0100)]
Bump cryptography from 37.0.2 to 38.0.1 (#2389)
Bumps [cryptography](https://github.com/pyca/cryptography) from 37.0.2 to 38.0.1.
- [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/37.0.2...38.0.1)
---
updated-dependencies:
- dependency-name: cryptography
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
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 [Tue, 4 Oct 2022 13:04:02 +0000 (14:04 +0100)]
Pin importlib-metadata (#2393)
dependabot[bot] [Tue, 4 Oct 2022 12:54:21 +0000 (13:54 +0100)]
Bump flake8-pie from 0.15.0 to 0.16.0 (#2387)
Bumps [flake8-pie](https://github.com/sbdchd/flake8-pie) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/sbdchd/flake8-pie/releases)
- [Commits](https://github.com/sbdchd/flake8-pie/commits)
---
updated-dependencies:
- dependency-name: flake8-pie
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Sat, 1 Oct 2022 16:12:37 +0000 (18:12 +0200)]
Bump mkdocs-material from 8.3.8 to 8.5.5 (#2388)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Sat, 1 Oct 2022 16:06:30 +0000 (18:06 +0200)]
Bump mkdocs from 1.3.1 to 1.4.0 (#2390)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Jo [Thu, 29 Sep 2022 16:00:21 +0000 (00:00 +0800)]
Test under 3.11-dev (#2302)
* Test under 3.11.0-beta.3
* Ignore cgi and importlib warnings
* Ignore src_constant warning
* Install whell before other requirements
* Minor
* Remove uvicorn ignore
* Use 3.11-dev instead
* Add 3.11 to classifiers
* Revert unrelated change
* Bump coverage
Marcelo Trylesinski [Thu, 29 Sep 2022 10:09:11 +0000 (12:09 +0200)]
Add thread-safety note on the `Client` docstring (#2380)
Adrian Garcia Badaracco [Tue, 13 Sep 2022 14:24:01 +0000 (09:24 -0500)]
add basic type annotation for RequestExtensions and RequestData (#2367)
chaojie [Mon, 5 Sep 2022 16:18:44 +0000 (00:18 +0800)]
Make chinese README better (#2366)
Tom Christie [Fri, 2 Sep 2022 13:24:45 +0000 (14:24 +0100)]
Fix empty query params (#2354)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
dependabot[bot] [Thu, 1 Sep 2022 17:15:45 +0000 (19:15 +0200)]
Bump mkautodoc from 0.1.0 to 0.2.0 (#2361)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Thu, 1 Sep 2022 16:22:44 +0000 (18:22 +0200)]
Bump trio from 0.20.0 to 0.21.0 (#2360)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Marcelo Trylesinski [Thu, 1 Sep 2022 16:13:35 +0000 (18:13 +0200)]
Add fake setup.py (#2351)
dependabot[bot] [Thu, 1 Sep 2022 16:10:01 +0000 (18:10 +0200)]
Bump black from 22.6.0 to 22.8.0 (#2358)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Thu, 1 Sep 2022 16:06:47 +0000 (18:06 +0200)]
Bump uvicorn from 0.18.2 to 0.18.3 (#2357)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Tom Christie [Tue, 30 Aug 2022 13:03:31 +0000 (14:03 +0100)]
Allow tuple or list for multipart values (#2355)
Will Frey [Tue, 30 Aug 2022 11:46:19 +0000 (07:46 -0400)]
Relax `HeaderTypes` type alias definition (#2317)
* Relax `HeaderTypes` type alias definition
This replaces `Dict[..., ...]` with `Mapping[..., ...]` in the union definition for `HeaderTypes`. Closes #2314.
* Update _models.py
Co-authored-by: Tom Christie <tom@tomchristie.com>
Marcelo Trylesinski [Thu, 25 Aug 2022 17:19:28 +0000 (19:19 +0200)]
Replace `black` Python target version from 3.6 to 3.7 (#2343)
Florimond Manca [Thu, 25 Aug 2022 10:23:04 +0000 (12:23 +0200)]
Replace cgi which will be deprecated in Python 3.11 (#2309)
* Replace cgi which will be deprecated in Python 3.11
* Update httpx/_utils.py
Ofek Lev [Mon, 22 Aug 2022 16:55:06 +0000 (12:55 -0400)]
Update package metadata (#2334)
Co-authored-by: Florimond Manca <florimond.manca@protonmail.com>
Marcelo Trylesinski [Sat, 20 Aug 2022 12:09:30 +0000 (14:09 +0200)]
Add script to make sure CHANGELOG is always in sync with `__version__` (#2297)
* Add script to make sure CHANGELOG is always in sync with `__version__`
* Fix version
* Change file permission
* Change head by sed
Fred Thomsen [Tue, 16 Aug 2022 22:20:35 +0000 (18:20 -0400)]
Update docs to reflect supported python versions (#2338)
Replaces Python 3.6 references with Python 3.7.
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Adrian Garcia Badaracco [Mon, 15 Aug 2022 15:20:07 +0000 (10:20 -0500)]
allow setting an explicit multipart boundary via headers (#2278)
dependabot[bot] [Tue, 2 Aug 2022 06:15:21 +0000 (08:15 +0200)]
Bump types-chardet from 4.0.4 to 5.0.3 (#2324)
Bumps [types-chardet](https://github.com/python/typeshed) from 4.0.4 to 5.0.3.
- [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-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Marcelo Trylesinski [Tue, 2 Aug 2022 06:06:54 +0000 (08:06 +0200)]
Bump mkdocs from 1.3.0 to 1.3.1 (#2328)
dependabot[bot] [Mon, 1 Aug 2022 18:49:31 +0000 (20:49 +0200)]
Bump flake8-bugbear from 22.4.25 to 22.7.1 (#2323)
Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear) from 22.4.25 to 22.7.1.
- [Release notes](https://github.com/PyCQA/flake8-bugbear/releases)
- [Commits](https://github.com/PyCQA/flake8-bugbear/compare/22.4.25...22.7.1)
---
updated-dependencies:
- dependency-name: flake8-bugbear
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 Aug 2022 16:27:02 +0000 (18:27 +0200)]
Bump pytest-asyncio from 0.18.3 to 0.19.0 (#2327)
Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.18.3 to 0.19.0.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Changelog](https://github.com/pytest-dev/pytest-asyncio/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.18.3...v0.19.0)
---
updated-dependencies:
- dependency-name: pytest-asyncio
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 Aug 2022 16:14:05 +0000 (18:14 +0200)]
Bump mypy from 0.961 to 0.971 (#2325)
Bumps [mypy](https://github.com/python/mypy) from 0.961 to 0.971.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.961...v0.971)
---
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>
Florimond Manca [Fri, 29 Jul 2022 12:21:58 +0000 (14:21 +0200)]
Expand docs about retries (#2311)
Co-authored-by: Tom Christie <tom@tomchristie.com>
Ofek Lev [Mon, 25 Jul 2022 09:23:08 +0000 (05:23 -0400)]
Update link to trustme (#2318)