SHA256
1
0
forked from pool/python-httpx

4 Commits

Author SHA256 Message Date
cff675b520 Accepting request 1238508 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1238508
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httpx?expand=0&rev=18
2025-01-18 12:18:04 +00:00
794aa331f2 - Use libalternatives instead of update-alternatives, bsc#1235784
- don't run tests in strict async mode, upstream doesn't either
- disable flaky test

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpx?expand=0&rev=39
2025-01-17 13:58:42 +00:00
e950033a8e Accepting request 1229172 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1229172
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httpx?expand=0&rev=17
2024-12-13 21:33:07 +00:00
58c2ada723 Accepting request 1229039 from home:bnavigator:branches:devel:languages:python:jupyter
- Update to 0.28.1
  * Fix SSL case where verify=False together with client side
    certificates.
- Release 0.28.0
  ## Deprecations:
  * We are working towards a simplified SSL configuration API.
  * For users of the standard verify=True or verify=False cases, or
    verify=<ssl_context> case this should require no changes. The
    following cases have been deprecated...
    - The verify argument as a string argument is now deprecated
      and will raise warnings.
    - The cert argument is now deprecated and will raise warnings.
  * Our revised SSL documentation covers how to implement the same
    behaviour with a more constrained API.
  ## The following changes are also included:
  * The deprecated proxies argument has now been removed.
  * The deprecated app argument has now been removed.
  * JSON request bodies use a compact representation. (#3363)
  * Review URL percent escape sets, based on WHATWG spec. (#3371,
    #3373)
  * Ensure certifi and httpcore are only imported if required.
    (#3377)
  * Treat socks5h as a valid proxy scheme. (#3178)
  * Cleanup Request() method signature in line with
    client.request() and httpx.request(). (#3378)

OBS-URL: https://build.opensuse.org/request/show/1229039
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpx?expand=0&rev=37
2024-12-08 23:27:43 +00:00
4 changed files with 60 additions and 8 deletions

BIN
httpx-0.27.2.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
httpx-0.28.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,39 @@
-------------------------------------------------------------------
Wed Jan 15 13:25:11 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
- Use libalternatives instead of update-alternatives, bsc#1235784
- don't run tests in strict async mode, upstream doesn't either
- disable flaky test
-------------------------------------------------------------------
Sat Dec 7 13:27:08 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 0.28.1
* Fix SSL case where verify=False together with client side
certificates.
- Release 0.28.0
## Deprecations:
* We are working towards a simplified SSL configuration API.
* For users of the standard verify=True or verify=False cases, or
verify=<ssl_context> case this should require no changes. The
following cases have been deprecated...
- The verify argument as a string argument is now deprecated
and will raise warnings.
- The cert argument is now deprecated and will raise warnings.
* Our revised SSL documentation covers how to implement the same
behaviour with a more constrained API.
## The following changes are also included:
* The deprecated proxies argument has now been removed.
* The deprecated app argument has now been removed.
* JSON request bodies use a compact representation. (#3363)
* Review URL percent escape sets, based on WHATWG spec. (#3371,
#3373)
* Ensure certifi and httpcore are only imported if required.
(#3377)
* Treat socks5h as a valid proxy scheme. (#3178)
* Cleanup Request() method signature in line with
client.request() and httpx.request(). (#3378)
-------------------------------------------------------------------
Sun Sep 8 13:05:12 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-httpx
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,9 +25,15 @@
%bcond_with test
%endif
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-httpx%{psuffix}
Version: 0.27.2
Version: 0.28.1
Release: 0
Summary: Python HTTP client with async support
License: BSD-3-Clause
@@ -44,14 +50,18 @@ Requires: python-anyio
Requires: python-certifi
Requires: python-httpcore >= 0.18.0
Requires: python-idna >= 2.0
Requires: python-sniffio
Recommends: python-Brotli
Recommends: python-Pygments >= 2
Recommends: python-click >= 8
Recommends: python-h2 >= 3.0
Recommends: python-rich >= 10
%if %{with libalternatives}
Requires: alts
BuildRequires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
BuildArch: noarch
# SECTION test requirements
%if %{with test}
@@ -96,9 +106,15 @@ Python HTTP client with async support.
donttest="network"
# no socksio
donttest="$donttest or socks"
%pytest -vv -k "not ($donttest)" --asyncio-mode=strict
# test is hardware dependent, fails on OBS
donttest="$donttest or test_write_timeout[trio]"
%pytest -vv -k "not ($donttest)"
%endif
%pre
# If libalternatives is used: Removing old update-alternatives entries.
%python_libalternatives_reset_alternative httpx
%post
%python_install_alternative httpx
@@ -111,7 +127,7 @@ donttest="$donttest or socks"
%license LICENSE.md
%python_alternative %{_bindir}/httpx
%{python_sitelib}/httpx
%{python_sitelib}/httpx-%{version}*-info
%{python_sitelib}/httpx-%{version}.dist-info
%endif
%changelog