pythonPackages.pvlib: 0.7.0 -> 0.7.1

This commit is contained in:
Jaakko Luttinen 2020-03-09 17:03:34 +02:00
parent a21c2fa3ea
commit 350f83785d
No known key found for this signature in database
GPG key ID: 7B1CE13152E6B964

View file

@ -3,14 +3,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pvlib"; pname = "pvlib";
version = "0.7.0"; version = "0.7.1";
# Support for Python <3.5 dropped in 0.6.3 on June 1, 2019. # Support for Python <3.5 dropped in 0.6.3 on June 1, 2019.
disabled = pythonOlder "3.5"; disabled = pythonOlder "3.5";
src = fetchPypi{ src = fetchPypi{
inherit pname version; inherit pname version;
sha256 = "ee935ba52f1d4a514cc3baa743db0377af732952faf800f20ffd8071fa2107c2"; sha256 = "1kqwnkbkdv4m3r68pd39va6wqvhr34a6hx4d6q5lfkibclg35c3d";
}; };
checkInputs = [ pytest mock pytest-mock ]; checkInputs = [ pytest mock pytest-mock ];
@ -19,8 +19,8 @@ buildPythonPackage rec {
# Skip a few tests that try to access some URLs # Skip a few tests that try to access some URLs
checkPhase = '' checkPhase = ''
runHook preCheck runHook preCheck
pushd pvlib/test pushd pvlib/tests
pytest . -k "not test_read_srml_dt_index and not test_read_srml_month_from_solardata and not test_get_psm3" pytest . -k "not test_read_srml_dt_index and not test_read_srml_month_from_solardata and not test_get_psm3 and not test_pvgis"
popd popd
runHook postCheck runHook postCheck
''; '';