From 4f5139413bccba540fe1628906107cd34d7345b2 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Mon, 30 Dec 2024 04:18:29 +0100 Subject: [PATCH 1/2] python3.pkgs.pydrive2: Mark as broken It does not currently work due to pyopenssl incompatibility. --- pkgs/development/python-modules/pydrive2/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/pydrive2/default.nix b/pkgs/development/python-modules/pydrive2/default.nix index a8e300cf5747a..a03c4a2c51a36 100644 --- a/pkgs/development/python-modules/pydrive2/default.nix +++ b/pkgs/development/python-modules/pydrive2/default.nix @@ -57,6 +57,10 @@ buildPythonPackage rec { description = "Google Drive API Python wrapper library"; homepage = "https://github.com/iterative/PyDrive2"; changelog = "https://github.com/iterative/PyDrive2/releases/tag/${version}"; + # Not compatible with pyopenssl 24.3.0 + # https://github.com/iterative/PyDrive2/issues/361 + # TODO: re-enable it in `duplicity` when fixed + broken = true; license = licenses.asl20; maintainers = with maintainers; [ sei40kr ]; }; From 3b6ea0172468824acf24824af7f81dc758530eab Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Mon, 30 Dec 2024 04:15:22 +0100 Subject: [PATCH 2/2] duplicity: Disable pydrive2 support It does not currently work due to pyopenssl incompatibility. --- pkgs/by-name/du/duplicity/package.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/du/duplicity/package.nix b/pkgs/by-name/du/duplicity/package.nix index 6417b0b8f1db3..1b2e9ed23c2bd 100644 --- a/pkgs/by-name/du/duplicity/package.nix +++ b/pkgs/by-name/du/duplicity/package.nix @@ -88,7 +88,8 @@ let paramiko pyasn1 pycrypto - pydrive2 + # Currently marked as broken. + # pydrive2 future ] ++ paramiko.optional-dependencies.invoke;