Merge branch 'master' into staging-next

This commit is contained in:
Jan Tojnar
2020-10-11 00:27:21 +02:00
52 changed files with 570 additions and 352 deletions

View File

@@ -3,7 +3,7 @@
, isPy27
, fetchFromGitHub
, fetchpatch
, pytest
, pytestCheckHook
, unittest2
, future
, numpy
@@ -16,7 +16,7 @@
buildPythonPackage rec {
pname = "batchgenerators";
version = "0.20.0";
version = "0.20.1";
disabled = isPy27;
@@ -24,11 +24,12 @@ buildPythonPackage rec {
owner = "MIC-DKFZ";
repo = pname;
rev = "v${version}";
sha256 = "0cc3i4wznqb7lk8n6jkprvkpsby6r7khkxqwn75k8f01mxgjfpvf";
sha256 = "1f91yflv9rschyl5bnfn735hp1rxrzcxkx18aajmlzb067h0ip8m";
};
patches = [
# lift Pillow bound; should be merged in next release
(fetchpatch {
url = "https://github.com/MIC-DKFZ/batchgenerators/pull/59.patch";
sha256 = "171b3dm40yn0wi91m9s2nq3j565s1w39jpdf1mvc03rn75i8vdp0";
@@ -39,9 +40,7 @@ buildPythonPackage rec {
future numpy pillow scipy scikitlearn scikitimage threadpoolctl
];
checkInputs = [ pytest unittest2 ];
checkPhase = "pytest tests";
checkInputs = [ pytestCheckHook unittest2 ];
meta = {
description = "2D and 3D image data augmentation for deep learning";

View File

@@ -1,5 +1,5 @@
{ buildPythonPackage
, fetchFromGitHub
, fetchPypi
, pytest
, six
, tqdm
@@ -19,14 +19,11 @@
buildPythonPackage rec {
pname = "internetarchive";
version = "1.9.4";
version = "1.9.5";
# Can't use pypi, data files for tests missing
src = fetchFromGitHub {
owner = "jjjake";
repo = "internetarchive";
rev = "v${version}";
sha256 = "10xlblj21hanahsmw6lfggbrbpw08pdmvdgds1p58l8xd4fazli8";
src = fetchPypi {
inherit pname version;
sha256 = "759053685c75e6e969d690043b82643c4016500abcbbc44e4daf52ec097a9a15";
};
propagatedBuildInputs = [
@@ -50,6 +47,8 @@ buildPythonPackage rec {
LC_ALL=en_US.utf-8 pytest tests
'';
pythonImportsCheck = [ "internetarchive" ];
meta = with lib; {
description = "A Python and Command-Line Interface to Archive.org";
homepage = "https://github.com/jjjake/internetarchive";

View File

@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "mocket";
version = "3.9.0";
version = "3.9.1";
src = fetchPypi {
inherit pname version;
sha256 = "1n1h9xbi1my0vgjsh7mfkd51qfa6imjzxnwqccsvshqa8grcv1wm";
sha256 = "1bp6642qh8fkjqgvp1vif2zbzpappbbq3sgs7vfr87inn4frc2cz";
};
patchPhase = ''

View File

@@ -9,13 +9,13 @@
buildPythonPackage rec {
pname = "PyMetno";
version = "0.5.1";
version = "0.8.1";
src = fetchFromGitHub {
repo = pname;
owner = "Danielhiversen";
rev = version;
sha256 = "1ihq1lzgzcxbg916izakx9jp0kp1vdrcdwcwwwsws838wc08ax6m";
sha256 = "1jngf0mbn5hn166pqh1ga5snwwvv7n5kv1k9kaksrfibixkvpw6h";
};
propagatedBuildInputs = [ aiohttp async-timeout pytz xmltodict ];

View File

@@ -1,5 +1,6 @@
{ stdenv
, buildPythonPackage
, isPy3k
, fetchPypi
, pep8
}:
@@ -8,6 +9,8 @@ buildPythonPackage rec {
pname = "shortuuid";
version = "1.0.1";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "3c11d2007b915c43bee3e10625f068d8a349e04f0d81f08f5fa08507427ebf1f";

View File

@@ -3,7 +3,7 @@
, isPy27
, fetchFromGitHub
, flit
, pytest
, pytestCheckHook
, pytestcov
, numpy
, scipy
@@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "threadpoolctl";
version = "2.0.0";
version = "2.1.0";
disabled = isPy27;
format = "flit";
@@ -20,13 +20,10 @@ buildPythonPackage rec {
owner = "joblib";
repo = pname;
rev = version;
sha256 = "16z4n82f004i4l1jw6qrzazda1m6v2yjnpqlp71ipa8mzy9kw7dw";
sha256 = "0sl6mp3b2gb0dvqkhnkmrp2g3r5c7clyyyxzq44xih6sw1pgx9df";
};
checkInputs = [ pytest pytestcov numpy scipy ];
checkPhase = "pytest tests -k 'not test_nested_prange_blas'";
# cython doesn't get run on the tests when added to nativeBuildInputs, breaking this test
checkInputs = [ pytestCheckHook pytestcov numpy scipy ];
meta = with lib; {
homepage = "https://github.com/joblib/threadpoolctl";