Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-openTSNE for openSUSE:Factory
checked in at 2023-09-20 13:25:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-openTSNE (Old)
and /work/SRC/openSUSE:Factory/.python-openTSNE.new.16627 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-openTSNE"
Wed Sep 20 13:25:23 2023 rev:5 rq:1111748 version:1.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-openTSNE/python-openTSNE.changes
2022-03-21 20:11:49.012427749 +0100
+++
/work/SRC/openSUSE:Factory/.python-openTSNE.new.16627/python-openTSNE.changes
2023-09-20 13:27:04.366095198 +0200
@@ -1,0 +2,11 @@
+Thu Sep 14 13:26:03 UTC 2023 - Markéta Machová <[email protected]>
+
+- Update to 1.0.0
+ * Given the longtime stability of openTSNE, it is only fitting
+ that we release a v1.0.0.
+ * Various documentation fixes
+ * Include Python 3.11 in the test and build matrix
+ * Uniform affinity kernel now supports mean and max mode
+- add get-numpy-include.patch
+
+-------------------------------------------------------------------
Old:
----
openTSNE-0.6.2-gh.tar.gz
New:
----
get-numpy-include.patch
openTSNE-1.0.0-gh.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-openTSNE.spec ++++++
--- /var/tmp/diff_new_pack.ISqNuD/_old 2023-09-20 13:27:05.874149226 +0200
+++ /var/tmp/diff_new_pack.ISqNuD/_new 2023-09-20 13:27:05.878149370 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-openTSNE
#
-# Copyright (c) 2022 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() python3-%{**}}
%define skip_python2 1
Name: python-openTSNE
-Version: 0.6.2
+Version: 1.0.0
Release: 0
Summary: Extensible, parallel implementations of t-SNE
License: BSD-3-Clause
@@ -27,6 +27,8 @@
# 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
+# PATCH-FIX-UPSTREAM
https://github.com/pavlin-policar/openTSNE/commit/07d8ad1f89356dc77a503071a16516873f4d4e30
Fix #248: get_numpy_include class error in new pip
+Patch1: get-numpy-include.patch
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel >= 3.7}
BuildRequires: %{python_module numpy-devel >= 1.16.6}
++++++ get-numpy-include.patch ++++++
>From 07d8ad1f89356dc77a503071a16516873f4d4e30 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pavlin=20Poli=C4=8Dar?= <[email protected]>
Date: Sat, 19 Aug 2023 11:29:35 +0200
Subject: [PATCH] Fix #248: get_numpy_include class error in new pip
---
setup.py | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git a/setup.py b/setup.py
index 0f6a3d5..e44111c 100644
--- a/setup.py
+++ b/setup.py
@@ -55,16 +55,9 @@ def run(self):
writer.write(body, resources, nb_name)
-class get_numpy_include:
- """Helper class to determine the numpy include path
-
- The purpose of this class is to postpone importing numpy until it is
- actually installed, so that the ``get_include()`` method can be invoked.
-
- """
- def __str__(self):
- import numpy
- return numpy.get_include()
+def get_numpy_include():
+ import numpy
+ return numpy.get_include()
def get_include_dirs():
++++++ openTSNE-0.6.2-gh.tar.gz -> openTSNE-1.0.0-gh.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-openTSNE/openTSNE-0.6.2-gh.tar.gz
/work/SRC/openSUSE:Factory/.python-openTSNE.new.16627/openTSNE-1.0.0-gh.tar.gz
differ: char 22, line 1