python3Packages.aws-sam-translator: 1.47.0 -> 1.55.0
This commit is contained in:
parent
834f4dc87a
commit
ce7ca24385
|
@ -5,16 +5,19 @@
|
|||
, jsonschema
|
||||
, mock
|
||||
, parameterized
|
||||
, pydantic
|
||||
, pytest-env
|
||||
, pytest-rerunfailures
|
||||
, pytest-xdist
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pyyaml
|
||||
, six
|
||||
, typing-extensions
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aws-sam-translator";
|
||||
version = "1.47.0";
|
||||
version = "1.55.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
@ -23,13 +26,14 @@ buildPythonPackage rec {
|
|||
owner = "aws";
|
||||
repo = "serverless-application-model";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-FYEJ+mMxb8+OXUVeyLbAqOnujNi/wNhvAl4Lh4ZeE0I=";
|
||||
sha256 = "sha256-YDqdd4zKInttHDl04kvAgHKtc1vBryW12QfE0wiLU54=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
boto3
|
||||
jsonschema
|
||||
six
|
||||
pydantic
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
@ -43,6 +47,8 @@ buildPythonPackage rec {
|
|||
mock
|
||||
parameterized
|
||||
pytest-env
|
||||
pytest-rerunfailures
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
pyyaml
|
||||
];
|
||||
|
@ -52,6 +58,16 @@ buildPythonPackage rec {
|
|||
"test_errors_13_error_definitionuri"
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
# samtranslator.translator.arn_generator.NoRegionFound: AWS Region cannot be found
|
||||
"--deselect tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_transform_template_translate::test_sar_success_one_app"
|
||||
"--deselect tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_transform_template_translate::test_sar_throttling_doesnt_stop_processing"
|
||||
"--deselect tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_transform_template_translate::test_sleep_between_sar_checks"
|
||||
"--deselect tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_transform_template_translate::test_unexpected_sar_error_stops_processing"
|
||||
"--deselect tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_and_on_after_transform_template::test_time_limit_exceeds_between_combined_sar_calls"
|
||||
"--deselect tests/unit/test_region_configuration.py::TestRegionConfiguration::test_is_service_supported_positive_4_ec2"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"samtranslator"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue