766 |
766 |
767 # Do not uninstall pip. |
767 # Do not uninstall pip. |
768 pipre = re.compile(r"^pip\s*(~=|==|!=|<=|>=|<|>|===)") |
768 pipre = re.compile(r"^pip\s*(~=|==|!=|<=|>=|<|>|===)") |
769 for dependency in dependencies: |
769 for dependency in dependencies: |
770 if pipre.search(dependency): |
770 if pipre.search(dependency): |
771 dependencies.remove(dependency) # noqa: M569 |
771 dependencies.remove(dependency) # noqa: M-569 |
772 break |
772 break |
773 |
773 |
774 dlg = DeleteFilesConfirmationDialog( |
774 dlg = DeleteFilesConfirmationDialog( |
775 self.parent(), |
775 self.parent(), |
776 self.tr("Uninstall Packages"), |
776 self.tr("Uninstall Packages"), |