Unverified Commit 822224a2 authored by Vladimír Čunát's avatar Vladimír Čunát Committed by GitHub
Browse files

aws-sam-cli: 1.143.0 -> 1.146.0 (#459380)

parents e95d26da 3ea6ede4
Loading
Loading
Loading
Loading
+11 −3
Original line number Diff line number Diff line
@@ -11,14 +11,14 @@

python3.pkgs.buildPythonApplication rec {
  pname = "aws-sam-cli";
  version = "1.143.0";
  version = "1.146.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "aws";
    repo = "aws-sam-cli";
    tag = "v${version}";
    hash = "sha256-QnJQ45ucziHmOkQdAT29szOljBExiIXZ2zvhiKYXBxI=";
    hash = "sha256-b0nXhhgQgV0TZ0PGYexKxsb1s7PIe+5dqjOWJiVlWJY=";
  };

  build-system = with python3.pkgs; [ setuptools ];
@@ -82,6 +82,12 @@ python3.pkgs.buildPythonApplication rec {
      xray
    ]);

  # Remove after upstream bumps click > 8.1.8
  postPatch = ''
    substituteInPlace requirements/base.txt --replace-fail \
      'click==8.1.8' 'click==${python3.pkgs.click.version}'
  '';

  postFixup = ''
    # Disable telemetry: https://github.com/aws/aws-sam-cli/issues/1272
    wrapProgram $out/bin/sam \
@@ -125,7 +131,9 @@ python3.pkgs.buildPythonApplication rec {
    "tests/unit/lib/observability/cw_logs/"
    "tests/unit/lib/build_module/"
    # Disable flaky tests
    "tests/unit/lib/samconfig/test_samconfig.py"
    "tests/unit/cli/test_main.py"
    "tests/unit/commands/samconfig/test_samconfig.py"
    "tests/unit/local/docker/test_lambda_image.py"
  ];

  disabledTests = [
+2 −2
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@

buildPythonPackage rec {
  pname = "aws-lambda-builders";
  version = "1.58.0";
  version = "1.59.0";
  pyproject = true;

  disabled = pythonOlder "3.8";
@@ -23,7 +23,7 @@ buildPythonPackage rec {
    owner = "awslabs";
    repo = "aws-lambda-builders";
    tag = "v${version}";
    hash = "sha256-rscE6eiJ2lbI/U20YRmcUj21PdB9nXpjfyBvu+msC/A=";
    hash = "sha256-US8NHNEvYlYJMurXjvlySIdKIgKjAwIws8PmnPF0J6Q=";
  };

  postPatch = ''
+2 −2
Original line number Diff line number Diff line
@@ -10,13 +10,13 @@

buildPythonPackage rec {
  pname = "ruamel-yaml";
  version = "0.18.14";
  version = "0.18.16";
  pyproject = true;

  src = fetchPypi {
    pname = "ruamel.yaml";
    inherit version;
    hash = "sha256-cie3aq7DZN8Vk2cw7799crMMC3mx1Xi7uOPcstgfUrc=";
    hash = "sha256-puWHUS88mYsiJdaKofNREcKfrRSu1WGibnP6tynsXlo=";
  };

  nativeBuildInputs = [ setuptools ];