4 Commits

Author SHA256 Message Date
Steve Kowalik
ab0f76ecff Accepting request 900750 from home:alarrosa:branches:devel:languages:python
- Update to 0.18.2
  * Added
    - Support for Python 3.10. (Pull #1687)
    - Expose httpx.USE_CLIENT_DEFAULT, used as the default to auth
      and timeout parameters in request methods.
    - Support HTTP/2 "prior knowledge", using
      httpx.Client(http1=False, http2=True).
  * Fixed
    - Clean up some cases where warnings were being issued.
    - Prefer Content-Length over Transfer-Encoding: chunked for
      content= cases.
- Update to 0.18.1
  * Changed
    - Update brotli support to use the brotlicffi package
    - Ensure that Request(..., stream=...) does not auto-generate
      any headers on the request instance.
  * Fixed
    - Pass through timeout=... in top-level httpx.stream()
      function.
    - Map httpcore transport close exceptions to httpx exceptions.
- Add patch (submitted to upstream at gh#encode/httpx#1669) to add
  a pytest marker so we can disable the tests that use the network
  in %check:
  * 0001-Add-a-network-pytest-mark-for-tests-that-use-the-network.patch

OBS-URL: https://build.opensuse.org/request/show/900750
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpx?expand=0&rev=3
2021-06-18 11:18:04 +00:00
Dominique Leuenberger
79e678f057 Accepting request 897236 from devel:languages:python
this package should certainly get to Factory IMO

OBS-URL: https://build.opensuse.org/request/show/897236
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httpx?expand=0&rev=1
2021-07-11 23:24:53 +00:00
d3202ac533 Accepting request 897234 from home:alarrosa:branches:devel:languages:python
- Enable tests (adding some missing dependencies and disabling
  test_async_proxy_close and test_sync_proxy_close since they
  access the network)

- Update to 0.18.0
  * The 0.18.x release series formalises our low-level Transport
    API, introducing the base classes httpx.BaseTransport and
    httpx.AsyncBaseTransport.
    See the "Writing custom transports" documentation and the
    httpx.BaseTransport.handle_request() docstring for more
    complete details on implementing custom transports.
    Pull request #1522 includes a checklist of differences from
    the previous httpcore transport API, for developers
    implementing custom transports.
    The following API changes have been issuing deprecation
    warnings since 0.17.0 onwards, and are now fully deprecated...
    - You should now use httpx.codes consistently instead of
      httpx.StatusCodes.
    - Use limits=... instead of pool_limits=....
    - Use proxies={"http://": ...} instead of proxies={"http": ...}
      for scheme-specific mounting.
  * Changed
    - Transport instances now inherit from httpx.BaseTransport or
      httpx.AsyncBaseTransport, and should implement either the
      handle_request method or handle_async_request method.
      (Pull #1522, #1550)
    - The response.ext property and Response(ext=...) argument are
      now named extensions. (Pull #1522)
    - The recommendation to not use data=<bytes|str|bytes
      (a)iterator> in favour of content=<bytes|str|bytes

OBS-URL: https://build.opensuse.org/request/show/897234
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpx?expand=0&rev=2
2021-06-03 15:28:46 +00:00
8159bab56b Accepting request 893790 from home:mcepl:branches:devel:languages:python
Replacement for the abandoned python-hyper

OBS-URL: https://build.opensuse.org/request/show/893790
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpx?expand=0&rev=1
2021-05-17 15:33:30 +00:00