Merge pull request #76700 from pschuprikov/fix-toggl-cli-deps

python3Packages: toggl-cli fix pendulum version bounds
This commit is contained in:
Marek Mahut 2019-12-30 17:00:51 +01:00 committed by GitHub
commit de4b7d51e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,6 @@
{ stdenv, buildPythonPackage, fetchPypi, twine, pbr, click, click-completion, validate-email,
pendulum, ptable, requests, inquirer, pythonOlder, pytest, pytestcov, pytest-mock, faker, factory_boy }:
pendulum, ptable, requests, inquirer, pythonOlder, pytest, pytestcov, pytest-mock, faker, factory_boy,
setuptools }:
buildPythonPackage rec {
@ -16,6 +17,7 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace requirements.txt \
--replace "pendulum==2.0.4" "pendulum>=2.0.4" \
--replace "click-completion==0.5.0" "click-completion>=0.5.0" \
--replace "pbr==5.1.2" "pbr>=5.1.2" \
--replace "inquirer==2.5.1" "inquirer>=2.5.1"
@ -37,6 +39,7 @@ buildPythonPackage rec {
'';
propagatedBuildInputs = [
setuptools
click
click-completion
validate-email