forked from pool/python-annoy
Accepting request 1046206 from devel:languages:python
- update to v1.17.1: * Add -fpermissive plus some other minor things OBS-URL: https://build.opensuse.org/request/show/1046206 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-annoy?expand=0&rev=12
This commit is contained in:
22
denose.patch
22
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'],
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 2 14:23:16 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to v1.17.1:
|
||||
* Add -fpermissive plus some other minor things
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 19 02:28:02 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2b162a148134525cbc405feb66f07b00f20d029c0872f48908c9761c604312f3
|
||||
size 672243
|
||||
3
v1.17.1.tar.gz
Normal file
3
v1.17.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4f7a2f2d86d45b432de68dba06667b23d0ce2b03595d64bd5c05f42dc32e7f4b
|
||||
size 674087
|
||||
Reference in New Issue
Block a user