Hello community, here is the log from the commit of package python-lz4 for openSUSE:Factory checked in at 2020-04-15 19:56:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-lz4 (Old) and /work/SRC/openSUSE:Factory/.python-lz4.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-lz4" Wed Apr 15 19:56:34 2020 rev:8 rq:794159 version:3.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-lz4/python-lz4.changes 2020-03-11 18:56:17.671700319 +0100 +++ /work/SRC/openSUSE:Factory/.python-lz4.new.2738/python-lz4.changes 2020-04-15 19:56:37.345669031 +0200 @@ -1,0 +2,8 @@ +Wed Apr 15 08:43:23 UTC 2020 - pgaj...@suse.com + +- version update to 3.0.2 + * Remove dead code + * Drop Python 2 support, add streams bindings, improve frame performance +- use system lz4 + +------------------------------------------------------------------- Old: ---- lz4-2.1.10.tar.gz New: ---- _constraints lz4-3.0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-lz4.spec ++++++ --- /var/tmp/diff_new_pack.mqwfG4/_old 2020-04-15 19:56:37.837669399 +0200 +++ /var/tmp/diff_new_pack.mqwfG4/_new 2020-04-15 19:56:37.837669399 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-lz4 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,8 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-lz4 -Version: 2.1.10 +Version: 3.0.2 Release: 0 Summary: LZ4 Bindings for Python License: BSD-3-Clause @@ -34,12 +35,9 @@ BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: liblz4-devel BuildRequires: python-rpm-macros -BuildRequires: python2-future Requires: python-psutil -%ifpython2 -Requires: python2-future -%endif %python_subpackages %description @@ -51,6 +49,8 @@ sed -i -e '/-O3/d' setup.py %build +# not neccessary, but ensure we use system lib +rm -r lz4libs export CFLAGS="%{optflags}" %python_build @@ -59,8 +59,11 @@ %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -# tests get stuck -#%%pytest_arch +# 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)' %files %{python_files} %license LICENSE ++++++ _constraints ++++++ <constraints> <hardware> <physicalmemory> <size unit="M">4000</size> </physicalmemory> </hardware> </constraints> ++++++ lz4-2.1.10.tar.gz -> lz4-3.0.2.tar.gz ++++++ ++++ 5939 lines of diff (skipped)