Skip to content

Commit dac028a

Browse files
committed
Update to httpx 0.17.x
1 parent 6dddd90 commit dac028a

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
### Changed
9+
- Requires [`httpx`](https://www.python-httpx.org)==0.17.\*
810

911
## [0.10.1] - 2020-11-25
1012
### Fixed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ from pytest_httpx import HTTPXMock
158158

159159

160160
def test_headers_matching(httpx_mock: HTTPXMock):
161-
httpx_mock.add_response(match_headers={'user-agent': 'python-httpx/0.16.0'})
161+
httpx_mock.add_response(match_headers={'user-agent': 'python-httpx/0.17.0'})
162162

163163
with httpx.Client() as client:
164164
response = client.get("http://test_url")

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
keywords=["pytest", "testing", "mock", "httpx"],
3939
packages=find_packages(exclude=["tests*"]),
4040
entry_points={"pytest11": ["pytest_httpx = pytest_httpx"]},
41-
install_requires=["httpx==0.16.*", "pytest==6.*"],
41+
install_requires=["httpx==0.17.*", "pytest==6.*"],
4242
extras_require={
4343
"testing": [
4444
# Used to run async test functions

0 commit comments

Comments
 (0)