Unverified Commit ac5cb0b6 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #313396 from dbalan/awslogs-0.15.0

parents faf19144 6360b911
Loading
Loading
Loading
Loading
+6 −11
Original line number Diff line number Diff line
@@ -5,14 +5,14 @@

python3.pkgs.buildPythonApplication rec {
  pname = "awslogs";
  version = "0.14.0";
  format = "setuptools";
  version = "0.15.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "jorgebastida";
    repo = pname;
    rev = version;
    sha256 = "sha256-DrW8s0omQqLp1gaoR6k/YR11afRjUbGYrFtfYhby2b8=";
    sha256 = "sha256-o6xZqwlqAy01P+TZ0rB5rpEddWNUBzzHp7/cycpcwes=";
  };

  propagatedBuildInputs = with python3.pkgs; [
@@ -24,19 +24,14 @@ python3.pkgs.buildPythonApplication rec {
    jmespath
  ];

  nativeCheckInputs = with python3.pkgs; [
    pytestCheckHook
  ];

  postPatch = ''
    substituteInPlace setup.py \
      --replace "jmespath>=0.7.1,<1.0.0" "jmespath>=0.7.1" \
      --replace '>=3.5.*' '>=3.5'
      --replace "boto3>=1.34.75" "boto3>=1.34.58" \
  '';

  disabledTests = [
    "test_main_get_query"
    "test_main_get_with_color"
  nativeCheckInputs = with python3.pkgs; [
    pytestCheckHook
  ];

  pythonImportsCheck = [