Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-annoy for openSUSE:Factory 
checked in at 2023-12-15 21:50:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-annoy (Old)
 and      /work/SRC/openSUSE:Factory/.python-annoy.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-annoy"

Fri Dec 15 21:50:21 2023 rev:13 rq:1133419 version:1.17.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-annoy/python-annoy.changes        
2023-01-02 16:38:25.592868169 +0100
+++ /work/SRC/openSUSE:Factory/.python-annoy.new.25432/python-annoy.changes     
2023-12-15 21:50:45.853826440 +0100
@@ -1,0 +2,10 @@
+Mon Oct 30 12:36:17 UTC 2023 - pgaj...@suse.com
+
+- update to version 1.17.3
+  update to 1.17.3:
+  * Essentially just #645 which fixes compilation on OS X
+  update to 1.17.2:
+  * Fixed memory leak reported in #633
+- drop unneeded denose.patch (they switched to pytest)
+
+-------------------------------------------------------------------

Old:
----
  denose.patch
  v1.17.1.tar.gz

New:
----
  v1.17.3.tar.gz

BETA DEBUG BEGIN:
  Old:  * Fixed memory leak reported in #633
- drop unneeded denose.patch (they switched to pytest)
BETA DEBUG END:

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

Other differences:
------------------
++++++ python-annoy.spec ++++++
--- /var/tmp/diff_new_pack.tsvgFK/_old  2023-12-15 21:50:46.797860962 +0100
+++ /var/tmp/diff_new_pack.tsvgFK/_new  2023-12-15 21:50:46.801861109 +0100
@@ -16,10 +16,9 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python36 1
 Name:           python-annoy
-Version:        1.17.1
+Version:        1.17.3
 Release:        0
 Summary:        Approximation of Nearest Neighbors
 License:        Apache-2.0
@@ -27,7 +26,6 @@
 Source:         https://github.com/spotify/annoy/archive/v%{version}.tar.gz
 # PATCH-FIX-OPENSUSE boo#1100677
 Patch0:         reproducible.patch
-Patch1:         denose.patch
 BuildRequires:  %{python_module cached-property}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module h5py}
@@ -47,13 +45,12 @@
 share the same data.
 
 %prep
-%setup -q -n annoy-%{version}
-%patch0 -p1
-%patch1 -p1
+%autosetup -p1 -n annoy-%{version}
 # fix testdata location
 sed -i -e "s:'test/test:'test:g" test/index_test.py
 
 %build
+sed -i '/setup_requires/d' setup.py
 export CFLAGS="%{optflags} -fno-strict-aliasing"
 %python_build
 
@@ -65,12 +62,11 @@
 # online tests: test_fashion_mnist, test_glove_25, test_nytimes_16
 # fails on 32bit: test_distance_consistency
 # fails on 32bit: test_very_large_index
-# flakey on Python 3.6: AngularIndexTest.test_include_dists
-cd test
-%pytest_arch -k 'not (test_fashion_mnist or test_glove_25 or test_nytimes_16 
or test_distance_consistency or test_very_large_index or (AngularIndexTest and 
test_include_dists))'
+%pytest_arch -k 'not (test_fashion_mnist or test_glove_25 or test_nytimes_16 
or test_distance_consistency or test_very_large_index)'
 
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%{python_sitearch}/*
+%{python_sitearch}/annoy
+%{python_sitearch}/annoy*-info
 

++++++ reproducible.patch ++++++
--- /var/tmp/diff_new_pack.tsvgFK/_old  2023-12-15 21:50:46.825861986 +0100
+++ /var/tmp/diff_new_pack.tsvgFK/_new  2023-12-15 21:50:46.825861986 +0100
@@ -3,28 +3,28 @@
 
 https://bugzilla.opensuse.org/show_bug.cgi?id=1100677
 
-Index: annoy-1.17.1/setup.py
+Index: annoy-1.17.3/setup.py
 ===================================================================
---- annoy-1.17.1.orig/setup.py
-+++ annoy-1.17.1/setup.py
-@@ -39,17 +39,6 @@ with codecs.open('README.rst', encoding=
+--- annoy-1.17.3.orig/setup.py
++++ annoy-1.17.3/setup.py
+@@ -38,17 +38,6 @@ with codecs.open('README.rst', encoding=
+ # Various platform-dependent extras
  extra_compile_args = ['-D_CRT_SECURE_NO_WARNINGS', '-fpermissive']
  extra_link_args = []
- 
--# Not all CPUs have march as a tuning parameter
--cputune = ['-march=native',]
 -if platform.machine() == 'ppc64le':
 -    extra_compile_args += ['-mcpu=native',]
 -
 -if platform.machine() == 'x86_64':
--    extra_compile_args += cputune
+-    # do not apply march on Intel Darwin
+-    if platform.system() != 'Darwin':
+-        # Not all CPUs have march as a tuning parameter
+-        extra_compile_args += ['-march=native',]
 -
 -if os.name != 'nt':
 -    extra_compile_args += ['-O3', '-ffast-math', '-fno-associative-math']
--
+ 
  # Add multithreaded build flag for all platforms using Python 3 and
  # for non-Windows Python 2 platforms
- python_major_version = sys.version_info[0]
 @@ -59,11 +48,6 @@ if python_major_version == 3 or (python_
      if os.name != 'nt':
          extra_compile_args += ['-std=c++14']

++++++ v1.17.1.tar.gz -> v1.17.3.tar.gz ++++++
++++ 3177 lines of diff (skipped)

Reply via email to