python3Packages.trio: 0.11.0 -> 0.12.1

This commit is contained in:
Jonathan Ringer 2019-10-17 02:45:45 -07:00 committed by Frederik Rietdijk
parent 46515fbada
commit 8a08ebd0ad

View File

@ -12,19 +12,20 @@
, stdenv
, jedi
, pylint
, astor
}:
buildPythonPackage rec {
pname = "trio";
version = "0.11.0";
version = "0.12.1";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "3796774aedbf5be581c68f98c79b565654876de6e9a01c6a95e3ec6cd4e4b4c3";
sha256 = "0wnnrs36arvimrfgrlbpjw3nx7lppx43yvk2b380ivv69h52i6hl";
};
checkInputs = [ pytest pyopenssl trustme jedi pylint ];
checkInputs = [ astor pytest pyopenssl trustme jedi pylint ];
# It appears that the build sandbox doesn't include /etc/services, and these tests try to use it.
checkPhase = ''
HOME="$(mktemp -d)" py.test -k 'not test_getnameinfo and not test_SocketType_resolve and not test_getprotobyname and not test_waitpid'