Commit Graph

42 Commits

Author SHA256 Message Date
Ana Guerrero
e05ae8c020 Accepting request 1237373 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1237373
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httpcore?expand=0&rev=17
2025-01-14 15:21:29 +00:00
2201408784 - Update to 1.0.7
* Support `proxy=…` configuration on `ConnectionPool()`.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=37
2025-01-13 10:11:57 +00:00
Dominique Leuenberger
f3f2c3c517 Accepting request 1219100 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1219100
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httpcore?expand=0&rev=16
2024-10-30 16:33:01 +00:00
27523aaea4 - Update to 1.0.6
* Relax `trio` dependency pinning.
  * Handle `trio` raising `NotImplementedError` on unsupported platforms.
  * Handle mapping `ssl.SSLError` to `httpcore.ConnectError`.
- Update Requires from pyproject.toml

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=35
2024-10-29 17:06:08 +00:00
Ana Guerrero
7160301dc1 Accepting request 1164272 from devel:languages:python
- update to 1.0.5:
  * Handle `EndOfStream` exception for anyio backend.
  * Allow trio `0.25.*` series in package dependancies.

OBS-URL: https://build.opensuse.org/request/show/1164272
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httpcore?expand=0&rev=15
2024-04-03 15:18:27 +00:00
fb4766e832 - update to 1.0.5:
* Handle `EndOfStream` exception for anyio backend.
  * Allow trio `0.25.*` series in package dependancies.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=33
2024-04-03 07:05:31 +00:00
Ana Guerrero
ce8a8c42bd Accepting request 1160938 from devel:languages:python
- update to 1.0.4:
  * Add `target` request extension.
  * Fix support for connection `Upgrade` and `CONNECT` when some
    data in the stream has been read.
  * Fix support for async cancellations.
  * Fix trace extension when used with socks proxy.
  * Fix SSL context for connections using the "wss" scheme

OBS-URL: https://build.opensuse.org/request/show/1160938
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httpcore?expand=0&rev=14
2024-03-25 20:06:53 +00:00
95e49eccef - update to 1.0.4:
* Add `target` request extension.
  * Fix support for connection `Upgrade` and `CONNECT` when some
    data in the stream has been read.
  * Fix support for async cancellations.
  * Fix trace extension when used with socks proxy.
  * Fix SSL context for connections using the "wss" scheme

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=31
2024-03-19 07:12:08 +00:00
Dominique Leuenberger
39eeceb417 Accepting request 1131743 from devel:languages:python
- update to 1.0.2:
  * Fix `float("inf")` timeouts in `Event.wait` function. (#846)
  * Fix pool timeout to account for the total time spent
    retrying. (#823)
  * Raise a neater RuntimeError when the correct async deps are
    not installed. (#826)
  * Add support for synchronous TLS-in-TLS streams. (#840)
  * From version 1.0 our async support is now optional, as the
    package has minimal dependencies by default.
  * For async support use either `pip install
    'httpcore[asyncio]'` or `pip install 'httpcore[trio]'`.
  * The project versioning policy is now explicitly governed by
    SEMVER. See https://semver.org/.
  * Async support becomes fully optional. (#809)
  * Add support for Python 3.12. (#807)

- update to 0.17.3
    scheme is used. (Pull #403)

OBS-URL: https://build.opensuse.org/request/show/1131743
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httpcore?expand=0&rev=13
2023-12-09 21:49:04 +00:00
a3de9db704 - update to 1.0.2:
* Fix `float("inf")` timeouts in `Event.wait` function. (#846)
  * Fix pool timeout to account for the total time spent
    retrying. (#823)
  * Raise a neater RuntimeError when the correct async deps are
    not installed. (#826)
  * Add support for synchronous TLS-in-TLS streams. (#840)
  * From version 1.0 our async support is now optional, as the
    package has minimal dependencies by default.
  * For async support use either `pip install
    'httpcore[asyncio]'` or `pip install 'httpcore[trio]'`.
  * The project versioning policy is now explicitly governed by
    SEMVER. See https://semver.org/.
  * Async support becomes fully optional. (#809)
  * Add support for Python 3.12. (#807)
- update to 0.17.3
    scheme is used. (Pull #403)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=29
2023-12-07 22:47:07 +00:00
Ana Guerrero
4fad8f47c5 Accepting request 1120297 from devel:languages:python
- Update to 0.18.0:
  - Add support for HTTPS proxies.
  - Handle sni_hostname extension with SOCKS proxy.
  - Change the type of Extensions from Mapping[Str, Any] to
    MutableMapping[Str, Any].
  - Handle HTTP/1.1 half-closed connections gracefully.
  - Drop Python 3.7 support.
- Update httpcore-allow-deprecationwarnings-test.patch
- Skip failing tests test_ssl_request and test_extra_info
  (gh#encode/httpcore!832)

OBS-URL: https://build.opensuse.org/request/show/1120297
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httpcore?expand=0&rev=12
2023-10-26 15:11:47 +00:00
c85ffa4250 - Skip failing tests test_ssl_request and test_extra_info
(gh#encode/httpcore!832)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=27
2023-10-25 12:59:33 +00:00
9e957b0cff - Update to 0.18.0:
- Add support for HTTPS proxies.
  - Handle sni_hostname extension with SOCKS proxy.
  - Change the type of Extensions from Mapping[Str, Any] to
    MutableMapping[Str, Any].
  - Handle HTTP/1.1 half-closed connections gracefully.
  - Drop Python 3.7 support.
- Update httpcore-allow-deprecationwarnings-test.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=26
2023-10-25 12:35:45 +00:00
Ana Guerrero
d6af798753 Accepting request 1110216 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1110216
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httpcore?expand=0&rev=11
2023-09-12 19:02:15 +00:00
5d6cd3f400 Accepting request 1110138 from home:Simmphonie:branches:devel:languages:python
- update to 0.17.3 
  * Support async cancellations, ensuring that the connection pool
    is left in a clean state when cancellations occur. (#726)
  * The networking backend interface has been added to the public API.
    Some classes which were previously private implementation detail
    are now part of the top-level public API. (#699)
  * Graceful handling of HTTP/2 GoAway frames, with requests being
    transparently retried on a new connection. (#730)
  * Add exceptions when a synchronous trace callback is passed to an
    asynchronous request or an asynchronous trace callback is passed
    to a synchronous request. (#717)
- version 0.17.2
  * Add socket_options argument to ConnectionPool and HTTProxy classes. (#668)
  * Improve logging with per-module logger names. (#690)
  * Add sni_hostname request extension. (#696)
  * Resolve race condition during import of anyio package. (#692)
  * Enable TCP_NODELAY for all synchronous sockets. (#651)
- version 0.17.1
  * If 'retries' is set, then allow retries if an SSL handshake
    error occurs. (#669)
  * Improve correctness of tracebacks on network exceptions, by
    raising properly chained exceptions. (#678)
  * Prevent connection-hanging behaviour when HTTP/2 connections
    are closed by a server-sent 'GoAway' frame". (#679)
  * Fix edge-case exception when removing requests from the connection pool. (#680)
  * Fix pool timeout edge-case. (#688)

OBS-URL: https://build.opensuse.org/request/show/1110138
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=24
2023-09-11 06:38:46 +00:00
Dominique Leuenberger
37691b8872 Accepting request 1084216 from devel:languages:python
- update to 0.17.0:
  * Add DEBUG level logging. (#648)
  * Respect HTTP/2 max concurrent streams when settings updates
    are sent by server. (#652)
  * Increase the allowable HTTP header size to 100kB. (#647)
  * Add `retries` option to SOCKS proxy classes. (#643)

OBS-URL: https://build.opensuse.org/request/show/1084216
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httpcore?expand=0&rev=10
2023-05-19 09:55:01 +00:00
9e7cec8fad - update to 0.17.0:
* Add DEBUG level logging. (#648)
  * Respect HTTP/2 max concurrent streams when settings updates
    are sent by server. (#652)
  * Increase the allowable HTTP header size to 100kB. (#647)
  * Add `retries` option to SOCKS proxy classes. (#643)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=22
2023-05-03 08:46:41 +00:00
Dominique Leuenberger
c6237b26ed Accepting request 1081481 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081481
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httpcore?expand=0&rev=9
2023-04-22 19:57:34 +00:00
558b445daf Accepting request 1081439 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081439
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=20
2023-04-21 13:19:00 +00:00
Dominique Leuenberger
cfc97f2268 Accepting request 1045130 from devel:languages:python
Forwarded request #1045069 from bnavigator

- 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/1045130
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httpcore?expand=0&rev=8
2022-12-25 14:14:31 +00:00
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
Dominique Leuenberger
2f92b7c097 Accepting request 1037634 from devel:languages:python
- Skip failing test_request_with_content test
  (gh#encode/httpcore#622).

OBS-URL: https://build.opensuse.org/request/show/1037634
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httpcore?expand=0&rev=7
2022-11-24 11:22:34 +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
Dominique Leuenberger
8a6631ad11 Accepting request 990437 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/990437
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httpcore?expand=0&rev=6
2022-08-04 11:23:19 +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
Dominique Leuenberger
ec5e37f747 Accepting request 958238 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/958238
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httpcore?expand=0&rev=5
2022-03-02 17:20:19 +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
Dominique Leuenberger
89267ba0d4 Accepting request 953912 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/953912
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httpcore?expand=0&rev=4
2022-02-14 21:35:54 +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
Dominique Leuenberger
9988929616 Accepting request 950355 from devel:languages:python
- 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) 
- Inject multibuild to stop a build loop

OBS-URL: https://build.opensuse.org/request/show/950355
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httpcore?expand=0&rev=3
2022-02-03 22:16:13 +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
Dominique Leuenberger
db5e50ff3c Accepting request 907330 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/907330
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httpcore?expand=0&rev=2
2021-07-21 17:06:24 +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
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
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
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