Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cura for openSUSE:Factory checked in 
at 2022-07-06 15:41:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cura (Old)
 and      /work/SRC/openSUSE:Factory/.cura.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cura"

Wed Jul  6 15:41:42 2022 rev:17 rq:986745 version:4.13.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/cura/cura.changes        2022-02-09 
20:41:05.510647476 +0100
+++ /work/SRC/openSUSE:Factory/.cura.new.1548/cura.changes      2022-07-06 
15:41:54.506509173 +0200
@@ -1,0 +2,6 @@
+Tue Jun 21 13:25:10 UTC 2022 - Stefan Br??ns <stefan.bru...@rwth-aachen.de>
+
+- Fix broken sentry_sdk import, add remove_unused_sentry_sdk.patch
+  (boo#1199506)
+
+-------------------------------------------------------------------

New:
----
  remove_unused_sentry_sdk.patch

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

Other differences:
------------------
++++++ cura.spec ++++++
--- /var/tmp/diff_new_pack.2Yt8YG/_old  2022-07-06 15:41:55.178510163 +0200
+++ /var/tmp/diff_new_pack.2Yt8YG/_new  2022-07-06 15:41:55.182510169 +0200
@@ -31,6 +31,8 @@
 Source:         
https://github.com/Ultimaker/Cura/archive/%{sversion}.tar.gz#/%{name}-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE disable-code-style-check.patch code style is no distro 
business
 Patch1:         disable-code-style-check.patch
+# PATCH-FIX-UPSTREAM - remove unused import of sentry_sdk
+Patch2:         
https://github.com/Ultimaker/Cura/commit/aad41807c365ccef001b787407d7dc756e11de02.patch#/remove_unused_sentry_sdk.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  python3-Arcus >= %{version}
@@ -58,6 +60,7 @@
 Requires:       python3-qt5 >= 5.10
 Requires:       python3-requests
 Requires:       python3-scipy
+Requires:       python3-sentry-sdk
 Requires:       python3-shapely
 Requires:       python3-typing
 Requires:       uranium >= %{version}
@@ -66,7 +69,7 @@
 Recommends:     python3-zeroconf
 BuildArch:      noarch
 # The CuraEngine is not supported on 32bit Linux anymore
-ExcludeArch:    %ix86 %arm s390
+ExcludeArch:    %ix86 %arm s390 ppc
 
 %description
 Cura is a project which aims to be an single software solution for 3D printing.
@@ -83,7 +86,6 @@
 
 %build
 export CFLAGS="%{optflags}"
-sed -i 's/PythonInterp 3.5.0/PythonInterp 3.4.0/' CMakeLists.txt 
cmake/CuraTests.cmake
 # Hack, remove LIB_SUFFIX for 64bit, which is correct as cura is pure python 
(i.e. noarch)
 %cmake -DLIB_SUFFIX="" \
        -DCURA_BUILDTYPE=RPM \

++++++ remove_unused_sentry_sdk.patch ++++++
>From aad41807c365ccef001b787407d7dc756e11de02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gabriel=20F=C3=A9ron?= <g...@leirbag.net>
Date: Tue, 11 Jan 2022 20:28:41 +0100
Subject: [PATCH] Remove unused import of sentry_sdk

---
 cura/CrashHandler.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/cura/CrashHandler.py b/cura/CrashHandler.py
index c911a423504..35e9aa832be 100644
--- a/cura/CrashHandler.py
+++ b/cura/CrashHandler.py
@@ -12,8 +12,6 @@
 import locale
 from typing import cast, Any
 
-import sentry_sdk
-
 try:
     from sentry_sdk.hub import Hub
     from sentry_sdk.utils import event_from_exception

Reply via email to