From 9110b3bf42a3b555a987e1cbed210380d401c743 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Sat, 7 Dec 2019 08:59:38 +0000 Subject: [PATCH 1/2] Add 'fork' to auto backend --- httpx/concurrency/auto.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/httpx/concurrency/auto.py b/httpx/concurrency/auto.py index 3b57e5674d..ed85806e7a 100644 --- a/httpx/concurrency/auto.py +++ b/httpx/concurrency/auto.py @@ -51,3 +51,12 @@ async def run_in_threadpool( def create_event(self) -> BaseEvent: return self.backend.create_event() + + async def fork( + self, + coroutine1: typing.Callable, + args1: typing.Sequence, + coroutine2: typing.Callable, + args2: typing.Sequence, + ) -> None: + return await self.backend.fork(coroutine1, args1, coroutine2, args2) From 73ed6af86da95a87ab778edc72104f04a3031d1b Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Sat, 7 Dec 2019 09:02:27 +0000 Subject: [PATCH 2/2] Version 0.9.3 --- CHANGELOG.md | 6 ++++++ httpx/__version__.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5caa14ada8..179aed1674 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## 0.9.3 (December 7th, 2019) + +### Fixed + +- Fixed HTTP/2 with autodetection backend. (Pull #614) + ## 0.9.2 (December 7th, 2019) * Released due to packaging build artifact. diff --git a/httpx/__version__.py b/httpx/__version__.py index 64beab1850..2ab855719a 100644 --- a/httpx/__version__.py +++ b/httpx/__version__.py @@ -1,3 +1,3 @@ __title__ = "httpx" __description__ = "A next generation HTTP client, for Python 3." -__version__ = "0.9.2" +__version__ = "0.9.3"