Merge pull request #82163 from jluttine/pythonPackages.pvlib-0.7.1

pythonPackages.pvlib: 0.7.0 -> 0.7.1
This commit is contained in:
Jon 2020-03-10 10:24:17 -07:00 committed by GitHub
commit a9ee0b3bb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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