python310Packages.chalice: 1.26.6 -> 1.27.1

This commit is contained in:
Jiajie Chen 2022-07-18 15:29:06 +08:00 committed by Sandro Jäckel
parent dcbb0e5f55
commit 2825ccd27e
No known key found for this signature in database
GPG Key ID: B1763F8651144063

View File

@ -24,15 +24,22 @@
buildPythonPackage rec {
pname = "chalice";
version = "1.26.6";
version = "1.27.1";
src = fetchFromGitHub {
owner = "aws";
repo = pname;
rev = version;
sha256 = "sha256-6Y5pJg6N/F97zvkyo4r6MoThi79kI53AvlHNOmOCpFA=";
sha256 = "sha256-Qz8kYXu2NmcgtW8GbmLPfB4BOearEycE6EMmQRXmWeI=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "attrs>=19.3.0,<21.5.0" "attrs" \
--replace "pip>=9,<22.2" "pip" \
--replace "typing==3.6.4" "typing"
'';
propagatedBuildInputs = [
attrs
botocore
@ -58,13 +65,6 @@ buildPythonPackage rec {
websocket-client
];
postPatch = ''
sed -i setup.py -e "/pip>=/c\'pip',"
substituteInPlace setup.py \
--replace "typing==3.6.4" "typing" \
--replace "jmespath>=0.9.3,<1.0.0" "jmespath>=0.9.3,<2.0.0"
'';
disabledTestPaths = [
# Don't check the templates and the sample app
"chalice/templates"