Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-faiss for openSUSE:Factory checked in at 2026-10-26 09:59:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-faiss (Old) and /work/SRC/openSUSE:Factory/.python-faiss.new.2252680 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-faiss" Mon Oct 26 09:59:40 2026 rev:3 rq:1392493 version:1.15.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-faiss/python-faiss.changes 2025-07-02 12:10:30.401263623 +0200 +++ /work/SRC/openSUSE:Factory/.python-faiss.new.2252680/python-faiss.changes 2026-10-26 10:00:05.749947433 +0100 @@ -1,0 +2,25 @@ +Sun Oct 25 16:28:47 UTC 2026 - Dirk Müller <[email protected]> + +- fix typos + +------------------------------------------------------------------- +Sat Oct 24 04:45:34 UTC 2026 - Martin Pluskal <[email protected]> + +- Update to 1.15.1: + * New RaBitQ quantization with FastScan and multi-bit support + * New EDEN and TurboQuant quantizers, SuperKMeans clustering + * New Metal GPU backend, RISC-V RVV and Arm SVE SIMD backends + * New IndexIVFFlatPanorama family and cuVS IVF-SQ backend + * Python type stubs, pip install support, wider C API coverage + * HNSW speedups, similarity mode and persistent locks + * Hardened index deserialization and many crash fixes + * Support Python 3.13 and 3.14, build against numpy 2 + * Many more fixes and improvements; see upstream's release notes + for the full list +- Spec file cleanup (spec-cleaner); drop the redundant /usr/faiss + staging install, package the new per-level C API libraries +- Drop the obsolete libfaiss_python_callbacks.so symlink: the callbacks + library is static in 1.15.x, nothing ships the shared object, and the + non-idempotent %post broke installing both Python flavors together + +------------------------------------------------------------------- Old: ---- faiss-1.10.0.obscpio New: ---- faiss-1.15.1.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-faiss.spec ++++++ --- /var/tmp/diff_new_pack.VbVfJ3/_old 2026-10-26 10:00:06.844993376 +0100 +++ /var/tmp/diff_new_pack.VbVfJ3/_new 2026-10-26 10:00:06.846993460 +0100 @@ -17,59 +17,55 @@ %define flavor @BUILD_FLAVOR@%{nil} -%if "%flavor" == "" +%if "%{flavor}" == "" %bcond_with cuda %endif -%if "%flavor" == "cuda" -%bcond_without cuda +%if "%{flavor}" == "cuda" %define psuffix -cuda %define cudavers -12-4 +%bcond_without cuda %endif - %if 0%{?sle_version} && 0%{?sle_version} < 160000 %global force_gcc_version 12 %endif - - %{?sle15_python_module_pythons} - Name: python-faiss%{?psuffix} -Version: 1.10.0 +Version: 1.15.1 Release: 0 Summary: A library for efficient similarity search and clustering of dense vectors License: MIT URL: https://ai.meta.com/tools/faiss/ Source0: faiss-%{version}.tar BuildRequires: %{python_module numpy-devel} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} -BuildRequires: libopenblas_openmp-devel -BuildRequires: onednn-devel -BuildRequires: openblas-common-devel -%if %{with cuda} -BuildRequires: cuda-cudart-devel%cudavers -BuildRequires: cuda-nvcc%cudavers -BuildRequires: cuda-profiler-api%cudavers -BuildRequires: libcublas-devel%cudavers -BuildRequires: libcurand-devel%cudavers -%endif -BuildRequires: gcc%{?force_gcc_version}-c++ BuildRequires: cmake BuildRequires: fdupes BuildRequires: ffcall +BuildRequires: gcc%{?force_gcc_version}-c++ BuildRequires: lapack-devel +BuildRequires: libopenblas_openmp-devel +BuildRequires: onednn-devel +BuildRequires: openblas-common-devel BuildRequires: python-rpm-macros BuildRequires: suse-module-tools BuildRequires: swig Requires: python-numpy Requires: python-packaging +%if %{with cuda} +BuildRequires: cuda-cudart-devel%{cudavers} +BuildRequires: cuda-nvcc%{cudavers} +BuildRequires: cuda-profiler-api%{cudavers} +BuildRequires: libcublas-devel%{cudavers} +BuildRequires: libcurand-devel%{cudavers} +%endif %python_subpackages %description Faiss is a library for efficient similarity search and clustering of dense vectors. It contains algorithms that search in sets of vectors of any size, - up to ones that possibly do not fit in RAM. It also contains supporting +up to ones that possibly do not fit in RAM. It also contains supporting code for evaluation and parameter tuning. Faiss is written in C++ with complete wrappers for Python/numpy. Some of the most useful algorithms are implemented on the GPU. It is developed by Facebook AI Research. @@ -79,7 +75,7 @@ Requires: libfaiss %description -n faiss-devel -These are the header for C and C++ of faiss +These are the headers for C and C++ of faiss. %package -n libfaiss Summary: faiss library @@ -87,7 +83,7 @@ %description -n libfaiss Faiss is a library for efficient similarity search and clustering of dense vectors. It contains algorithms that search in sets of vectors of any size, - up to ones that possibly do not fit in RAM. It also contains supporting +up to ones that possibly do not fit in RAM. It also contains supporting code for evaluation and parameter tuning. Faiss is written in C++ with complete wrappers for Python/numpy. Some of the most useful algorithms are implemented on the GPU. It is developed by Facebook AI Research. @@ -97,7 +93,7 @@ %build %if %{with cuda} -export PATH=/usr/local/cuda-12.4/bin:${PATH} +export PATH=%{_prefix}/local/cuda-12.4/bin:${PATH} export CC=gcc-12 export CXX=g++-12 %endif @@ -106,7 +102,7 @@ export CXX=g++-12 %endif -# Always compile with AVX512 as seperate libaries will be built +# Always compile with AVX512 as separate libraries will be built %cmake \ -DCMAKE_SKIP_RPATH=ON \ %if %{with cuda} @@ -129,7 +125,7 @@ %{python_expand # need to disable the standard eror from the linker for # undefined symbols as swig doesn't create all the functions %if %{with cuda} -export PATH=/usr/local/cuda-12.1/bin:${PATH} +export PATH=%{_prefix}/local/cuda-12.1/bin:${PATH} %endif %cmake \ -DCMAKE_EXE_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed -Wl,-z,now" \ @@ -170,22 +166,19 @@ %install %cmake_install +# Upstream installs its pip-wheel staging tree to DESTINATION faiss +# (i.e. /usr/faiss); the real Python install is done by the pyproject +# install macro below, so drop the redundant copy. +rm -rf %{buildroot}%{_prefix}/faiss # c lib is build not installed install -D ./build/c_api/libfaiss_c.so %{buildroot}%{_libdir}/libfaiss_c.so cd %{__builddir}/faiss/python %pyproject_install -%python_expand %fdupes %{buildroot}%{$python_sitearch} - -%post -%{python_expand test -e %{_libdir}/libfaiss_python_callbacks.so || ln -s %{$python_sitelib}/faiss/libfaiss_python_callbacks.so %{_libdir}/libfaiss_python_callbacks.so} - -%postun -%{python_expand test -e %{_libdir}/libfaiss_python_callbacks.so || rm -f %{_libdir}/libfaiss_python_callbacks.so} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %{python_sitelib}/faiss %{python_sitelib}/faiss-%{version}.dist-info -%ghost %{_libdir}/libfaiss_python_callbacks.so %files -n faiss-devel %{_includedir}/faiss/* @@ -198,5 +191,7 @@ %ifarch x86_64 %{_libdir}/libfaiss_avx2.so %{_libdir}/libfaiss_avx512.so +%{_libdir}/libfaiss_c_avx2.so +%{_libdir}/libfaiss_c_avx512.so %endif ++++++ _service ++++++ --- /var/tmp/diff_new_pack.VbVfJ3/_old 2026-10-26 10:00:06.887995180 +0100 +++ /var/tmp/diff_new_pack.VbVfJ3/_new 2026-10-26 10:00:06.894995474 +0100 @@ -3,7 +3,7 @@ <service name="obs_scm" mode="manual"> <param name="url">https://github.com/facebookresearch/faiss</param> <param name="scm">git</param> - <param name="revision">v1.10.0</param> + <param name="revision">v1.15.1</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="changesgenerate">enable</param> ++++++ faiss-1.10.0.obscpio -> faiss-1.15.1.obscpio ++++++ ++++ 219359 lines of diff (skipped) ++++++ faiss.obsinfo ++++++ --- /var/tmp/diff_new_pack.VbVfJ3/_old 2026-10-26 10:00:07.840035123 +0100 +++ /var/tmp/diff_new_pack.VbVfJ3/_new 2026-10-26 10:00:07.852035626 +0100 @@ -1,5 +1,5 @@ name: faiss -version: 1.10.0 -mtime: 1738360320 -commit: 189a9d4461233de798c2eb17fb6d354ceda542e6 +version: 1.15.1 +mtime: 1789574819 +commit: 75c755c5a1fc854756aaf3bd1131213aeb21d8d1
