Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pyu2f for openSUSE:Factory checked in at 2022-12-14 14:10:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyu2f (Old) and /work/SRC/openSUSE:Factory/.python-pyu2f.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyu2f" Wed Dec 14 14:10:28 2022 rev:4 rq:1042467 version:0.1.5a Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyu2f/python-pyu2f.changes 2022-11-01 16:10:40.926467982 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyu2f.new.1835/python-pyu2f.changes 2022-12-14 14:10:29.519337004 +0100 @@ -1,0 +2,8 @@ +Mon Dec 12 14:56:04 UTC 2022 - pgaj...@suse.com + +- do not require six +- added patches + fix https://github.com/google/pyu2f/issues/34 + + python-pyu2f-no-six.patch + +------------------------------------------------------------------- New: ---- python-pyu2f-no-six.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyu2f.spec ++++++ --- /var/tmp/diff_new_pack.RvDp7E/_old 2022-12-14 14:10:30.723343196 +0100 +++ /var/tmp/diff_new_pack.RvDp7E/_new 2022-12-14 14:10:30.727343218 +0100 @@ -26,6 +26,8 @@ Source: https://github.com/google/pyu2f/archive/refs/tags/%{version}.tar.gz#/pyu2f-%{version}.tar.gz # PATCH-FIX-UPSTREAM https://github.com/google/pyu2f/pull/32 fix DeprecationWarning for logging and fake_filesystem Patch: fix-deprecation-warning.patch +# https://github.com/google/pyu2f/issues/34 +Patch1: python-pyu2f-no-six.patch BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros # SECTION test requirements ++++++ python-pyu2f-no-six.patch ++++++ Index: pyu2f-0.1.5a/pyu2f/convenience/localauthenticator.py =================================================================== --- pyu2f-0.1.5a.orig/pyu2f/convenience/localauthenticator.py +++ pyu2f-0.1.5a/pyu2f/convenience/localauthenticator.py @@ -13,7 +13,6 @@ # limitations under the License. """Convenience class for U2F signing with local security keys.""" -import six import base64 import sys @@ -36,7 +35,7 @@ class LocalAuthenticator(baseauthenticat device = u2f.GetLocalU2FInterface(origin=self.origin) except errors.NoDeviceFoundError: print_callback('Please insert your security key and press enter...') - six.moves.input() + input() device = u2f.GetLocalU2FInterface(origin=self.origin) print_callback('Please touch your security key.\n') Index: pyu2f-0.1.5a/pyu2f/hid/macos.py =================================================================== --- pyu2f-0.1.5a.orig/pyu2f/hid/macos.py +++ pyu2f-0.1.5a/pyu2f/hid/macos.py @@ -13,8 +13,7 @@ # limitations under the License. """Implements HID device interface on MacOS using IOKit and HIDManager.""" -from six.moves import queue -from six.moves import range +import queue import ctypes import ctypes.util import logging Index: pyu2f-0.1.5a/pyu2f/tests/apdu_test.py =================================================================== --- pyu2f-0.1.5a.orig/pyu2f/tests/apdu_test.py +++ pyu2f-0.1.5a/pyu2f/tests/apdu_test.py @@ -14,7 +14,6 @@ """Tests for pyu2f.apdu.""" -from six.moves import range import sys from pyu2f import apdu Index: pyu2f-0.1.5a/pyu2f/tests/hidtransport_test.py =================================================================== --- pyu2f-0.1.5a.orig/pyu2f/tests/hidtransport_test.py +++ pyu2f-0.1.5a/pyu2f/tests/hidtransport_test.py @@ -14,7 +14,6 @@ """Tests for pyu2f.hidtransport.""" -from six.moves import range import sys import mock Index: pyu2f-0.1.5a/pyu2f/tests/util_test.py =================================================================== --- pyu2f-0.1.5a.orig/pyu2f/tests/util_test.py +++ pyu2f-0.1.5a/pyu2f/tests/util_test.py @@ -14,7 +14,6 @@ """Tests for pyu2f.tests.lib.util.""" -from six.moves import range import sys from pyu2f.tests.lib import util