aws-sam-cli: 1.14.0 -> 1.23.0

This commit is contained in:
Keshav Kini 2021-04-27 08:14:58 -07:00
parent 7e6dd260a8
commit ed3270a36f

View File

@ -5,11 +5,11 @@
python3.pkgs.buildPythonApplication rec {
pname = "aws-sam-cli";
version = "1.14.0";
version = "1.23.0";
src = python3.pkgs.fetchPypi {
inherit pname version;
sha256 = "E+xIS0Z3M/ilBswH8XwXWnGb9gbDRuuKKE39qau9fFc=";
sha256 = "0j0q6p08c3l9z0yc2cggw797k47cjh6ljpchiqgg0fh6mk32215f";
};
# Tests are not included in the PyPI package
@ -40,10 +40,8 @@ python3.pkgs.buildPythonApplication rec {
# fix over-restrictive version bounds
postPatch = ''
substituteInPlace requirements/base.txt \
--replace "boto3~=1.14.23" "boto3~=1.14" \
--replace "dateparser~=0.7" "dateparser>=0.7" \
--replace "docker~=4.2.0" "docker>=4.2.0" \
--replace "python-dateutil~=2.6, <2.8.1" "python-dateutil~=2.6" \
--replace "requests==2.23.0" "requests~=2.24" \
--replace "watchdog==0.10.3" "watchdog"
'';