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

aws-gate: fix missing and outdated requirements
This commit is contained in:
kirillrdy 2024-02-08 06:33:03 +11:00 committed by GitHub
commit 3a7268f190
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 15 deletions

View File

@ -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

View File

@ -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