python313Packages.twisted: enable tls for aarch64-darwin in checkPhase
twisted tests fail on aarch64-darwin due to the optional dependency
tls missing from the nativeCheckInputs and the tests not loading various
required modules. The tls (pyopenssl) module was disabled due to memory
errors in 2022 ddcb3f9ff4 which seem to be
fixed.
after enabling tls the tests succeed
https://hydra.nixos.org/build/282344425
This commit is contained in:
@@ -199,10 +199,7 @@ buildPythonPackage rec {
|
||||
++ optional-dependencies.conch
|
||||
++ optional-dependencies.http2
|
||||
++ optional-dependencies.serial
|
||||
# not supported on aarch64-darwin: https://github.com/pyca/pyopenssl/issues/873
|
||||
++ lib.optionals (
|
||||
!(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64)
|
||||
) optional-dependencies.tls;
|
||||
++ optional-dependencies.tls;
|
||||
|
||||
preCheck = ''
|
||||
export SOURCE_DATE_EPOCH=315532800
|
||||
|
||||
Reference in New Issue
Block a user