Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-lz4 for openSUSE:Factory 
checked in at 2023-03-14 18:15:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-lz4 (Old)
 and      /work/SRC/openSUSE:Factory/.python-lz4.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-lz4"

Tue Mar 14 18:15:36 2023 rev:12 rq:1071064 version:4.3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-lz4/python-lz4.changes    2021-12-16 
21:19:23.466523039 +0100
+++ /work/SRC/openSUSE:Factory/.python-lz4.new.31432/python-lz4.changes 
2023-03-14 18:15:38.507410158 +0100
@@ -1,0 +2,15 @@
+Sun Mar 12 03:00:40 UTC 2023 - Ben Greiner <c...@bnavigator.de>
+
+- Update to v4.3.2
+  * Fixups by @jonathanunderwood in #266
+- Release 4.0.1
+  * Add flush method to LZ4FrameFile by @pedrovhb in #245
+- Release 4.0.0
+  * This release relegates the stream bindings to experimental
+    status and disables them in all wheel builds. This was necessary
+    as the test suite was causing build failures on multiple
+    architectures. These bindings are currently in an unmaintained
+    state.
+- Clean specfile and test suite setup
+
+-------------------------------------------------------------------

Old:
----
  lz4-3.1.10.tar.gz

New:
----
  lz4-4.3.2.tar.gz

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

Other differences:
------------------
++++++ python-lz4.spec ++++++
--- /var/tmp/diff_new_pack.YUoh81/_old  2023-03-14 18:15:38.999412787 +0100
+++ /var/tmp/diff_new_pack.YUoh81/_new  2023-03-14 18:15:38.999412787 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-lz4
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,26 +16,25 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
 Name:           python-lz4
-Version:        3.1.10
+Version:        4.3.2
 Release:        0
 Summary:        LZ4 Bindings for Python
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 URL:            https://github.com/python-lz4/python-lz4
 Source:         
https://files.pythonhosted.org/packages/source/l/lz4/lz4-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module devel >= 3.7}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pkgconfig}
 BuildRequires:  %{python_module psutil}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
-BuildRequires:  liblz4-devel
+BuildRequires:  liblz4-devel >= 1.7.5
 BuildRequires:  python-rpm-macros
-Requires:       python-psutil
 %python_subpackages
 
 %description
@@ -43,30 +42,26 @@
 
 %prep
 %setup -q -n lz4-%{version}
-# do not set -O3
-sed -i -e '/-O3/d' setup.py
 
 %build
 # not neccessary, but ensure we use system lib
 rm -r lz4libs
 export CFLAGS="%{optflags}"
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
-# unit tests should be quick:
-# test_block_decompress_mem_usage, test_1, test_2
-# or require less memory:
-# test_huge*, test_invalid_config*
-%pytest_arch -k 'not (test_1 or test_2 or test_block_decompress_mem_usage or 
test_huge or test_invalid_config)'
+# lz4.stream is not compiled by default: 
https://github.com/python-lz4/python-lz4/issues/240
+ignoretest="--ignore tests/stream"
+%pytest_arch $ignoretest
 
 %files %{python_files}
 %license LICENSE
 %doc README.rst
 %{python_sitearch}/lz4/
-%{python_sitearch}/lz4-%{version}-py*.egg-info/
+%{python_sitearch}/lz4-%{version}.dist-info
 
 %changelog

++++++ lz4-3.1.10.tar.gz -> lz4-4.3.2.tar.gz ++++++
++++ 4522 lines of diff (skipped)

Reply via email to