Merge master into staging-next

This commit is contained in:
github-actions[bot]
2020-12-23 00:48:29 +00:00
committed by GitHub
68 changed files with 478 additions and 265 deletions

View File

@@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "boto3";
version = "1.16.40"; # N.B: if you change this, change botocore too
version = "1.16.41"; # N.B: if you change this, change botocore too
src = fetchPypi {
inherit pname version;
sha256 = "sha256-dTJogqpo4ANFLc2PD87gM5/2NiQRWSf7caa10VU1rOU=";
sha256 = "sha256-DYTobuAuMshtMONd6WgDA6SAhz3S6Z3NyDSGuS3/sDw=";
};
propagatedBuildInputs = [ botocore jmespath s3transfer ] ++ lib.optionals (!isPy3k) [ futures ];

View File

@@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "botocore";
version = "1.19.40"; # N.B: if you change this, change boto3 and awscli to a matching version
version = "1.19.41"; # N.B: if you change this, change boto3 and awscli to a matching version
src = fetchPypi {
inherit pname version;
sha256 = "sha256-6/qICsjLgTLcZleQK/VG9SzyxDJ4Vw9gyPig+JRVZVU=";
sha256 = "sha256-VKillJeoO6LYn7lPht0HtiLXtfHW6ZJSIuu8ResNY6w=";
};
propagatedBuildInputs = [

View File

@@ -4,7 +4,7 @@
}:
buildPythonPackage rec {
pname = "daphne";
version = "2.5.0";
version = "3.0.1";
disabled = !isPy3k;
@@ -12,7 +12,7 @@ buildPythonPackage rec {
owner = "django";
repo = pname;
rev = version;
sha256 = "0qkhmblj3a5s3z65cgz46xsvq1b6x4m3kr6aljjnxnv7hcwib02n";
sha256 = "1bkxhzvaqwz760c11nhaiwvsq1d1csmk5dz2a1j1ynypjprhvhsk";
};
nativeBuildInputs = [ pytestrunner ];

View File

@@ -2,15 +2,7 @@
, python
, buildPythonPackage
, fetchPypi
, pytest
, python-utils
, sphinx
, flake8
, pytest-flakes
, pytestcov
, pytestcache
, pytestrunner
, freezegun
}:
buildPythonPackage rec {
@@ -23,17 +15,12 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [ python-utils ];
nativeBuildInputs = [ pytestrunner ];
checkInputs = [
pytest sphinx flake8 pytest-flakes pytestcov
pytestcache freezegun
];
# ignore tests on the nix wrapped setup.py
checkPhase = ''
runHook preCheck
${python.interpreter} setup.py test
runHook postCheck
'';
# depends on unmaintained pytest-pep8
# https://github.com/WoLpH/python-progressbar/issues/241
doCheck = false;
pythonImportsCheck = [ "progressbar" ];
meta = with stdenv.lib; {
homepage = "https://progressbar-2.readthedocs.io/en/latest/";