Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tvm for openSUSE:Factory checked in 
at 2023-10-10 21:01:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tvm (Old)
 and      /work/SRC/openSUSE:Factory/.tvm.new.28202 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tvm"

Tue Oct 10 21:01:27 2023 rev:21 rq:1116685 version:0.13.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/tvm/tvm.changes  2023-03-14 18:16:32.855700665 
+0100
+++ /work/SRC/openSUSE:Factory/.tvm.new.28202/tvm.changes       2023-10-10 
21:03:06.628196773 +0200
@@ -1,0 +2,14 @@
+Tue Oct 10 11:35:45 UTC 2023 - Guillaume GARDET <[email protected]>
+
+- Do not package %{$python_sitearch}/tvm/{src,include,3rdparty}
+
+-------------------------------------------------------------------
+Tue Oct 10 09:37:11 UTC 2023 - Christian Goll <[email protected]>
+
+- Update to 0.13.0: 
+  * Release notes: https://github.com/apache/tvm/releases/tag/v0.12.0
+  * Release notes: https://github.com/apache/tvm/releases/tag/v0.13.0
+- Removed tvm-do-not-force-synr-version.patch
+- Added: CYTHON-Make-cython-compatible-with-3.0-15469.patch
+
+-------------------------------------------------------------------

Old:
----
  tvm-0.11.0.tar.gz
  tvm-do-not-force-synr-version.patch

New:
----
  CYTHON-Make-cython-compatible-with-3.0-15469.patch
  tvm-0.13.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ tvm.spec ++++++
--- /var/tmp/diff_new_pack.6dgC8y/_old  2023-10-10 21:03:08.772274524 +0200
+++ /var/tmp/diff_new_pack.6dgC8y/_new  2023-10-10 21:03:08.776274669 +0200
@@ -35,7 +35,7 @@
 # regular cmake builddir conflicts with the python singlespec
 %global __builddir build_cmake
 Name:           tvm
-Version:        0.11.0
+Version:        0.13.0
 Release:        0
 Summary:        An end-to-end Deep Learning Compiler Stack
 License:        Apache-2.0
@@ -47,8 +47,8 @@
 Patch2:         tvm-fix-openblas.patch
 # PATCH-FIX-OPENSUSE tvm-disable-vulkan-test-check.patch -- Cannot test in OBS 
despite enabled in library
 Patch3:         tvm-disable-vulkan-test-check.patch
-# PATCH-FIX-OPENSUSE tvm-do-not-force-synr-version.patch -- boo#1197347
-Patch4:         tvm-do-not-force-synr-version.patch
+# PATCH-FIX-UPSTREAM CYTHON-Make-cython-compatible-with-3.0-15469.patch
+Patch4:         CYTHON-Make-cython-compatible-with-3.0-15469.patch
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module attrs}
 BuildRequires:  %{python_module cloudpickle}
@@ -211,6 +211,8 @@
 popd
 # Remove /usr/tvm/*.so
 rm -rf %{buildroot}%{_prefix}/tvm
+# Remove src,include,3rdparty dirs
+%python_expand rm -rf 
%{buildroot}/%{$python_sitearch}/tvm/{src,include,3rdparty}/
 # Remove .cpp file
 %python_expand rm %{buildroot}/%{$python_sitearch}/tvm/_ffi/_cython/core.cpp
 # tvmc shebang should be default python, not highest available version

++++++ CYTHON-Make-cython-compatible-with-3.0-15469.patch ++++++
>From 7dc5ae78941bcbf6fb8ce14a0bf938019d61eb01 Mon Sep 17 00:00:00 2001
From: Tianqi Chen <[email protected]>
Date: Thu, 3 Aug 2023 23:49:40 -0400
Subject: [PATCH] [CYTHON] Make cython compatible with 3.0 (#15469)

This PR makes the cython code compatible with 3.0 also in a way that is 
backward compatible with older cython versions
---
 python/tvm/_ffi/_cython/ndarray.pxi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/python/tvm/_ffi/_cython/ndarray.pxi 
b/python/tvm/_ffi/_cython/ndarray.pxi
index 9d0eeff0b..b88698319 100644
--- a/python/tvm/_ffi/_cython/ndarray.pxi
+++ b/python/tvm/_ffi/_cython/ndarray.pxi
@@ -16,6 +16,7 @@
 # under the License.
 
 from ..runtime_ctypes import TVMArrayHandle
+from cpython cimport PyCapsule_Destructor
 
 cdef const char* _c_str_dltensor = "dltensor"
 cdef const char* _c_str_used_dltensor = "used_dltensor"
@@ -113,7 +114,7 @@ cdef class NDArrayBase:
         with nogil:
             c_api_ret_code = TVMArrayToDLPack(self.chandle, &dltensor)
         CHECK_CALL(c_api_ret_code)
-        return pycapsule.PyCapsule_New(dltensor, _c_str_dltensor, 
_c_dlpack_deleter)
+        return pycapsule.PyCapsule_New(dltensor, _c_str_dltensor, 
<PyCapsule_Destructor>_c_dlpack_deleter)
 
 
 # Import limited object-related function from C++ side to improve the speed
-- 
2.42.0


++++++ tvm-0.11.0.tar.gz -> tvm-0.13.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/tvm/tvm-0.11.0.tar.gz 
/work/SRC/openSUSE:Factory/.tvm.new.28202/tvm-0.13.0.tar.gz differ: char 34, 
line 1

Reply via email to