Loading pkgs/development/python-modules/aws-sam-translator/default.nix +12 −7 Original line number Diff line number Diff line Loading @@ -29,8 +29,8 @@ buildPythonPackage rec { }; postPatch = '' substituteInPlace pytest.ini \ --replace " --cov samtranslator --cov-report term-missing --cov-fail-under 95" "" # don't try to use --cov or fail on new warnings rm pytest.ini ''; propagatedBuildInputs = [ Loading @@ -49,14 +49,15 @@ buildPythonPackage rec { pyyaml ]; pythonImportsCheck = [ "samtranslator" ]; preCheck = '' sed -i '2ienv =\n\tAWS_DEFAULT_REGION=us-east-1' pytest.ini export AWS_DEFAULT_REGION=us-east-1 ''; pytestFlagsArray = [ "tests" ''-m "not slow"'' ]; disabledTests = [ # urllib3 2.0 compat "test_plugin_accepts_different_sar_client" Loading @@ -79,6 +80,10 @@ buildPythonPackage rec { __darwinAllowLocalNetworking = true; pythonImportsCheck = [ "samtranslator" ]; meta = with lib; { description = "Python library to transform SAM templates into AWS CloudFormation templates"; homepage = "https://github.com/aws/serverless-application-model"; Loading Loading
pkgs/development/python-modules/aws-sam-translator/default.nix +12 −7 Original line number Diff line number Diff line Loading @@ -29,8 +29,8 @@ buildPythonPackage rec { }; postPatch = '' substituteInPlace pytest.ini \ --replace " --cov samtranslator --cov-report term-missing --cov-fail-under 95" "" # don't try to use --cov or fail on new warnings rm pytest.ini ''; propagatedBuildInputs = [ Loading @@ -49,14 +49,15 @@ buildPythonPackage rec { pyyaml ]; pythonImportsCheck = [ "samtranslator" ]; preCheck = '' sed -i '2ienv =\n\tAWS_DEFAULT_REGION=us-east-1' pytest.ini export AWS_DEFAULT_REGION=us-east-1 ''; pytestFlagsArray = [ "tests" ''-m "not slow"'' ]; disabledTests = [ # urllib3 2.0 compat "test_plugin_accepts_different_sar_client" Loading @@ -79,6 +80,10 @@ buildPythonPackage rec { __darwinAllowLocalNetworking = true; pythonImportsCheck = [ "samtranslator" ]; meta = with lib; { description = "Python library to transform SAM templates into AWS CloudFormation templates"; homepage = "https://github.com/aws/serverless-application-model"; Loading