Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-fido2 for openSUSE:Factory 
checked in at 2022-03-23 20:15:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-fido2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-fido2.new.25692 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-fido2"

Wed Mar 23 20:15:43 2022 rev:12 rq:963719 version:0.9.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-fido2/python-fido2.changes        
2022-01-17 00:22:47.352190317 +0100
+++ /work/SRC/openSUSE:Factory/.python-fido2.new.25692/python-fido2.changes     
2022-03-23 20:16:04.074384332 +0100
@@ -1,0 +2,8 @@
+Mon Mar 21 10:44:41 UTC 2022 - pgaj...@suse.com
+
+- do not require mock for build
+- added patches
+  fix https://github.com/Yubico/python-fido2/issues/135
+  + python-fido2-no-mock.patch
+
+-------------------------------------------------------------------

New:
----
  python-fido2-no-mock.patch

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

Other differences:
------------------
++++++ python-fido2.spec ++++++
--- /var/tmp/diff_new_pack.REG43q/_old  2022-03-23 20:16:04.686384678 +0100
+++ /var/tmp/diff_new_pack.REG43q/_new  2022-03-23 20:16:04.690384681 +0100
@@ -27,8 +27,9 @@
 URL:            https://github.com/Yubico/python-fido2
 Source0:        
https://github.com/Yubico/python-fido2/releases/download/%{version}/fido2-%{version}.tar.gz
 Source1:        
https://github.com/Yubico/python-fido2/releases/download/%{version}/fido2-%{version}.tar.gz.sig
+# https://github.com/Yubico/python-fido2/issues/135
+Patch0:         python-fido2-no-mock.patch
 BuildRequires:  %{python_module cryptography >= 1.5}
-BuildRequires:  %{python_module mock >= 1.0.1}
 BuildRequires:  %{python_module pyfakefs >= 3.4}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}


++++++ python-fido2-no-mock.patch ++++++
Index: fido2-0.9.3/test/test_client.py
===================================================================
--- fido2-0.9.3.orig/test/test_client.py        2021-11-09 11:45:37.000000000 
+0100
+++ fido2-0.9.3/test/test_client.py     2022-03-21 11:33:24.574736097 +0100
@@ -29,7 +29,7 @@
 
 from __future__ import absolute_import, unicode_literals
 
-import mock
+import unittest.mock as mock
 import unittest
 from threading import Event, Timer
 from binascii import a2b_hex
Index: fido2-0.9.3/test/test_ctap1.py
===================================================================
--- fido2-0.9.3.orig/test/test_ctap1.py 2021-11-09 11:45:37.000000000 +0100
+++ fido2-0.9.3/test/test_ctap1.py      2022-03-21 11:33:53.026894591 +0100
@@ -30,7 +30,7 @@ from __future__ import absolute_import,
 from fido2.ctap1 import Ctap1, ApduError
 from binascii import a2b_hex
 import unittest
-import mock
+import unittest.mock as mock
 
 
 class TestCtap1(unittest.TestCase):
Index: fido2-0.9.3/test/test_ctap2.py
===================================================================
--- fido2-0.9.3.orig/test/test_ctap2.py 2021-11-09 11:45:37.000000000 +0100
+++ fido2-0.9.3/test/test_ctap2.py      2022-03-21 11:34:20.103045403 +0100
@@ -45,7 +45,7 @@ from cryptography.hazmat.backends import
 from cryptography.hazmat.primitives.asymmetric import ec
 
 import unittest
-import mock
+import unittest.mock as mock
 
 _AAGUID = a2b_hex("F8A011F38C0A4D15800617111F9EDC7D")
 _INFO = a2b_hex(
Index: fido2-0.9.3/test/test_pcsc.py
===================================================================
--- fido2-0.9.3.orig/test/test_pcsc.py  2021-11-09 11:45:37.000000000 +0100
+++ fido2-0.9.3/test/test_pcsc.py       2022-03-21 11:34:37.963144879 +0100
@@ -28,7 +28,7 @@
 from __future__ import absolute_import, unicode_literals
 
 import unittest
-import mock
+import unittest.mock as mock
 import sys
 from fido2.hid import CTAPHID
 

Reply via email to