Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-httpx for openSUSE:Factory 
checked in at 2026-09-28 10:36:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-httpx (Old)
 and      /work/SRC/openSUSE:Factory/.python-httpx.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-httpx"

Mon Sep 28 10:36:20 2026 rev:21 rq:1380059 version:0.28.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-httpx/python-httpx.changes        
2026-03-14 22:20:36.668698863 +0100
+++ /work/SRC/openSUSE:Factory/.python-httpx.new.383539/python-httpx.changes    
2026-09-28 10:36:59.592181329 +0200
@@ -1,0 +2,8 @@
+Thu Sep 24 02:34:19 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch support-click-8.5.0.patch:
+  * Do not use CliRunner.isolated_filesystem
+- Add patch support-pytest-9.1.patch:
+  * Filter logs due to pytest 9.1 changes
+
+-------------------------------------------------------------------

New:
----
  support-click-8.5.0.patch
  support-pytest-9.1.patch

----------(New B)----------
  New:
- Add patch support-click-8.5.0.patch:
  * Do not use CliRunner.isolated_filesystem
  New:  * Do not use CliRunner.isolated_filesystem
- Add patch support-pytest-9.1.patch:
  * Filter logs due to pytest 9.1 changes
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-httpx.spec ++++++
--- /var/tmp/diff_new_pack.A36pM4/_old  2026-09-28 10:37:00.379214318 +0200
+++ /var/tmp/diff_new_pack.A36pM4/_new  2026-09-28 10:37:00.381214402 +0200
@@ -47,11 +47,14 @@
 # one test now accepts either autodetected label
 # the miswired “explicit encoding” test now actually uses 
default_encoding="ISO-8859-1"
 Patch1:         support-chardet6-client-autodetect.patch
+# PATCH-FIX-OPENSUSE Do not use CliRunner.isolated_filesystem
+Patch2:         support-click-8.5.0.patch
+# PATCH-FIX-OPENSUSE Filter logs due to pytest 9.1 changes
+Patch3:         support-pytest-9.1.patch
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module hatch-fancy-pypi-readme}
 BuildRequires:  %{python_module hatchling}
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-anyio >= 4

++++++ support-click-8.5.0.patch ++++++
Index: httpx-0.28.1/tests/test_main.py
===================================================================
--- httpx-0.28.1.orig/tests/test_main.py
+++ httpx-0.28.1/tests/test_main.py
@@ -1,3 +1,4 @@
+import contextlib
 import os
 import typing
 
@@ -168,10 +169,10 @@ def test_auth(server):
     ]
 
 
-def test_download(server):
+def test_download(server, tmp_path):
     url = str(server.url)
     runner = CliRunner()
-    with runner.isolated_filesystem():
+    with contextlib.chdir(tmp_path):
         runner.invoke(httpx.main, [url, "--download", "index.txt"])
         assert os.path.exists("index.txt")
         with open("index.txt", "r") as input_file:

++++++ support-pytest-9.1.patch ++++++
Index: httpx-0.28.1/tests/test_utils.py
===================================================================
--- httpx-0.28.1.orig/tests/test_utils.py
+++ httpx-0.28.1/tests/test_utils.py
@@ -56,7 +56,10 @@ def test_logging_request(server, caplog)
         response = client.get(server.url)
         assert response.status_code == 200
 
-    assert caplog.record_tuples == [
+    # Pytest 9.1+ captures logs even from non-propagating ones
+    httpx_records = [rec for rec in caplog.record_tuples if rec[0] == "httpx"]
+
+    assert httpx_records == [
         (
             "httpx",
             logging.INFO,
@@ -71,7 +74,10 @@ def test_logging_redirect_chain(server,
         response = client.get(server.url.copy_with(path="/redirect_301"))
         assert response.status_code == 200
 
-    assert caplog.record_tuples == [
+    # Pytest 9.1+ captures logs even from non-propagating ones
+    httpx_records = [rec for rec in caplog.record_tuples if rec[0] == "httpx"]
+
+    assert httpx_records == [
         (
             "httpx",
             logging.INFO,

Reply via email to