--- a/src/eric7/PipInterface/Pip.py Mon Apr 22 15:15:36 2024 +0200 +++ b/src/eric7/PipInterface/Pip.py Mon Apr 22 18:23:20 2024 +0200 @@ -506,7 +506,7 @@ """ from .PipFileSelectionDialog import PipFileSelectionDialog - dlg = PipFileSelectionDialog(self, "requirements") + dlg = PipFileSelectionDialog("requirements") if dlg.exec() == QDialog.DialogCode.Accepted: requirements, user = dlg.getData() if requirements and os.path.exists(requirements): @@ -557,7 +557,7 @@ """ from .PipFileSelectionDialog import PipFileSelectionDialog - dlg = PipFileSelectionDialog(self, "pyproject") + dlg = PipFileSelectionDialog("pyproject") if dlg.exec() == QDialog.DialogCode.Accepted: pyproject, user = dlg.getData() if pyproject and os.path.exists(pyproject): @@ -643,7 +643,7 @@ from .PipFileSelectionDialog import PipFileSelectionDialog if venvName: - dlg = PipFileSelectionDialog(self, "requirements", install=False) + dlg = PipFileSelectionDialog("requirements", install=False) if dlg.exec() == QDialog.DialogCode.Accepted: requirements, _user = dlg.getData() if requirements and os.path.exists(requirements): @@ -687,7 +687,7 @@ from .PipFileSelectionDialog import PipFileSelectionDialog if venvName: - dlg = PipFileSelectionDialog(self, "pyproject", install=False) + dlg = PipFileSelectionDialog("pyproject", install=False) if dlg.exec() == QDialog.DialogCode.Accepted: pyproject, _user = dlg.getData() if pyproject and os.path.exists(pyproject):