diff --git a/python-annoy.changes b/python-annoy.changes index f69ffd6..a18045d 100644 --- a/python-annoy.changes +++ b/python-annoy.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Jan 16 17:16:30 UTC 2020 - Marketa Calabkova + +- update to 1.16.3 + * some error message improvements + * doing more stack allocations instead of heap + * fixes to a few tests that were failing on other platforms +- Rebase patch reproducible.patch + ------------------------------------------------------------------- Wed Sep 25 07:35:21 UTC 2019 - Tomáš Chvátal diff --git a/python-annoy.spec b/python-annoy.spec index 61eaa52..4bc64f3 100644 --- a/python-annoy.spec +++ b/python-annoy.spec @@ -1,7 +1,7 @@ # # spec file for package python-annoy # -# 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 @@ -18,12 +18,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-annoy -Version: 1.16.0 +Version: 1.16.3 Release: 0 Summary: Approximation of Nearest Neighbors License: Apache-2.0 Group: Development/Languages/Python -Url: https://github.com/spotify/annoy +URL: https://github.com/spotify/annoy Source: https://github.com/spotify/annoy/archive/v%{version}.tar.gz # PATCH-FIX-OPENSUSE boo#1100677 Patch0: reproducible.patch diff --git a/reproducible.patch b/reproducible.patch index b52a6af..b3d35c5 100644 --- a/reproducible.patch +++ b/reproducible.patch @@ -3,22 +3,14 @@ Date: 2018-07-10 https://bugzilla.opensuse.org/show_bug.cgi?id=1100677 -Index: annoy-1.16.0/setup.py +Index: annoy-1.16.3/setup.py =================================================================== ---- annoy-1.16.0.orig/setup.py -+++ annoy-1.16.0/setup.py -@@ -36,29 +36,10 @@ with codecs.open('README.rst', encoding= - long_description = readme_note + fobj.read() - - # Various platform-dependent extras -+cputune = [] - extra_compile_args = [] +--- annoy-1.16.3.orig/setup.py ++++ annoy-1.16.3/setup.py +@@ -38,22 +38,6 @@ with codecs.open('README.rst', encoding= + extra_compile_args = ['-D_CRT_SECURE_NO_WARNINGS'] extra_link_args = [] --if os.environ.get('TRAVIS') == 'true': -- # Resolving some annoying issue -- extra_compile_args += ['-mno-avx'] -- -# Not all CPUs have march as a tuning parameter -cputune = ['-march=native',] -if platform.machine() == 'ppc64le': @@ -35,6 +27,6 @@ Index: annoy-1.16.0/setup.py - extra_compile_args += ['-std=c++11', '-mmacosx-version-min=10.9'] - extra_link_args += ['-stdlib=libc++', '-mmacosx-version-min=10.9'] - - setup(name='annoy', - version='1.16.0', - description='Approximate Nearest Neighbors in C++/Python optimized for memory usage and loading/saving to disk.', + # Manual configuration, you're on your own here. + manual_compiler_args = os.environ.get('ANNOY_COMPILER_ARGS', None) + if manual_compiler_args: diff --git a/v1.16.0.tar.gz b/v1.16.0.tar.gz deleted file mode 100644 index b7888a4..0000000 --- a/v1.16.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e3364fc1c3ff870ffeb6634af5092df40f17ca399160178529869f792ab231b7 -size 670002 diff --git a/v1.16.3.tar.gz b/v1.16.3.tar.gz new file mode 100644 index 0000000..a4f0726 --- /dev/null +++ b/v1.16.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f37a81414ad1e1782565269fa57008643ef6c4d29cc348061da522f317a63b0 +size 670455