Unverified Commit 3a7268f1 authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

Merge pull request #286178 from tirimia/fix/aws-gate-requirements

aws-gate: fix missing and outdated requirements
parents aef7c94e 52c2bbe1
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -38,14 +38,3 @@ index ac37c2f..9743415 100644
     elif args.subcommand == "exec":
         exec(
             config=config,
diff --git a/requirements/requirements.txt b/requirements/requirements.txt
index 50b203e..8c3496f 100644
--- a/requirements/requirements.txt
+++ b/requirements/requirements.txt
@@ -3,5 +3,4 @@ cryptography==39.0.2
 marshmallow==3.19.0
 packaging==23.0
 PyYAML>=5.1,<6.1
-requests==2.28.2
 unix-ar==0.2.1
 wrapt==1.15.0
 No newline at end of file
+15 −4
Original line number Diff line number Diff line
@@ -26,14 +26,25 @@ python3Packages.buildPythonApplication rec {
  '';

  nativeBuildInputs = [
    installShellFiles
    python3Packages.pythonRelaxDepsHook
    python3Packages.setuptools
    python3Packages.wheel
    installShellFiles
  ];

  propagatedBuildInputs = [ ssm-session-manager-plugin ] ++ builtins.attrValues {
    inherit (python3Packages) marshmallow boto3 pyyaml wrapt cryptography;
  };
  pythonRelaxDeps = true;

  propagatedBuildInputs = [
    python3Packages.boto3
    python3Packages.cryptography
    python3Packages.marshmallow
    python3Packages.packaging
    python3Packages.pyyaml
    python3Packages.requests
    python3Packages.unix-ar
    python3Packages.wrapt
    ssm-session-manager-plugin
  ];

  postInstall = ''
    installShellCompletion --bash completions/bash/aws-gate