mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
Merge pull request #259015 from mbalatsko/update-kaggle
python3Packages.kaggle: 1.5.13 -> 1.5.16
This commit is contained in:
commit
21eae3c0fe
@ -8,6 +8,7 @@
|
||||
, requests
|
||||
, tqdm
|
||||
, urllib3
|
||||
, bleach
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -19,14 +20,6 @@ buildPythonPackage rec {
|
||||
sha256 = "sha256-g2TFbDYSXLgZWHbZEdC8nvvBcxZ+ljuenveTeJupp/4=";
|
||||
};
|
||||
|
||||
# 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.
|
||||
@ -50,6 +44,6 @@ buildPythonPackage rec {
|
||||
description = "Official API for https://www.kaggle.com, accessible using a command line tool implemented in Python 3";
|
||||
homepage = "https://github.com/Kaggle/kaggle-api";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ];
|
||||
maintainers = with maintainers; [ mbalatsko ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user