Bug 1714490 - python3-qgis drags in python2-sip as a runtime dependency
Summary: python3-qgis drags in python2-sip as a runtime dependency
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: qgis
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Volker Fröhlich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1722653
TreeView+ depends on / blocked
 
Reported: 2019-05-28 08:45 UTC by Tomáš Hozza
Modified: 2019-06-20 21:50 UTC (History)
5 users (show)

Fixed In Version: qgis-3.4.6-4.fc30
Clone Of:
Environment:
Last Closed: 2019-06-12 00:45:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tomáš Hozza 2019-05-28 08:45:23 UTC
Description of problem:
When installing python3-qgis, a Python2 version of python-sip is pulled in, instead of the Python3 version.

This is probably because of lack of explicit runtime dependency with python version. It is result of using only sip-api as Requires (as mentioned in Bug #1714218 comment #1)

[root@d2fc663cafd3 /]# cat /etc/fedora-release 
Fedora release 30 (Thirty)

[root@d2fc663cafd3 /]# dnf repoquery --whatrequires python2-sip
Last metadata expiration check: 0:27:01 ago on Mon 27 May 2019 11:35:23 AM UTC.
PyQwt-0:5.2.0-40.fc29.i686
PyQwt-0:5.2.0-40.fc29.x86_64
PyQwt-0:5.2.0-42.fc30.i686
PyQwt-0:5.2.0-42.fc30.x86_64
avogadro-libs-0:1.2.0-24.fc30.i686
avogadro-libs-0:1.2.0-24.fc30.x86_64
avogadro-libs-0:1.2.0-25.fc30.i686
avogadro-libs-0:1.2.0-25.fc30.x86_64
calibre-0:3.36.0-4.fc30.x86_64
pykde4-0:4.14.3-30.fc30.i686
pykde4-0:4.14.3-30.fc30.x86_64
python2-wxpython4-0:4.0.4-2.fc30.x86_64
python3-poppler-qt5-0:0.24.2-11.fc30.x86_64
python3-qgis-0:3.4.4-3.fc30.i686
python3-qgis-0:3.4.4-3.fc30.x86_64
python3-qgis-0:3.4.6-1.fc30.i686
python3-qgis-0:3.4.6-1.fc30.x86_64

[root@d2fc663cafd3 /]# dnf repoquery --requires python3-qgis
gdal-python3
libQt5Core.so.5
libQt5Core.so.5()(64bit)
libQt5Core.so.5(Qt_5)
libQt5Core.so.5(Qt_5)(64bit)
libQt5Core.so.5(Qt_5.11)
libQt5Core.so.5(Qt_5.11)(64bit)
libQt5Core.so.5(Qt_5.12)
libQt5Core.so.5(Qt_5.12)(64bit)
libQt5Gui.so.5
libQt5Gui.so.5()(64bit)
libQt5Gui.so.5(Qt_5)
libQt5Gui.so.5(Qt_5)(64bit)
libQt5Network.so.5
libQt5Network.so.5()(64bit)
libQt5Network.so.5(Qt_5)
libQt5Network.so.5(Qt_5)(64bit)
libQt5Svg.so.5
libQt5Svg.so.5()(64bit)
libQt5Svg.so.5(Qt_5)
libQt5Svg.so.5(Qt_5)(64bit)
libQt5Widgets.so.5
libQt5Widgets.so.5()(64bit)
libQt5Widgets.so.5(Qt_5)
libQt5Widgets.so.5(Qt_5)(64bit)
libQt5Xml.so.5
libQt5Xml.so.5()(64bit)
libQt5Xml.so.5(Qt_5)
libQt5Xml.so.5(Qt_5)(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.4)
libgcc_s.so.1
libgcc_s.so.1()(64bit)
libgcc_s.so.1(GCC_3.0)
libgcc_s.so.1(GCC_3.0)(64bit)
libgcc_s.so.1(GLIBC_2.0)
libm.so.6
libm.so.6()(64bit)
libm.so.6(GLIBC_2.0)
libm.so.6(GLIBC_2.1)
libm.so.6(GLIBC_2.2.5)(64bit)
libm.so.6(GLIBC_2.29)
libm.so.6(GLIBC_2.29)(64bit)
libpython3.7m.so.1.0
libpython3.7m.so.1.0()(64bit)
libqca-qt5.so.2
libqca-qt5.so.2()(64bit)
libqgis_3d.so.3.4.4
libqgis_3d.so.3.4.4()(64bit)
libqgis_3d.so.3.4.6
libqgis_3d.so.3.4.6()(64bit)
libqgis_analysis.so.3.4.4
libqgis_analysis.so.3.4.4()(64bit)
libqgis_analysis.so.3.4.6
libqgis_analysis.so.3.4.6()(64bit)
libqgis_core.so.3.4.4
libqgis_core.so.3.4.4()(64bit)
libqgis_core.so.3.4.6
libqgis_core.so.3.4.6()(64bit)
libqgis_gui.so.3.4.4
libqgis_gui.so.3.4.4()(64bit)
libqgis_gui.so.3.4.6
libqgis_gui.so.3.4.6()(64bit)
libqscintilla2_qt5.so.15
libqscintilla2_qt5.so.15()(64bit)
libstdc++.so.6
libstdc++.so.6()(64bit)
libstdc++.so.6(CXXABI_1.3)
libstdc++.so.6(CXXABI_1.3)(64bit)
libstdc++.so.6(CXXABI_1.3.8)
libstdc++.so.6(CXXABI_1.3.8)(64bit)
libstdc++.so.6(GLIBCXX_3.4)
libstdc++.so.6(GLIBCXX_3.4)(64bit)
python(abi) = 3.7
python3-OWSLib
python3-PyYAML
python3-httplib2
python3-jinja2
python3-matplotlib
python3-psycopg2
python3-pygments
python3-qscintilla
qgis(x86-32) = 3.4.4-3.fc30
qgis(x86-32) = 3.4.6-1.fc30
qgis(x86-64) = 3.4.4-3.fc30
qgis(x86-64) = 3.4.6-1.fc30
rtld(GNU_HASH)
sip-api(12) >= 12.5

Version-Release number of selected component (if applicable):
python3-qgis-0:3.4.4-3.fc30

How reproducible:
always

Steps to Reproduce:
1. install python3-qgis on F30
2.
3.

Actual results:
python2-sip is pulled in as runtime dependency

Expected results:
python3-sip is pulled in as runtime dependency

Comment 1 Volker Fröhlich 2019-06-05 07:19:56 UTC
You are right, thank you. I will Require python3-sip-api instead, which appears to me as a suitable replacement.

Comment 2 Fedora Update System 2019-06-05 20:57:52 UTC
FEDORA-2019-97510c5665 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-97510c5665

Comment 3 Fedora Update System 2019-06-06 01:00:38 UTC
qgis-3.4.6-3.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-97510c5665

Comment 4 Fedora Update System 2019-06-07 15:02:29 UTC
FEDORA-2019-87b90cc69e has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-87b90cc69e

Comment 5 Fedora Update System 2019-06-08 00:51:07 UTC
qgis-3.4.6-4.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-87b90cc69e

Comment 6 Fedora Update System 2019-06-12 00:45:58 UTC
qgis-3.4.6-4.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.


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