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.
This commit is contained in:
Martin Weinelt 2023-03-17 11:39:49 +00:00
parent f5629a4518
commit 17dcb69237
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -63,6 +63,12 @@ buildPythonPackage rec {
url = "https://github.com/twisted/twisted/pull/11787.diff";
hash = "sha256-bQgUmbvDa61Vg8p/o/ivfkOAHyj1lTgHkrRVEGLM9aU=";
})
(fetchpatch {
# Conditionally skip tests that require METHOD_CRYPT
# https://github.com/twisted/twisted/pull/11827
url = "https://github.com/mweinelt/twisted/commit/e69e652de671aac0abf5c7e6c662fc5172758c5a.patch";
hash = "sha256-LmvKUTViZoY/TPBmSlx4S9FbJNZfB5cxzn/YcciDmoI=";
})
] ++ lib.optionals (pythonAtLeast "3.11") [
(fetchpatch {
url = "https://github.com/twisted/twisted/pull/11734.diff";