Hello community,

here is the log from the commit of package python-hpack for openSUSE:Factory 
checked in at 2020-05-08 23:02:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hpack (Old)
 and      /work/SRC/openSUSE:Factory/.python-hpack.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-hpack"

Fri May  8 23:02:13 2020 rev:6 rq:800588 version:3.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hpack/python-hpack.changes        
2020-01-16 18:16:48.632824451 +0100
+++ /work/SRC/openSUSE:Factory/.python-hpack.new.2738/python-hpack.changes      
2020-05-08 23:02:17.881487969 +0200
@@ -1,0 +2,6 @@
+Wed May  6 07:37:26 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Add patch to work with pytest5:
+  * pytest5.patch
+
+-------------------------------------------------------------------

New:
----
  pytest5.patch

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

Other differences:
------------------
++++++ python-hpack.spec ++++++
--- /var/tmp/diff_new_pack.4JQFfJ/_old  2020-05-08 23:02:18.765489775 +0200
+++ /var/tmp/diff_new_pack.4JQFfJ/_new  2020-05-08 23:02:18.773489791 +0200
@@ -25,9 +25,9 @@
 URL:            https://github.com/python-hyper/hpack
 Source:         
https://files.pythonhosted.org/packages/source/h/hpack/hpack-%{version}.tar.gz
 Patch0:         healthcheck.patch
+Patch1:         pytest5.patch
 BuildRequires:  %{python_module hypothesis}
-# https://github.com/python-hyper/hpack/issues/168
-BuildRequires:  %{python_module pytest < 5.0}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -41,7 +41,7 @@
 
 %prep
 %setup -q -n hpack-%{version}
-%patch0 -p1
+%autopatch -p1
 
 %build
 export LC_ALL="en_US.UTF-8"

++++++ pytest5.patch ++++++
>From 97207a9e88f906cf8e4198aec20b24ef97764486 Mon Sep 17 00:00:00 2001
From: Seth Michael Larson <[email protected]>
Date: Fri, 22 Nov 2019 10:50:51 -0600
Subject: [PATCH] Automatically merge Dependabot PRs with Mergify (#175)

---
 test/test_table.py    |  2 +-
 5 files changed, 14 insertions(+), 11 deletions(-)

index d77c30a..ca4729b 100644
--- a/test/test_table.py
+++ b/test/test_table.py
@@ -46,7 +46,7 @@ def test_get_by_index_out_of_range(self):
             tbl.get_by_index(off + 2)
 
         assert (
-            "InvalidTableIndex: Invalid table index %d" % (off + 2) in str(e)
+            "Invalid table index %d" % (off + 2) in str(e.value)
         )
 
     def test_repr(self):

Reply via email to