python3Packages.chalice: 1.28.0 -> 1.32.0 (#436043)

dotlambda 4b9ae40f 86b7779b

Changed files
+8 -24
pkgs
development
python-modules
chalice
+8 -24
pkgs/development/python-modules/chalice/default.nix
···
hypothesis,
inquirer,
jmespath,
-
mock,
mypy-extensions,
pip,
-
pytest7CheckHook,
-
pythonOlder,
+
pytestCheckHook,
pyyaml,
requests,
setuptools,
···
buildPythonPackage rec {
pname = "chalice";
-
version = "1.28.0";
-
format = "setuptools";
-
-
disabled = pythonOlder "3.7";
+
version = "1.32.0";
+
pyproject = true;
src = fetchFromGitHub {
owner = "aws";
repo = "chalice";
tag = version;
-
hash = "sha256-m3pSD4fahBW6Yt/w07Co4fTZD7k6as5cPwoK5QSry6M=";
+
hash = "sha256-7qmE78aFfq9XCl2zcx1dAVKZZb96Bu47tSW1Qp2vFl4=";
};
-
postPatch = ''
-
substituteInPlace setup.py \
-
--replace "inquirer>=2.7.0,<3.0.0" "inquirer" \
-
--replace "pip>=9,<23.1" "pip" \
-
'';
+
build-system = [ setuptools ];
-
propagatedBuildInputs = [
-
attrs
+
dependencies = [
botocore
click
inquirer
jmespath
-
mypy-extensions
pip
pyyaml
setuptools
six
-
typing-extensions
wheel
-
watchdog
];
nativeCheckInputs = [
hypothesis
-
mock
-
pytest7CheckHook
+
pytestCheckHook
requests
websocket-client
];
···
# Don't build
"test_can_generate_pipeline_for_all"
"test_build_wheel"
-
# https://github.com/aws/chalice/issues/1850
-
"test_resolve_endpoint"
-
"test_endpoint_from_arn"
# Tests require dist
"test_setup_tar_gz_hyphens_in_name"
"test_both_tar_gz"
···
description = "Python Serverless Microframework for AWS";
mainProgram = "chalice";
homepage = "https://github.com/aws/chalice";
-
changelog = "https://github.com/aws/chalice/blob/${version}/CHANGELOG.rst";
+
changelog = "https://github.com/aws/chalice/blob/${src.tag}/CHANGELOG.md";
license = licenses.asl20;
maintainers = [ ];
};