Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pytest-pook for 
openSUSE:Factory checked in at 2026-09-17 15:18:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-pook (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-pook.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-pook"

Thu Sep 17 15:18:06 2026 rev:2 rq:1378236 version:1.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest-pook/python-pytest-pook.changes    
2026-06-05 15:02:10.480959143 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-pook.new.383539/python-pytest-pook.changes
        2026-09-17 15:19:44.796803377 +0200
@@ -1,0 +2,6 @@
+Wed Sep 16 04:25:56 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch reads-return-bytestrings.patch:
+  * read() returns a bytestring, not a string.
+
+-------------------------------------------------------------------

New:
----
  reads-return-bytestrings.patch

----------(New B)----------
  New:
- Add patch reads-return-bytestrings.patch:
  * read() returns a bytestring, not a string.
----------(New E)----------

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

Other differences:
------------------
++++++ python-pytest-pook.spec ++++++
--- /var/tmp/diff_new_pack.n3KfG7/_old  2026-09-17 15:19:47.394912379 +0200
+++ /var/tmp/diff_new_pack.n3KfG7/_new  2026-09-17 15:19:47.396912463 +0200
@@ -25,6 +25,8 @@
 License:        LGPL-3.0
 URL:            https://git.sr.ht/~sara/pytest-pook
 Source:         
https://git.sr.ht/~sara/pytest-pook/archive/%{git_sha}.tar.gz#/pytest_pook-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE read() returns a bytestring, not a string
+Patch0:         reads-return-bytestrings.patch
 BuildRequires:  python-rpm-macros
 BuildRequires:  %{python_module hatchling}
 BuildRequires:  %{python_module pip}

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.n3KfG7/_old  2026-09-17 15:19:47.432913973 +0200
+++ /var/tmp/diff_new_pack.n3KfG7/_new  2026-09-17 15:19:47.436914141 +0200
@@ -1,6 +1,7 @@
-mtime: 1780626677
-commit: 539984bc778aa6b567dc0e9dd3c870be5029626cf94b07972dd0e75ccf726c4e
+mtime: 1789532763
+commit: ba46c539e81a0274bee8e512339a51fd07e7c223f3aa0fa2206d00be30c1c32d
 url: https://src.opensuse.org/python-pytest/python-pytest-pook
-revision: 539984bc778aa6b567dc0e9dd3c870be5029626cf94b07972dd0e75ccf726c4e
+revision: ba46c539e81a0274bee8e512339a51fd07e7c223f3aa0fa2206d00be30c1c32d
+trackingbranch: main
 projectscmsync: https://src.opensuse.org/python-pytest/_ObsPrj.git
 

++++++ build.specials.obscpio ++++++

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-09-16 06:26:03.000000000 +0200
@@ -0,0 +1,5 @@
+*.obscpio
+*.osc
+_build.*
+_service:*
+.pbuild

++++++ reads-return-bytestrings.patch ++++++
Index: pytest-pook-a7c2d0ca4287af671ebd065b0f6415bb4110f338/tests/test_plugin.py
===================================================================
--- 
pytest-pook-a7c2d0ca4287af671ebd065b0f6415bb4110f338.orig/tests/test_plugin.py
+++ pytest-pook-a7c2d0ca4287af671ebd065b0f6415bb4110f338/tests/test_plugin.py
@@ -56,7 +56,7 @@ def test_mark_starts_active_pook(pyteste
             http = HTTPConnection("example.com:80")
             http.request("GET", "/")
             res = http.getresponse()
-            assert res.read() == "Hello from pook"
+            assert res.read() == b"Hello from pook"
     """
     )
 
@@ -86,7 +86,7 @@ def test_pook_not_active(pytester: pytes
             http = HTTPConnection("example.com:80")
             http.request("GET", "/")
             res = http.getresponse()
-            assert res.read() == "Hello from pook"
+            assert res.read() == b"Hello from pook"
     """
     )
 
@@ -145,7 +145,7 @@ def test_isolation(pytester: pytest.Pyte
             http = HTTPConnection("example.com:80")
             http.request("GET", "/")
             res = http.getresponse()
-            assert res.read() == "Hello from pook"
+            assert res.read() == b"Hello from pook"
     """
     )
 
@@ -177,7 +177,7 @@ def test_isolation_within_suite(pytester
             http = HTTPConnection("example.com:80")
             http.request("GET", "/")
             res = http.getresponse()
-            assert res.read() == "Hello from pook"
+            assert res.read() == b"Hello from pook"
     """
     )
 

Reply via email to