Bug 1212634

Summary: FreeCAD won't install now that python3-pyside2 is rebuilt for python311
Product: [openSUSE] openSUSE Tumbleweed Reporter: Gene Snider <genes1122>
Component: KDE ApplicationsAssignee: E-Mail List <opensuse-kde-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Gene Snider 2023-06-22 19:57:36 UTC
I get these messages when trying to install FreeCAD:

> sudo zypper install FreeCAD
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides 'libpyside2.cpython-310-x86_64-linux-gnu.so.5.15()(64bit)' needed by the to be installed FreeCAD-0.20.2-5.2.x86_64
 Solution 1: do not install FreeCAD-0.20.2-5.2.x86_64
 Solution 2: break FreeCAD-0.20.2-5.2.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c):c

These are the provides for the newly rebuilt python3-pyside2:

>  sudo zypper info --provides python3-pyside2
Loading repository data...
Reading installed packages...


Information for package python3-pyside2:
----------------------------------------
Repository     : Main Repository (OSS)
Name           : python3-pyside2
Version        : 5.15.10-1.1
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 55.4 MiB
Installed      : Yes
Status         : up-to-date
Source package : python3-pyside2-5.15.10-1.1.src
Upstream URL   : https://wiki.qt.io/Qt_for_Python
Summary        : Python bindings for Qt
Description    : 
    The PySide2 project provides Python bindings for the Qt
    application and UI framework.
Provides       : [13]
    libpyside2.cpython-311-x86_64-linux-gnu.so.5.15()(64bit)
    libshiboken2.cpython-311-x86_64-linux-gnu.so.5.15()(64bit)
    python3-PySide2 = 5.15.10-1.1
    python3-pyside2 = 5.15.10-1.1
    python3-pyside2(x86-64) = 5.15.10-1.1
    python3-shiboken2 = 5.15.10-1.1
    python3-shiboken2_generator = 5.15.10-1.1
    python3.11dist(pyside2) = 5.15.10
    python3.11dist(shiboken2) = 5.15.10
    python3.11dist(shiboken2-generator) = 5.15.10
    python3dist(pyside2) = 5.15.10
    python3dist(shiboken2) = 5.15.10
    python3dist(shiboken2-generator) = 5.15.10

FreeCAD is looking forlibpyside2.cpython-310, but libpyside2.cpython-311 is now being provided.  This looks like FreeCAD needs to be rebuilt to require libpyside2.cpython-311-x86_64.

Thanks,

Gene
Comment 1 Gene Snider 2023-06-22 21:22:15 UTC
It's fixed in FreeCAD-0.20.2-5.3.x86_64.

Thanks!
Comment 2 Christophe Marin 2023-06-23 06:53:11 UTC
Closing