Commit Graph

16 Commits

Author SHA256 Message Date
dbe5286cde Accepting request 1045069 from home:bnavigator:branches:devel:languages:python
- Update to 0.16.3
  * Allow ws and wss schemes. Allows us to properly support
    websocket upgrade connections. (#625)
  * Forwarding HTTP proxies use a connection-per-remote-host.
    Required by some proxy implementations. (#637)
  * Don't raise RuntimeError when closing a connection pool with
    active connections. Removes some error cases when cancellations
    are used. (#631)
  * Lazy import anyio, so that it's no longer a hard dependancy,
    and isn't imported if unused. (#639)
- Add httpcore-allow-deprecationwarnings-test.patch
  gh#encode/httpcore#511, gh#agronholm/anyio#470

OBS-URL: https://build.opensuse.org/request/show/1045069
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=18
2022-12-24 00:51:24 +00:00
532fc84885 - update to 0.16.2:
* Revert 'Fix async cancellation behaviour', which introduced race conditions
  * Raise RuntimeError if attempting to us UNIX domain sockets on Windows
  * Fix HTTP/1.1 interim informational responses, such as "100 Continue"
  * Support HTTP/1.1 informational responses.
  * Fix async cancellation behaviour.
  * Support h11 0.14

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=17
2022-12-19 10:34:53 +00:00
98fb975100 - Skip failing test_request_with_content test
(gh#encode/httpcore#622).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=15
2022-11-23 14:27:20 +00:00
0124eb2719 Accepting request 990282 from home:bnavigator:branches:devel:languages:python
- Update to 0.15.0
  * Drop Python 3.6 support (#535)
  * Ensure HTTP proxy CONNECT requests include timeout
    configuration. (#506)
  * Switch to explicit typing.Optional for type hints (#513)
  * For trio map OSError exceptions to ConnectError (#543)
- Fix forgotten test package dep drops -- gh#encode/httpcore#473

OBS-URL: https://build.opensuse.org/request/show/990282
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=13
2022-07-20 16:54:32 +00:00
4049c06ab2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=12 2022-02-22 09:46:25 +00:00
5050b1fe3c Accepting request 956362 from home:stroeder:python
- Update to 0.14.7
  * Requests which raise a PoolTimeout need to be removed from the pool queue. (#502)
  * Fix AttributeError that happened when Socks5Connection were terminated. (#501)
- Update to 0.14.6
  * Fix SOCKS support for http:// URLs. (#492)
  * Resolve race condition around exceptions during streaming a response. (#491)

OBS-URL: https://build.opensuse.org/request/show/956362
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=11
2022-02-22 09:46:00 +00:00
f64e714cdf - update to 0.14.7:
* Requests which raise a PoolTimeout need to be removed from the pool queue.
  * Fix AttributeError that happened when Socks5Connection were terminated.
  * Fix SOCKS support for `http://` URLs.
  * Resolve race condition around exceptions during streaming a response.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=10
2022-02-22 09:45:19 +00:00
fe9c1acf4b Accepting request 953819 from home:stroeder:iam
- Only recommend and not require the installation of python-h2 because it is
  seriously broken and prevents any other Python software to run correctly with -bb.
  (See also: https://github.com/python-hyper/h2/issues/1236)
  This also matches upstream's setup.py which lists h2 as optional
  dependency in extra_requires.

OBS-URL: https://build.opensuse.org/request/show/953819
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=9
2022-02-12 14:41:11 +00:00
Steve Kowalik
27cac1d346 - Inject multibuild to stop a build loop
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=8
2022-02-01 07:47:58 +00:00
Steve Kowalik
0e1809b2b0 - Update to 0.14.5:
* SOCKS proxy support. (#478)
  * Add proxy_auth argument to HTTPProxy (#481)
  * Improve error message on 'RemoteProtocolError' exception when server
    disconnects without sending a response (#479)
  * Support HTTP/2 on HTTPS tunnelling proxies. (#468)
  * Fix proxy headers missing on HTTP forwarding. (#456)
  * Only instantiate SSL context if required. (#457)
  * More robust HTTP/2 handling. (#253, #439, #440, #441)
  * Fix race condition when removing closed connections from the pool (#437)
  * Failed connections no longer remain in the pool. (Pull #433)
  * max_connections becomes optional. (Pull #429)
  * certifi is now included in the install dependancies. (Pull #428)
  * h2 is now strictly optional. (Pull #428)
  * Log the point at which the connection is established, and the IP/port
    on which it is made.
  * Determine if the outgoing request should log as HTTP/1.1 or HTTP/2,
    rather than having to assume it's HTTP/2 if the --http2 flag was passed.
  * Log SSL version info / certificate info.
  * Fix broken error messaging when URL scheme is missing, or a non HTTP(S)
    scheme is used. (Pull #403)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=7
2022-02-01 06:15:41 +00:00
12ac37c1af - anyio is actually required (at least for some tests in other
packages).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=6
2021-07-13 13:43:10 +00:00
4eb0be2199 anyio is actually required (at least for some tests in other packages)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=5
2021-07-13 13:42:39 +00:00
fc24fb2d77 Accepting request 904729 from home:alarrosa:branches:devel:languages:python
- Update to v0.13.6
  * Fixed
    - Close sockets when read or write timeouts occur. (Pull #365)
- Update to v0.13.5
  * Fixed
    - Resolved niggles with AnyIO EOF behaviours. (Pull #358, #362)
- Update to v0.13.4
  * Added
    - Improved error messaging when URL scheme is missing, or
      a non HTTP(S) scheme is used. (Pull #354)
  * Fixed
    - Switched to anyio as the default backend implementation when
      running with asyncio. Resolves some awkward TLS timeout
      issues.

OBS-URL: https://build.opensuse.org/request/show/904729
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=3
2021-07-08 09:32:03 +00:00
Dominique Leuenberger
d22f506e0b Accepting request 897237 from devel:languages:python
New package python-httpcore

OBS-URL: https://build.opensuse.org/request/show/897237
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httpcore?expand=0&rev=1
2021-07-11 23:24:54 +00:00
e94413919d Accepting request 897159 from home:alarrosa:branches:devel:languages:python
- Update to v0.13.3
  * Added
    - Support HTTP/2 prior knowledge, using
      httpcore.SyncConnectionPool(http1=False). (Pull #333)
  * Fixed
    - Handle cases where environment does not provide select.poll
      support. (Pull #331)
- Update to v0.13.2
  * Added
    - Improve error message for specific case of
      RemoteProtocolError where server disconnects without
      sending a response. (Pull #313)
- Update to v0.13.1
  * Fixed
    - More resiliant testing for closed connections.
      (Pull #311)
    - Don't raise exceptions on ungraceful connection closes.
      (Pull #310)
- Update to v0.13.0
  * The 0.13 release updates the core API in order to match the
    HTTPX Transport API, introduced in HTTPX 0.18 onwards.
  * Changed
    - The .request() method is now handle_request(). (Pull #296)
    - The .arequest() method is now .handle_async_request().
      (Pull #296)
    - The headers argument is no longer optional. (Pull #296)
    - The stream argument is no longer optional. (Pull #296)
    - The ext argument is now named extensions, and is no longer
      optional. (Pull #296)
    - The "reason" extension keyword is now named "reason_phrase".

OBS-URL: https://build.opensuse.org/request/show/897159
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=2
2021-06-03 12:45:31 +00:00
5999a45ce0 Accepting request 893789 from home:mcepl:branches:devel:languages:python
Dependency for python-httpx

OBS-URL: https://build.opensuse.org/request/show/893789
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=1
2021-05-17 15:32:01 +00:00