Skip to content

Commit 17dcb69

Browse files
committed
python310Packages.twisted: Disable tests using legacy algos from crypt
The tests were unconiditonally using crypt methods that we don't support anymore. The patch has also been submitted upstream.
1 parent f5629a4 commit 17dcb69

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

pkgs/development/python-modules/twisted/default.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ buildPythonPackage rec {
6363
url = "https://github.com/twisted/twisted/pull/11787.diff";
6464
hash = "sha256-bQgUmbvDa61Vg8p/o/ivfkOAHyj1lTgHkrRVEGLM9aU=";
6565
})
66+
(fetchpatch {
67+
# Conditionally skip tests that require METHOD_CRYPT
68+
# https://github.com/twisted/twisted/pull/11827
69+
url = "https://github.com/mweinelt/twisted/commit/e69e652de671aac0abf5c7e6c662fc5172758c5a.patch";
70+
hash = "sha256-LmvKUTViZoY/TPBmSlx4S9FbJNZfB5cxzn/YcciDmoI=";
71+
})
6672
] ++ lib.optionals (pythonAtLeast "3.11") [
6773
(fetchpatch {
6874
url = "https://github.com/twisted/twisted/pull/11734.diff";

0 commit comments

Comments
 (0)