Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package FreeCAD for openSUSE:Factory checked 
in at 2025-03-14 23:52:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/FreeCAD (Old)
 and      /work/SRC/openSUSE:Factory/.FreeCAD.new.19136 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "FreeCAD"

Fri Mar 14 23:52:03 2025 rev:53 rq:1252918 version:1.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/FreeCAD/FreeCAD.changes  2025-01-19 
21:50:03.340099674 +0100
+++ /work/SRC/openSUSE:Factory/.FreeCAD.new.19136/FreeCAD.changes       
2025-03-14 23:52:58.110821013 +0100
@@ -1,0 +2,7 @@
+Tue Mar 11 15:13:18 UTC 2025 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Add FreeCad-drop-imghdr-import.patch: Drop imghdr import to
+  allow building with python 3.13; upstream commit
+  (gh#FreeCAD/FreeCAD#18081).
+
+-------------------------------------------------------------------

New:
----
  FreeCad-drop-imghdr-import.patch

BETA DEBUG BEGIN:
  New:/work/SRC/openSUSE:Factory/.FreeCAD.new.19136/FreeCAD.changes-
/work/SRC/openSUSE:Factory/.FreeCAD.new.19136/FreeCAD.changes:- Add 
FreeCad-drop-imghdr-import.patch: Drop imghdr import to
/work/SRC/openSUSE:Factory/.FreeCAD.new.19136/FreeCAD.changes-  allow building 
with python 3.13; upstream commit
BETA DEBUG END:

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

Other differences:
------------------
++++++ FreeCAD.spec ++++++
--- /var/tmp/diff_new_pack.4Xbq3A/_old  2025-03-14 23:52:59.258868834 +0100
+++ /var/tmp/diff_new_pack.4Xbq3A/_new  2025-03-14 23:52:59.258868834 +0100
@@ -61,6 +61,8 @@
 Patch16:        
https://github.com/FreeCAD/FreeCAD/commit/6f23f01e509348a6755ad3c465a3d7ffd758ee03.patch#/Add-property-read-write-test.patch
 # PATCH-FIX-UPSTREAM -- 
https://github.com/FreeCAD/FreeCAD/commit/a0e1a31623e334d7186e687c33fad3887e91ee2e
 -- rebased
 Patch17:        Fix-test-failure-temporary-file-race.patch
+# PATCH-FIX-UPSTREAM FreeCad-drop-imghdr-import.patch badshah...@gmail.com -- 
Drop imghdr import to allow building with python 3.13; upstream commit
+Patch18:        
https://github.com/FreeCAD/FreeCAD/commit/a3a0d316b13deb31c7a4b47a069702980de8f1bc.patch#/FreeCad-drop-imghdr-import.patch
 # PATCH-FIX-UPSTREAM
 Patch50:        
https://github.com/Ondsel-Development/OndselSolver/commit/2e3659c4bce3e6885269e0cb3d640261b2a91108.patch#/ondselsolver_fix_gcc_75_filesystem.patch
 

++++++ FreeCad-drop-imghdr-import.patch ++++++
>From a3a0d316b13deb31c7a4b47a069702980de8f1bc Mon Sep 17 00:00:00 2001
From: lorenz <loo...@users.noreply.github.com>
Date: Fri, 6 Dec 2024 18:27:36 +0100
Subject: [PATCH] cam: remove imghdr import (#18081)

---
 src/Mod/CAM/CAMTests/TestCAMSanity.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Mod/CAM/CAMTests/TestCAMSanity.py 
b/src/Mod/CAM/CAMTests/TestCAMSanity.py
index a182d49fe5a8..c1bbb63f833c 100644
--- a/src/Mod/CAM/CAMTests/TestCAMSanity.py
+++ b/src/Mod/CAM/CAMTests/TestCAMSanity.py
@@ -31,7 +31,6 @@
 import os
 import Path.Post.Command as PathPost
 from Path.Post.Processor import PostProcessor
-import imghdr
 import unittest
 from unittest.mock import patch, MagicMock
 import urllib
@@ -82,6 +81,7 @@ def test020(self):
     # This test fails  A headless image generation routine is needed.
     # def test40(self):
     #     """Test image generation"""
+    #     import imghdr  # fixme: not available in python3.13
     #     path = FreeCAD.getUserMacroDir()
     #     image_builder = 
ImageBuilder.ImageBuilderFactory.get_image_builder(path)
     #     file_name = image_builder.build_image(self.doc.getObject("Box"), 
"theBox")

Reply via email to