mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
python3Packages.sunpy: 2.1.2 -> 3.0.0
This commit is contained in:
@@ -31,12 +31,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sunpy";
|
||||
version = "2.1.2";
|
||||
version = "3.0.0";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "8bbc440e606a4f3fcbd1441150d81da6f0208adace9dc06f6afd2c9cb7c08908";
|
||||
sha256 = "sha256-N/DAvnO+S9E4tndEWpiG84P3FCFwxYNdGFxbxUVsTx8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -74,9 +74,12 @@ buildPythonPackage rec {
|
||||
|
||||
# darwin has write permission issues
|
||||
doCheck = stdenv.isLinux;
|
||||
|
||||
# ignore documentation tests
|
||||
checkPhase = ''
|
||||
PY_IGNORE_IMPORTMISMATCH=1 HOME=$(mktemp -d) pytest sunpy -k 'not rst'
|
||||
PY_IGNORE_IMPORTMISMATCH=1 HOME=$(mktemp -d) pytest sunpy -k 'not rst' \
|
||||
--deselect=sunpy/tests/tests/test_self_test.py::test_main_nonexisting_module \
|
||||
--deselect=sunpy/tests/tests/test_self_test.py::test_main_stdlib_module
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user