Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-ajsonrpc for openSUSE:Factory 
checked in at 2025-05-13 20:09:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ajsonrpc (Old)
 and      /work/SRC/openSUSE:Factory/.python-ajsonrpc.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ajsonrpc"

Tue May 13 20:09:11 2025 rev:4 rq:1277185 version:1.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ajsonrpc/python-ajsonrpc.changes  
2023-01-25 17:54:03.823550609 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-ajsonrpc.new.30101/python-ajsonrpc.changes   
    2025-05-13 20:09:28.096906745 +0200
@@ -1,0 +2,5 @@
+Tue May 13 13:05:55 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-ajsonrpc.spec ++++++
--- /var/tmp/diff_new_pack.hokIHJ/_old  2025-05-13 20:09:29.216953753 +0200
+++ /var/tmp/diff_new_pack.hokIHJ/_new  2025-05-13 20:09:29.220953921 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-ajsonrpc
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
 #
 
 
-%define skip_python2 1
 Name:           python-ajsonrpc
 Version:        1.2.0
 Release:        0
@@ -24,8 +23,10 @@
 License:        MIT
 URL:            https://github.com/pavlov99/ajsonrpc
 Source:         
https://files.pythonhosted.org/packages/source/a/ajsonrpc/ajsonrpc-%{version}.tar.gz
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
@@ -38,23 +39,15 @@
 %setup -q -n ajsonrpc-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/async-json-rpc-server
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# 1 test fails on python 3.6
-# See https://github.com/pavlov99/ajsonrpc/issues/19
-%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
-if [ %{$python_version} != "3.6" ]
-then
-  rm -rf _build*
-  $python -m pytest -v
-fi
-}
+%pytest
 
 %post
 %python_install_alternative async-json-rpc-server

Reply via email to