mirror of
git://code.qt.io/qt/qt5.git
synced 2026-03-20 13:32:42 +08:00
Upgrade Python on RHEL 8.8 from 3.8 to 3.11
In order to avoid installing packages to one version of python and then
trying to use them from another version, stop installing python 3.8 and
simply install Python 3.11, along with pip.
Change-Id: Id2f63a6d1aff0d3fd3a5934887fe82a642f6ab92
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
Reviewed-by: Zoltan Gera <zoltan.gera@qt.io>
(cherry picked from commit e9325a87a6)
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
This commit is contained in:
@@ -64,8 +64,9 @@ installPackages+=(libusbx-devel)
|
||||
# speech-dispatcher-devel for QtSpeech, otherwise it has no backend on Linux
|
||||
installPackages+=(speech-dispatcher-devel)
|
||||
# Python 3.8 for pyside. Qt for Python support for Python 3.6 will be deprecated in within pyside6.3
|
||||
installPackages+=(python38)
|
||||
installPackages+=(python38-devel)
|
||||
installPackages+=(python3.11)
|
||||
installPackages+=(python3.11-pip)
|
||||
installPackages+=(python3.11-devel)
|
||||
# WebEngine
|
||||
installPackages+=(bison)
|
||||
installPackages+=(flex)
|
||||
@@ -145,7 +146,7 @@ sudo /usr/bin/pip3 install dataclasses
|
||||
sudo pip3 install --upgrade pip
|
||||
sudo pip3 install virtualenv wheel
|
||||
# Just make sure we have virtualenv to run with python3.8 -m virtualenv
|
||||
sudo python3.8 -m pip install virtualenv wheel
|
||||
sudo python3.11 -m pip install virtualenv wheel
|
||||
|
||||
sudo /usr/bin/pip3 install wheel
|
||||
|
||||
|
||||
Reference in New Issue
Block a user