eric7/PipInterface/Pip.py

branch
eric7
changeset 8459
0ae07748dbe8
parent 8358
144a6b854f70
child 8605
43bd6ec9198f
equal deleted inserted replaced
8458:d3bedd175c99 8459:0ae07748dbe8
293 @param packages list of packages to upgrade 293 @param packages list of packages to upgrade
294 @type list of str 294 @type list of str
295 @return flag indicating to abort the upgrade attempt 295 @return flag indicating to abort the upgrade attempt
296 @rtype bool 296 @rtype bool
297 """ 297 """
298 pyqtPackages = [p for p in packages 298 pyqtPackages = [
299 if p.lower() in ["pyqt5", "pyqt5-sip", "pyqtwebengine", 299 # TODO: extend this list for PyQt 6.2
300 "qscintilla", "sip"]] 300 p for p in packages if p.lower() in [
301 "pyqt6", "pyqt6-sip", "pyqt6-webengine", "pyqt6-charts",
302 "pyqt6-qscintilla",
303 ]
304 ]
301 305
302 abort = ( 306 abort = (
303 not EricMessageBox.yesNo( 307 not EricMessageBox.yesNo(
304 None, 308 None,
305 self.tr("Upgrade Packages"), 309 self.tr("Upgrade Packages"),

eric ide

mercurial