Merge pull request #166880 from amarshall/linode-cli-remove-update-check

linode-cli: Remove update check
This commit is contained in:
Ryan Mulligan 2022-04-01 16:04:25 -07:00 committed by GitHub
commit e194871435
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View file

@ -33,6 +33,10 @@ buildPythonApplication rec {
inherit sha256;
};
patches = [
./remove-update-check.patch
];
# remove need for git history
prePatch = ''
substituteInPlace setup.py \

View file

@ -0,0 +1,11 @@
--- a/linodecli/cli.py
+++ b/linodecli/cli.py
@@ -555,7 +555,7 @@
if self.debug_request:
self.print_response_debug_info(result)
- if not self.suppress_warnings:
+ if False:
# check the major/minor version API reported against what we were built
# with to see if an upgrade should be available
api_version_higher = False