Bug 34014 - python3-sip and python3-sip6 can't be installed together
Summary: python3-sip and python3-sip6 can't be installed together
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on: 32465
Blocks:
  Show dependency treegraph
 
Reported: 2025-02-12 23:50 CET by katnatek
Modified: 2025-02-25 22:41 CET (History)
4 users (show)

See Also:
Source RPM: autohint-onoff,enki,pyzo,meteo-qt
CVE:
Status comment:


Attachments
Log of the installation of the packages (47.67 KB, text/plain)
2025-02-13 04:51 CET, katnatek
Details
sansimera-qt output i terminal (25.85 KB, text/plain)
2025-02-13 04:53 CET, katnatek
Details
sansimera-qt terminal output (24.10 KB, text/plain)
2025-02-15 16:20 CET, Thomas Andrews
Details
terminal output of original sansimera-qt (3.85 KB, text/plain)
2025-02-15 16:55 CET, Thomas Andrews
Details

Description katnatek 2025-02-12 23:50:26 CET
Description of problem:

python3-sip and python3-sip6 can't be installed together
This can produce conflicts with some applications

LC_ALL=C urpmi python3-sip  python3-sip6 --test
A requested package cannot be installed:
python3-sip6-6.7.6-1.mga9.x86_64 (due to conflicts with python3-sip-4.19.25-8.mga9.x86_64)
Continue installation anyway? (Y/n) n


urpmq --whatrequires python3-sip |uniq
autohint-onoff
enki
*ffmulticonverter
meteo-qt
python3-sip
python3-sip-devel
python3-sip-devel
pyzo
qarte
sansimera-qt

 urpmq --whatrequires python3-sip6 |uniq
mageiasync
python3-qt5-qhexedit2-devel
python3-sip6

*ffmulticonverter will remove python3-sip require once bug#32465 be fixed
Comment 1 David GEIGER 2025-02-13 03:12:58 CET
qarte-5.5.0-1.1.mga9.noarch.rpm from Core/Updates don't requires old python3-sip anymore

CC: (none) => geiger.david68210

David GEIGER 2025-02-13 03:31:34 CET

Depends on: (none) => 32465

Comment 2 David GEIGER 2025-02-13 03:36:05 CET
Assigning to QA,

Packages in 9/Core/Updates_testing:
======================
autohint-onoff-2.0-1.1.mga9.noarch.rpm
enki-22.08.0-1.1.mga9.noarch.rpm
pyzo-4.12.0-2.1.mga9.noarch.rpm
meteo-qt-3.3-2.1.mga9.noarch.rpm
sansimera-qt-1.1.0-1.mga9.noarch.rpm


From SRPMS
autohint-onoff-2.0-1.1.mga9.src.rpm
enki-22.08.0-1.1.mga9.src.rpm
pyzo-4.12.0-2.1.mga9.src.rpm
meteo-qt-3.3-2.1.mga9.src.rpm
sansimera-qt-1.1.0-1.mga9.src.rpm

Assignee: bugsquad => qa-bugs

katnatek 2025-02-13 03:40:13 CET

Source RPM: python-sip-4.19.25-8.mga9,python-sip6-6.7.6-1.mga9 => autohint-onoff,enki,pyzo,meteo-qt,sansimera-qt

Comment 3 katnatek 2025-02-13 04:51:29 CET
Created attachment 14864 [details]
Log of the installation of the packages

python3-sip is no longer required by these packages


autohint-onoff run but just let change autohint, I not change nothing
enki start
pyzo start
meteo-qt start, can't find my city, in terminla
ERROR: Error:401 Unauthorized
Inténtelo de nuevo más tarde - 267: searchcity

sansimera-qt fails, I'll attach the output in other comment
Comment 4 katnatek 2025-02-13 04:53:53 CET
Created attachment 14865 [details]
sansimera-qt output i terminal
Comment 5 David GEIGER 2025-02-13 06:23:48 CET
please test:

sansimera-qt-1.1.0-1.mga9.noarch.rpm

From SRPMS
sansimera-qt-1.1.0-1.mga9.src.rpm
Comment 6 David GEIGER 2025-02-13 07:28:42 CET
Oupps wrong it is:

please test:

sansimera-qt-1.1.0-1.1.mga9.noarch.rpm

From SRPMS
sansimera-qt-1.1.0-1.1.mga9.src.rpm
Comment 7 katnatek 2025-02-13 20:28:53 CET
(In reply to David GEIGER from comment #6)
> Oupps wrong it is:
> 
> please test:
> 
> sansimera-qt-1.1.0-1.1.mga9.noarch.rpm
> 
> From SRPMS
> sansimera-qt-1.1.0-1.1.mga9.src.rpm


Not best luck but at this moment I'm not trusting my system, something corrupt some files and I did have to reinstall some packages

/tmp/sansimera-qt/woodyallen.jpg  100%[==========================================================>]   4.38K  --.-KB/s    en 0s      

2025-02-13 13:23:32 (451 MB/s) - «/tmp/sansimera-qt/woodyallen.jpg» guardado [4484/4484]

QThread: Destroyed while thread is still running
Abortado (`core' generado)

I will perform an "update" and will test later

If someone test and not have issues, I'm not against if give OK
Comment 8 katnatek 2025-02-13 22:16:22 CET
not good in my other system

<class 'bs4.FeatureNotFound'>    
Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?
--------------------------------------------------------------------------------
  File "/usr/lib/python3.10/site-packages/sansimera_qt/sansimera_qt.py", line 283, in run
    gnomika = fetch.gnomika()
  File "/usr/lib/python3.10/site-packages/sansimera_qt/sansimera_fetch.py", line 130, in gnomika
    soup = BeautifulSoup(html, features="lxml")
  File "/usr/lib/python3.10/site-packages/bs4/__init__.py", line 248, in __init__
    raise FeatureNotFound(

Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/sansimera_qt/sansimera_qt.py", line 344, in excepthook
    with open(logFile, 'a') as logfile:
FileNotFoundError: [Errno 2] No existe el fichero o el directorio: '/home/katnatek/.config/sansimera-qt/sansimera.log'

Original exception was:
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/sansimera_qt/sansimera_qt.py", line 283, in run
    gnomika = fetch.gnomika()
  File "/usr/lib/python3.10/site-packages/sansimera_qt/sansimera_fetch.py", line 130, in gnomika
    soup = BeautifulSoup(html, features="lxml")
  File "/usr/lib/python3.10/site-packages/bs4/__init__.py", line 248, in __init__
    raise FeatureNotFound(
bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?
Comment 9 katnatek 2025-02-14 18:16:11 CET
sansimera-qt requires python3-lxml
 but still fail

2025-02-14 11:12:12 (279 MB/s) - «/tmp/sansimera-qt/even_esar.jpg» guardado [2859/2859]

QThread: Destroyed while thread is still running
Abortado (`core' generado)
Comment 10 katnatek 2025-02-15 03:33:47 CET
I propose remove sansimera-qt from this bug and handle it in new bug 
We get the fix for the rest of applications that apparently works

CC: (none) => andrewsfarm

Comment 11 David GEIGER 2025-02-15 04:49:50 CET
It does not work for you what about other users?
Comment 12 katnatek 2025-02-15 07:58:54 CET
(In reply to David GEIGER from comment #11)
> It does not work for you what about other users?

I test in 2 systems that discard hardware issues
except smething weird like in guayadeque
https://bugs.mageia.org/show_bug.cgi?id=32550

The test in the second system bring to light the
missing python3-lxml require

Wainting to more test

@Thomas could you test packages in comment#6
Comment 13 Thomas Andrews 2025-02-15 16:17:40 CET
I started with a system that didn't have any form of python3-sip installed. None ofthe packages under test was installed, either. I did new installs of all and dependencies in one operation. Then, though it shouldn't have been needed, I rebooted.

I ran sansimera-qt first, as that was the one giving katnatek problems. It failed as it did with him, with the same sort of output, though mine, of course, was in English rather than in Spanish. I will attach the resulting text.
Comment 14 Thomas Andrews 2025-02-15 16:20:11 CET
Created attachment 14870 [details]
sansimera-qt terminal output
Comment 15 Thomas Andrews 2025-02-15 16:21:51 CET
I'm going to try the original sansimera-qt in another system, to see if it has the same issue.
Comment 16 Thomas Andrews 2025-02-15 16:55:23 CET
Created attachment 14871 [details]
terminal output of original sansimera-qt

The original also fails, but differently. It does put an icon in the system Tray, but when you click on it the little window doesn't show any content. The terminal output indicates some errors, as well.
Comment 17 Thomas Andrews 2025-02-15 17:31:35 CET
The rest appeared to work, except for meteo-qt. 

That one didn't crash, but when I attempted to add a city, no matter which one I told it to search for, I received this message:

Error: 401 Unauthorized
Try again later - 267: search city

Could easily be user error.
Comment 18 Thomas Andrews 2025-02-15 17:42:07 CET
(In reply to Thomas Andrews from comment #17)
> The rest appeared to work, except for meteo-qt. 
> 
> That one didn't crash, but when I attempted to add a city, no matter which
> one I told it to search for, I received this message:
> 
> Error: 401 Unauthorized
> Try again later - 267: search city
> 
> Could easily be user error.

Ah. From https://www.linuxlinks.com/meteo-qt-system-tray-application-weather-status-information/

"You’ll need a personal key to access OpenWeatherMap data."  I don't have one.

So, meteo-qt is (probably) working as expected.
Comment 19 katnatek 2025-02-19 21:03:02 CET
Remove sansimera-qt and open a bug for that package
If is OK we should validate the other packages in comment#2

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=34027
Source RPM: autohint-onoff,enki,pyzo,meteo-qt,sansimera-qt => autohint-onoff,enki,pyzo,meteo-qt

Comment 20 Herman Viaene 2025-02-25 11:00:46 CET
I've been following this bug, and I still don't get whether there is now a solution that can be tested.
Is  the incompatibility lifted???
OR
Have some packages been upgraded to use only one version of the offending packages??
In the latter case, aren't we waiting for some other program causing the same problem all over again??

CC: (none) => herman.viaene

Comment 21 Thomas Andrews 2025-02-25 13:50:45 CET
Good questions, Herman. The incompatibility has not been fixed. You still cannot install python3-sip and python3-sip6 together.

What has been done is to attempt to remove the python3-sip requirement from all of those 5 packages that require it. 

It hasn't been explained why those packages required it in the first place, but so far I have been trusting katnatek and David G. to know what they are doing. At my coding skill level I probably wouldn't understand the reason, anyway.

Four of the packages seem to be OK without the offending package. The fifth one fails, but the original that includes python3-sip also fails, so removing it may not be the base cause of the failure.

I believe katnatek is correct, we should move these along and deal with sansimera-qt in the separate bug that he has created. I had been waiting for David G. to weigh in on that idea, but his attention has been elsewhere, probably on more urgent issues. (We have plenty of those!)

I'm going to give this an OK on the first four packages, and validate. Katnatek, please write the advisory accordingly.

Whiteboard: (none) => MGA9-64-OK
Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

katnatek 2025-02-25 19:27:37 CET

Keywords: (none) => advisory

Comment 22 Mageia Robot 2025-02-25 22:41:38 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2025-0022.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.