Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-nitrokey for openSUSE:Factory
checked in at 2026-04-23 17:09:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nitrokey (Old)
and /work/SRC/openSUSE:Factory/.python-nitrokey.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nitrokey"
Thu Apr 23 17:09:18 2026 rev:8 rq:1348918 version:0.4.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nitrokey/python-nitrokey.changes
2025-12-10 15:31:24.620478658 +0100
+++
/work/SRC/openSUSE:Factory/.python-nitrokey.new.11940/python-nitrokey.changes
2026-04-23 17:13:59.799847307 +0200
@@ -1,0 +2,8 @@
+Thu Apr 23 11:43:42 UTC 2026 - Daniel Garcia <[email protected]>
+
+- Get sources from github to be able to run tests
+- Remove protobuf upper limit to make it build with python-protobuf
+ 7.34.1, gh#Nitrokey/nitrokey-sdk-py#119
+ bsc#1262556
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-nitrokey.spec ++++++
--- /var/tmp/diff_new_pack.gbWx7R/_old 2026-04-23 17:14:00.411872512 +0200
+++ /var/tmp/diff_new_pack.gbWx7R/_new 2026-04-23 17:14:00.415872677 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-nitrokey
#
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -23,32 +23,31 @@
Summary: Nitrokey Python SDK
License: Apache-2.0
URL: https://github.com/Nitrokey/nitrokey-sdk-py
-Source0:
https://files.pythonhosted.org/packages/source/n/nitrokey/nitrokey-%{version}.tar.gz
+Source0:
https://github.com/Nitrokey/nitrokey-sdk-py/archive/v%{version}.tar.gz#/nitrokey-%{version}.tar.gz
Source99: python-nitrokey.rpmlintrc
BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core >= 1}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module wheel}
# Runtime dependencies
BuildRequires: %{python_module cryptography >= 41}
BuildRequires: %{python_module crcmod >= 1.7 with %python-crcmod < 2}
BuildRequires: %{python_module fido2 >= 1.1.2 with %python-fido2 < 3}
BuildRequires: %{python_module hidapi >= 0.14 with %python-hidapi < 0.15}
-BuildRequires: %{python_module protobuf >= 5.26 with %python-protobuf < 7}
+BuildRequires: %{python_module protobuf >= 5.26}
BuildRequires: %{python_module pyserial >= 3.5 with %python-pyserial < 4}
BuildRequires: %{python_module requests >= 2 with %python-requests < 3}
BuildRequires: %{python_module semver >= 3 with %python-semver < 4}
BuildRequires: %{python_module tlv8 >= 0.10 with %python-tlv8 < 0.11}
-BuildRequires: %{python_module wrapt}
#
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-cryptography >= 41
-Requires: python-wrapt
Requires: (python-crcmod >= 1.7 with python-crcmod < 2)
Requires: (python-fido2 >= 1.1.2 with python-fido2 < 3)
Requires: (python-hidapi >= 0.14 with python-hidapi < 0.15)
-Requires: (python-protobuf >= 5.26 with python-protobuf < 7)
+Requires: (python-protobuf >= 5.26)
Requires: (python-pyserial >= 3.5 with python-pyserial < 4)
Requires: (python-requests >= 2 with python-requests < 3)
Requires: (python-semver >= 3 with python-semver < 4)
@@ -60,7 +59,7 @@
The Nitrokey Python SDK can be used to use and configure Nitrokey devices.
%prep
-%autosetup -p1 -n nitrokey-%{version}
+%autosetup -p1 -n nitrokey-sdk-py-%{version}
%build
%pyproject_wheel
@@ -69,6 +68,9 @@
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%check
+%pytest
+
%files %{python_files}
%doc README.md
%license LICENSES/Apache-2.0.txt LICENSES/MIT.txt
++++++ nitrokey-0.4.2.tar.gz ++++++
++++ 3465 lines of diff (skipped)