diff --git a/denose.patch b/denose.patch index b0b3ba6..44bcadd 100644 --- a/denose.patch +++ b/denose.patch @@ -1,7 +1,7 @@ -Index: annoy-1.17.0/test/accuracy_test.py +Index: annoy-1.17.1/test/accuracy_test.py =================================================================== ---- annoy-1.17.0.orig/test/accuracy_test.py -+++ annoy-1.17.0/test/accuracy_test.py +--- annoy-1.17.1.orig/test/accuracy_test.py ++++ annoy-1.17.1/test/accuracy_test.py @@ -24,7 +24,6 @@ try: except ImportError: from urllib.request import urlretrieve # Python 3 @@ -10,10 +10,10 @@ Index: annoy-1.17.0/test/accuracy_test.py class AccuracyTest(unittest.TestCase): def _get_index(self, dataset): -Index: annoy-1.17.0/test/hamming_index_test.py +Index: annoy-1.17.1/test/hamming_index_test.py =================================================================== ---- annoy-1.17.0.orig/test/hamming_index_test.py -+++ annoy-1.17.0/test/hamming_index_test.py +--- annoy-1.17.1.orig/test/hamming_index_test.py ++++ annoy-1.17.1/test/hamming_index_test.py @@ -12,11 +12,11 @@ # License for the specific language governing permissions and limitations under # the License. @@ -36,12 +36,12 @@ Index: annoy-1.17.0/test/hamming_index_test.py def test_zero_vectors(self): # Mentioned on the annoy-user list bitstrings = [ -Index: annoy-1.17.0/setup.py +Index: annoy-1.17.1/setup.py =================================================================== ---- annoy-1.17.0.orig/setup.py -+++ annoy-1.17.0/setup.py -@@ -84,6 +84,5 @@ setup(name='annoy', - 'Programming Language :: Python :: 3.6', +--- annoy-1.17.1.orig/setup.py ++++ annoy-1.17.1/setup.py +@@ -88,6 +88,5 @@ setup(name='annoy', + 'Programming Language :: Python :: 3.9', ], keywords='nns, approximate nearest neighbor search', - setup_requires=['nose>=1.0'], diff --git a/python-annoy.changes b/python-annoy.changes index b762162..defea7b 100644 --- a/python-annoy.changes +++ b/python-annoy.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 2 14:23:16 UTC 2023 - Dirk Müller + +- update to v1.17.1: + * Add -fpermissive plus some other minor things + ------------------------------------------------------------------- Mon Apr 19 02:28:02 UTC 2021 - Steve Kowalik diff --git a/python-annoy.spec b/python-annoy.spec index 406ac1f..a7ec1ec 100644 --- a/python-annoy.spec +++ b/python-annoy.spec @@ -1,7 +1,7 @@ # # spec file for package python-annoy # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python36 1 Name: python-annoy -Version: 1.17.0 +Version: 1.17.1 Release: 0 Summary: Approximation of Nearest Neighbors License: Apache-2.0 diff --git a/reproducible.patch b/reproducible.patch index c962914..6b6f847 100644 --- a/reproducible.patch +++ b/reproducible.patch @@ -3,12 +3,12 @@ Date: 2018-07-10 https://bugzilla.opensuse.org/show_bug.cgi?id=1100677 -Index: annoy-1.17.0/setup.py +Index: annoy-1.17.1/setup.py =================================================================== ---- annoy-1.17.0.orig/setup.py -+++ annoy-1.17.0/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= - extra_compile_args = ['-D_CRT_SECURE_NO_WARNINGS'] + extra_compile_args = ['-D_CRT_SECURE_NO_WARNINGS', '-fpermissive'] extra_link_args = [] -# Not all CPUs have march as a tuning parameter diff --git a/v1.17.0.tar.gz b/v1.17.0.tar.gz deleted file mode 100644 index e56c43c..0000000 --- a/v1.17.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2b162a148134525cbc405feb66f07b00f20d029c0872f48908c9761c604312f3 -size 672243 diff --git a/v1.17.1.tar.gz b/v1.17.1.tar.gz new file mode 100644 index 0000000..21bf7cd --- /dev/null +++ b/v1.17.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f7a2f2d86d45b432de68dba06667b23d0ce2b03595d64bd5c05f42dc32e7f4b +size 674087