Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-zstandard for
openSUSE:Factory checked in at 2026-07-26 11:27:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zstandard (Old)
and /work/SRC/openSUSE:Factory/.python-zstandard.new.2004 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-zstandard"
Sun Jul 26 11:27:05 2026 rev:22 rq:1367574 version:0.25.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-zstandard/python-zstandard.changes
2025-11-11 19:19:26.082693041 +0100
+++
/work/SRC/openSUSE:Factory/.python-zstandard.new.2004/python-zstandard.changes
2026-07-26 11:27:08.931985776 +0200
@@ -1,0 +2,12 @@
+Fri Jul 17 04:15:25 UTC 2026 - Bernhard Wiedemann <[email protected]>
+
+- Really build against system libzstd again: %pyproject_wheel does
+ not honor %py_setup_args, so since the switch to the pyproject
+ macros the bundled zstd copy was silently linked in statically.
+ Pass --system-zstd via pip --config-settings instead.
+- Add a check that the built module actually uses system libzstd,
+ so this cannot regress silently again.
+- BuildRequire packaging (imported by setup.py, previously pulled
+ in only indirectly) and drop no longer needed wheel.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-zstandard.spec ++++++
--- /var/tmp/diff_new_pack.dwtVvI/_old 2026-07-26 11:27:11.104060307 +0200
+++ /var/tmp/diff_new_pack.dwtVvI/_new 2026-07-26 11:27:11.120060856 +0200
@@ -27,9 +27,9 @@
Source:
https://files.pythonhosted.org/packages/source/z/zstandard/zstandard-%{version}.tar.gz
Patch0: feature-detection.patch
BuildRequires: %{python_module devel}
+BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 77}
-BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: libzstd-devel >= 1.5.6
BuildRequires: python-rpm-macros
@@ -56,8 +56,7 @@
%build
export CFLAGS="%{optflags}"
-%define py_setup_args "--system-zstd"
-%pyproject_wheel
+%pyproject_wheel --config-settings=--build-option=--system-zstd .
%install
%pyproject_install
@@ -66,6 +65,8 @@
%check
# remove srcdir for tests collection of installed lib
mv zstandard zstandard.moved
+# ensure the module was really linked against system libzstd
+%{python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -c "import
zstandard; assert 'system_zstd' in zstandard.backend_features"}
%pytest_arch
%files %{python_files}