python3Packages.sunpy: 3.0.0 -> 3.0.1
This commit is contained in:
parent
19ca015480
commit
15fd53d352
1 changed files with 6 additions and 4 deletions
|
@ -31,12 +31,12 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "sunpy";
|
||||
version = "3.0.0";
|
||||
version = "3.0.1";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-N/DAvnO+S9E4tndEWpiG84P3FCFwxYNdGFxbxUVsTx8=";
|
||||
sha256 = "sha256-WpqkCAwDYb6L+W4VTC/1auGVbblnNYwBxbk+tZbAiBw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -75,11 +75,13 @@ buildPythonPackage rec {
|
|||
# darwin has write permission issues
|
||||
doCheck = stdenv.isLinux;
|
||||
|
||||
# ignore documentation tests
|
||||
# ignore documentation tests and ignore tests with schema issues
|
||||
checkPhase = ''
|
||||
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
|
||||
--deselect=sunpy/tests/tests/test_self_test.py::test_main_stdlib_module \
|
||||
--ignore=sunpy/io/special/asdf/schemas/sunpy.org/sunpy/coordinates/frames/heliocentric-1.0.0.yaml \
|
||||
--ignore=sunpy/io/special/asdf/schemas/sunpy.org/sunpy/coordinates/frames/helioprojective-1.0.0.yaml
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue