Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-ecdsa for openSUSE:Factory 
checked in at 2026-04-17 21:04:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ecdsa (Old)
 and      /work/SRC/openSUSE:Factory/.python-ecdsa.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ecdsa"

Fri Apr 17 21:04:16 2026 rev:21 rq:1347627 version:0.19.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ecdsa/python-ecdsa.changes        
2026-03-31 16:21:24.556570141 +0200
+++ /work/SRC/openSUSE:Factory/.python-ecdsa.new.11940/python-ecdsa.changes     
2026-04-17 21:04:48.267177216 +0200
@@ -1,0 +2,6 @@
+Fri Apr 17 06:22:28 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch support-python-3.14.patch:
+  * Support Python 3.13.13 (and 3.14.4) changes.
+
+-------------------------------------------------------------------

New:
----
  support-python-3.14.patch

----------(New B)----------
  New:
- Add patch support-python-3.14.patch:
  * Support Python 3.13.13 (and 3.14.4) changes.
----------(New E)----------

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

Other differences:
------------------
++++++ python-ecdsa.spec ++++++
--- /var/tmp/diff_new_pack.eOd4AA/_old  2026-04-17 21:04:48.959205545 +0200
+++ /var/tmp/diff_new_pack.eOd4AA/_new  2026-04-17 21:04:48.959205545 +0200
@@ -24,6 +24,8 @@
 License:        MIT
 URL:            https://github.com/tlsfuzzer/python-ecdsa
 Source:         
https://files.pythonhosted.org/packages/source/e/ecdsa/ecdsa-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM gh#tlsfuzzer/python-ecdsa#371
+Patch0:         support-python-3.14.patch
 BuildRequires:  %{python_module hypothesis}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
@@ -48,7 +50,7 @@
 into other protocols.
 
 %prep
-%setup -q -n ecdsa-%{version}
+%autosetup -p1 -n ecdsa-%{version}
 
 %build
 %pyproject_wheel

++++++ support-python-3.14.patch ++++++
>From f8e0f3a0035b44fa2541e2c447ed1599f220c4b5 Mon Sep 17 00:00:00 2001
From: Alexander Shadchin <[email protected]>
Date: Thu, 9 Apr 2026 12:22:29 +0300
Subject: [PATCH] Fix tests with new Python

---
 src/ecdsa/der.py | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/ecdsa/der.py b/src/ecdsa/der.py
index 5d35d698..587d7852 100644
--- a/src/ecdsa/der.py
+++ b/src/ecdsa/der.py
@@ -464,12 +464,11 @@ def unpem(pem):
     if isinstance(pem, text_type):  # pragma: no branch
         pem = pem.encode()
 
+    lines = (l.strip() for l in pem.split(b"\n"))
     d = b"".join(
-        [
-            l.strip()
-            for l in pem.split(b"\n")
-            if l and not l.startswith(b"-----")
-        ]
+        l
+        for l in lines
+        if l and not l.startswith(b"-----")
     )
     return base64.b64decode(d)
 

Reply via email to