Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-jsonformatter for 
openSUSE:Factory checked in at 2024-11-28 22:42:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jsonformatter (Old)
 and      /work/SRC/openSUSE:Factory/.python-jsonformatter.new.28523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jsonformatter"

Thu Nov 28 22:42:46 2024 rev:2 rq:1227007 version:0.3.4

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-jsonformatter/python-jsonformatter.changes    
    2024-04-08 17:52:23.933966486 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jsonformatter.new.28523/python-jsonformatter.changes
     2024-11-28 22:42:58.750533953 +0100
@@ -1,0 +2,9 @@
+Thu Nov 28 04:53:42 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Update to 0.3.4:
+  * Support python 3.13
+  * fix: python < 3.7 using pip install failed
+- Use pytest and license macros.
+- Remove patch remove-failing-test.py, no longer required.
+
+-------------------------------------------------------------------

Old:
----
  jsonformatter-0.3.2.tar.gz
  remove-failing-test.py

New:
----
  jsonformatter-0.3.4.tar.gz

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

Other differences:
------------------
++++++ python-jsonformatter.spec ++++++
--- /var/tmp/diff_new_pack.JaV2sv/_old  2024-11-28 22:43:00.302598598 +0100
+++ /var/tmp/diff_new_pack.JaV2sv/_new  2024-11-28 22:43:00.302598598 +0100
@@ -18,19 +18,19 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-jsonformatter
-Version:        0.3.2
+Version:        0.3.4
 Release:        0
 Summary:        Python log in json format
 License:        BSD-2-Clause
 URL:            https://github.com/MyColorfulDays/jsonformatter.git
 Source:         
https://files.pythonhosted.org/packages/source/j/jsonformatter/jsonformatter-%{version}.tar.gz
-Patch0:         remove-failing-test.py
-BuildRequires:  dos2unix
-BuildRequires:  python-rpm-macros
 BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  dos2unix
 BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildArch:      noarch
 %python_subpackages
 
@@ -40,8 +40,8 @@
 %prep
 %autosetup -p1 -n jsonformatter-%{version}
 find . -type f -exec chmod -x {} \;
-dos2unix jsonformatter/__init__.py
-sed -i '1{\,^#!%{_bindir}/env python,d}' jsonformatter/*.py
+dos2unix README.md
+sed -i '1{\,^#!%{_bindir}/env python,d}' src/jsonformatter/*.py
 
 %build
 %pyproject_wheel
@@ -51,13 +51,11 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%{python_expand  #
-export PYTHONPATH=%{buildroot}%{$python_sitelib}
-$python test/test.py
-}
+%pytest -k 'not test_file_config' tests
 
 %files %{python_files}
 %doc README.md
+%license LICENSE
 %{python_sitelib}/jsonformatter
 %{python_sitelib}/jsonformatter-%{version}.dist-info
 

++++++ jsonformatter-0.3.2.tar.gz -> jsonformatter-0.3.4.tar.gz ++++++
++++ 6708 lines of diff (skipped)

Reply via email to