python3Packages.kaggle: 1.5.13 -> 1.5.16
This commit is contained in:
parent
fc66242d50
commit
dee3ae5172
1 changed files with 4 additions and 10 deletions
|
@ -8,25 +8,18 @@
|
|||
, requests
|
||||
, tqdm
|
||||
, urllib3
|
||||
, bleach
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "kaggle";
|
||||
version = "1.5.13";
|
||||
version = "1.5.16";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-g2TFbDYSXLgZWHbZEdC8nvvBcxZ+ljuenveTeJupp/4=";
|
||||
sha256 = "sha256-prNUL1kM80GlrUQdWuAhvpO9ZEQclsdYsVSQNJWjpgA=";
|
||||
};
|
||||
|
||||
# The version bounds in the setup.py file are unnecessarily restrictive.
|
||||
# They have both python-slugify and slugify, don't know why
|
||||
patchPhase = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace 'urllib3 >= 1.21.1, < 1.25' 'urllib3' \
|
||||
--replace " 'slugify'," " "
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
certifi
|
||||
python-dateutil
|
||||
|
@ -35,6 +28,7 @@ buildPythonPackage rec {
|
|||
six
|
||||
tqdm
|
||||
urllib3
|
||||
bleach
|
||||
];
|
||||
|
||||
# Tests try to access the network.
|
||||
|
|
Loading…
Reference in a new issue