pythonPackages.sunpy: 1.0.2 -> 1.0.6

This commit is contained in:
Jonathan Ringer 2019-10-07 16:40:49 -07:00 committed by Jon
parent 68e7f9c7b9
commit d8a57e3614

View File

@ -1,4 +1,5 @@
{ lib { stdenv
, lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, numpy , numpy
@ -26,14 +27,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "sunpy"; pname = "sunpy";
version = "1.0.2"; version = "1.0.6";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sunpy"; owner = "sunpy";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0dmfzxxsjjax9wf2ljyl4z07pxbshrj828zi5qnsa9rgk4148q9x"; sha256 = "0j2yfhfxgi95rig8cfp9lvszb7694gq90jvs0xrb472hwnzgh2sk";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -67,8 +68,11 @@ buildPythonPackage rec {
export HOME=$(mktemp -d) export HOME=$(mktemp -d)
''; '';
# darwin has write permission issues
doCheck = stdenv.isLinux;
# ignore documentation tests
checkPhase = '' checkPhase = ''
pytest sunpy -k "not test_rotation" pytest sunpy -k 'not rst'
''; '';
meta = with lib; { meta = with lib; {