python3Packages.kaggle: unbreak, removing useless slugify dep

This commit is contained in:
freezeboy 2020-11-18 16:42:16 +01:00 committed by Jonathan Ringer
parent 78942ee55f
commit b5a2e19005

View file

@ -20,10 +20,12 @@ buildPythonPackage rec {
};
# 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 'urllib3 >= 1.21.1, < 1.25' 'urllib3' \
--replace " 'slugify'," " "
'';
propagatedBuildInputs = [
certifi