Merge pull request #78928 from NixOS/staging-next

Staging next
This commit is contained in:
Frederik Rietdijk
2020-02-02 15:35:18 +01:00
committed by GitHub
64 changed files with 1582 additions and 696 deletions

View File

@@ -19,8 +19,6 @@ buildPythonPackage rec {
sha256 = "8223485841ef4731a5d4943a733295ba69d0005c4ae64c468308cc07f6960d39";
};
outputs = [ "out" "dev" ];
propagatedBuildInputs = [
dateutil
jmespath

View File

@@ -27,13 +27,13 @@ let
};
in buildPythonPackage rec {
pname = "numpy";
version = "1.18.0";
version = "1.18.1";
format = "pyproject.toml";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "a9d72d9abaf65628f0f31bbb573b7d9304e43b1e6bbae43149c17737a42764c4";
sha256 = "b6ff59cee96b454516e47e7721098e6ceebef435e3e21ac2d6c3b8b02628eb77";
};
nativeBuildInputs = [ gfortran pytest cython setuptoolsBuildHook ];

View File

@@ -30,11 +30,11 @@ let
in buildPythonPackage rec {
pname = "pandas";
version = "0.25.3";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "52da74df8a9c9a103af0a72c9d5fdc8e0183a90884278db7f386b5692a2220a4";
sha256 = "3ea6cc86931f57f18b1240572216f09922d91b19ab8a01cf24734394a3db3bec";
};
checkInputs = [ pytest glibcLocales moto hypothesis ];

View File

@@ -1,19 +1,35 @@
{ stdenv, buildPythonPackage, fetchPypi }:
{ buildPythonPackage
, fetchFromGitHub
, lib
# pythonPackages
, coverage
}:
buildPythonPackage rec {
pname = "pyparsing";
version = "2.4.6";
pname = "pyparsing";
version = "2.4.6";
src = fetchPypi {
inherit pname version;
sha256 = "4c830582a84fb022400b85429791bc551f1f4871c33f23e44f353119e92f969f";
};
src = fetchFromGitHub {
owner = "pyparsing";
repo = pname;
rev = "pyparsing_${version}";
sha256 = "1fh7s3cfr274pd6hh6zygl99842rqws98an2nkrrqj2spb9ldxcm";
};
# Not everything necessary to run the tests is included in the distribution
doCheck = false;
# https://github.com/pyparsing/pyparsing/blob/847af590154743bae61a32c3dc1a6c2a19009f42/tox.ini#L6
checkInputs = [ coverage ];
checkPhase = ''
coverage run --branch simple_unit_tests.py
coverage run --branch unitTests.py
'';
meta = with stdenv.lib; {
homepage = https://pyparsing.wikispaces.com/;
description = "An alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions";
license = licenses.mit;
};
meta = with lib; {
homepage = "https://github.com/pyparsing/pyparsing";
description = "An alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions";
license = licenses.mit;
maintainers = with maintainers; [
kamadorueda
];
};
}

View File

@@ -3,7 +3,7 @@
, atomicwrites, mock, writeText, pathlib2, wcwidth, packaging, isPyPy, python
}:
buildPythonPackage rec {
version = "5.3.2";
version = "5.3.5";
pname = "pytest";
disabled = !isPy3k;
@@ -15,7 +15,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "6b571215b5a790f9b41f19f3531c53a45cf6bb8ef2988bc1ff9afb38270b25fa";
sha256 = "0d5fe9189a148acc3c3eb2ac8e1ac0742cb7618c084f3d228baaec0c254b318d";
};
checkInputs = [ hypothesis mock ];

View File

@@ -21,8 +21,6 @@ buildPythonPackage rec {
sha256 = "6efc926738a3cd576c2a79725fed9afde92378aa5c6a957e3af010cb019fac9d";
};
outputs = [ "out" "dev" ];
propagatedBuildInputs =
[ botocore
] ++ stdenv.lib.optional (pythonOlder "3") futures;

View File

@@ -11,8 +11,6 @@ buildPythonPackage rec {
sha256 = "f3c5fd51747d450d4dcf6f923c81f78f811aab8205fda64b0aba34a4e48b0745";
};
outputs = [ "out" "dev" ];
NOSE_EXCLUDE = stdenv.lib.concatStringsSep "," [
"test_headers" "test_headerdict" "test_can_validate_ip_san" "test_delayed_body_read_timeout"
"test_timeout_errors_cause_retries" "test_select_multiple_interrupts_with_event"