3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #156623 from siraben/txtorcon-aarch64-darwin

python3Packages.txtorcon: disable tests on aarch64-darwin
This commit is contained in:
Ben Siraphob 2022-01-24 16:20:25 -06:00 committed by GitHub
commit a3636bc91b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ lib, python, buildPythonPackage, pythonOlder, fetchPypi, isPy3k, incremental, ipaddress, twisted
{ lib, stdenv, python, buildPythonPackage, pythonOlder, fetchPypi, isPy3k, incremental, ipaddress, twisted
, automat, zope_interface, idna, pyopenssl, service-identity, pytest, mock, lsof
, GeoIP}:
@ -22,6 +22,7 @@ buildPythonPackage rec {
# as Python 3.5.
disabled = pythonOlder "3.5";
doCheck = !(stdenv.isDarwin && stdenv.isAarch64);
checkPhase = ''
${python.interpreter} -m twisted.trial -j $NIX_BUILD_CORES ./test
'';