1
0

Accepting request 951934 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/951934
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-openTSNE?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2022-02-06 22:54:42 +00:00 committed by Git OBS Bridge
commit b185393313
4 changed files with 32 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d10aa350fe041d6cbac0c4c93e16a9b0f4163f97acad78c05acc59aba9434773
size 25650859

3
openTSNE-0.6.1-gh.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:020caa3b210e01476c029d9faa9d1a905b8adb123a2010f5c2b91f95a25f8b37
size 23306737

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Fri Feb 4 16:10:13 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to 0.6.1
* Remove affinites from TSNE construction, allow custom
affinities and initialization in .fit method. This improves the
API when dealing with non-tabular data. This is not backwards
compatible.
* Add metric="precomputed". This includes the addition of
openTSNE.nearest_neighbors.PrecomputedDistanceMatrix and
openTSNE.nearest_neighbors.PrecomputedNeighbors.
* Add knn_index parameter to openTSNE.affinity classes.
* Add (less-than-ideal) workaround for pickling Annoy objects.
* Extend the range of recommended FFTW boxes up to 1000.
* Remove deprecated openTSNE.nearest_neighbors.BallTree.
* Remove deprecated openTSNE.callbacks.ErrorLogger.
* Remove deprecated TSNE.neighbors_method property.
* Add and set as default negative_gradient_method="auto".
- Skip building on python310: gh#pavlin-policar/openTSNE#205
-------------------------------------------------------------------
Thu Apr 1 07:36:31 UTC 2021 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-openTSNE
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,12 +16,12 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
# No python36-scipy in Tumbleweed
%define skip_python36 1
# not compatile with Python 3.10 API: https://github.com/pavlin-policar/openTSNE/issues/205
%define skip_python310 1
Name: python-openTSNE
Version: 0.5.1
Version: 0.6.1
Release: 0
Summary: Extensible, parallel implementations of t-SNE
License: BSD-3-Clause
@ -29,13 +29,14 @@ URL: https://github.com/pavlin-policar/openTSNE
# tests are not packaged in the PyPI sdist, use GitHub instead
Source: %{url}/archive/v%{version}.tar.gz#/openTSNE-%{version}-gh.tar.gz
Patch0: python-openTSNE-disable-CPU-autodetection.patch
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module devel >= 3.7}
BuildRequires: %{python_module numpy-devel >= 1.16.6}
BuildRequires: %{python_module scikit-learn >= 0.20}
BuildRequires: %{python_module scipy}
BuildRequires: %{python_module setuptools}
BuildRequires: c++_compiler
BuildRequires: fftw3-devel
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module pytest}
# /SECTION