From e9983e96cc0edee2b83e1642b81e9c0f172e9a960e6b5c2568ea705844ee23c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Sat, 26 Jul 2025 05:18:52 +0000 Subject: [PATCH] - Update to 1.5.7.2 * caching number of available cores from cpuinfo by 60 seconds (VM may change settings) - from version 1.5.7.1 * fixed function ZSTD_min_compression_level() - now returns real number, not some shifted int value * added some information functions about debug level builded with * module now building with -O3 level of optimization. Probably will be about 20% faster * module now building with binary stripping (wheels for 3.13 and 3.14 will be smaller) * module now building with disabled LTO * added pypy builds - from version 1.5.7.0 * Update bundled libzstd to 1.5.7 * Wheel for linux are here and pipy (built on Ubuntu xenial, gcc-5, manylinux_2_14) - from version 1.5.6.8 * Make decompression of zstd stream data possible #228 and #100 * Wheel for python3.12 amd64 uploaded here - from version 1.5.6.7 * support of multiple instances of interpreter with own GIL by @domysh - Set ZSTD_EXTERNAL=1 to use system-provided libzstd - Switch build system from setuptools to pyproject.toml * Add python-pip and python-wheel to BuildRequires * Replace %python_build with %pyproject_wheel * Replace %python_install with %pyproject_install OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zstd?expand=0&rev=38 --- python-zstd.changes | 34 ++++++++++++++++++++++++++++++++++ python-zstd.spec | 9 ++++++--- zstd-1.5.6.6.tar.gz | 3 --- zstd-1.5.7.2.tar.gz | 3 +++ 4 files changed, 43 insertions(+), 6 deletions(-) delete mode 100644 zstd-1.5.6.6.tar.gz create mode 100644 zstd-1.5.7.2.tar.gz diff --git a/python-zstd.changes b/python-zstd.changes index 1d67a28..d98c3f1 100644 --- a/python-zstd.changes +++ b/python-zstd.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Fri Jul 25 08:35:52 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 1.5.7.2 + * caching number of available cores from cpuinfo + by 60 seconds (VM may change settings) +- from version 1.5.7.1 + * fixed function ZSTD_min_compression_level() - now + returns real number, not some shifted int value + * added some information functions about debug level + builded with + * module now building with -O3 level of optimization. + Probably will be about 20% faster + * module now building with binary stripping + (wheels for 3.13 and 3.14 will be smaller) + * module now building with disabled LTO + * added pypy builds +- from version 1.5.7.0 + * Update bundled libzstd to 1.5.7 + * Wheel for linux are here and pipy (built + on Ubuntu xenial, gcc-5, manylinux_2_14) +- from version 1.5.6.8 + * Make decompression of zstd stream data possible + #228 and #100 + * Wheel for python3.12 amd64 uploaded here +- from version 1.5.6.7 + * support of multiple instances of interpreter + with own GIL by @domysh +- Set ZSTD_EXTERNAL=1 to use system-provided libzstd +- Switch build system from setuptools to pyproject.toml + * Add python-pip and python-wheel to BuildRequires + * Replace %python_build with %pyproject_wheel + * Replace %python_install with %pyproject_install + ------------------------------------------------------------------- Sun Mar 30 08:06:34 UTC 2025 - Dirk Müller diff --git a/python-zstd.spec b/python-zstd.spec index 92f2343..3d88de9 100644 --- a/python-zstd.spec +++ b/python-zstd.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-zstd -Version: 1.5.6.6 +Version: 1.5.7.2 Release: 0 Summary: ZSTD Bindings for Python License: BSD-2-Clause @@ -27,8 +27,10 @@ URL: https://github.com/sergey-dryabzhinsky/python-zstd Source: https://files.pythonhosted.org/packages/source/z/zstd/zstd-%{version}.tar.gz Patch0: test-external.patch BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: pkgconfig BuildRequires: python-rpm-macros @@ -49,10 +51,11 @@ sed -i -e '/test_version/d' tests/__init__.py %build export CFLAGS="%{optflags}" -%python_build --legacy --external +export ZSTD_EXTERNAL=1 +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check diff --git a/zstd-1.5.6.6.tar.gz b/zstd-1.5.6.6.tar.gz deleted file mode 100644 index e6b3ab3..0000000 --- a/zstd-1.5.6.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:822c4b6575dcd30691ebde6545425b51c14ec1b2e519f684ef4b0d0616921088 -size 649362 diff --git a/zstd-1.5.7.2.tar.gz b/zstd-1.5.7.2.tar.gz new file mode 100644 index 0000000..f3ab92e --- /dev/null +++ b/zstd-1.5.7.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d8684c69009be49e1b18ec251a5eb0d7e24f93624990a8a124a1da66a92fc8a +size 670481