python310Packages.chalice: 1.26.6 -> 1.27.1
This commit is contained in:
parent
dcbb0e5f55
commit
2825ccd27e
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user