diff --git a/README.md b/README.md index 95dd7d22..4e9d9152 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Please follow the [GDK CLI public documentation](https://docs.aws.amazon.com/gre To install the latest version of CLI using this git repository and pip, run the following command -`pip3 install git+https://github.com/aws-greengrass/aws-greengrass-gdk-cli.git@v1.0.0` +`pip3 install git+https://github.com/aws-greengrass/aws-greengrass-gdk-cli.git@v1.1.0` Run `gdk --help` to check if the cli tool is successfully installed. diff --git a/gdk/_version.py b/gdk/_version.py index 5becc17c..6849410a 100644 --- a/gdk/_version.py +++ b/gdk/_version.py @@ -1 +1 @@ -__version__ = "1.0.0" +__version__ = "1.1.0" diff --git a/integration_tests/gdk/common/test_integ_utils.py b/integration_tests/gdk/common/test_integ_utils.py deleted file mode 100644 index e55a46b7..00000000 --- a/integration_tests/gdk/common/test_integ_utils.py +++ /dev/null @@ -1,6 +0,0 @@ -import gdk.common.utils as utils -from packaging.version import Version - - -def test_valid_cli_latest_version(): - assert Version(utils.get_latest_cli_version()) >= Version(utils.cli_version) diff --git a/tests/gdk/common/test_utils.py b/tests/gdk/common/test_utils.py index 9ae93d64..96ed0e59 100644 --- a/tests/gdk/common/test_utils.py +++ b/tests/gdk/common/test_utils.py @@ -131,8 +131,8 @@ def test_get_latest_cli_version_invalid_request(mocker): res_text = "__version__ = 1.0.0" mock_response = mocker.Mock(status_code=200, text=lambda: res_text) mock_get_version = mocker.patch("requests.get", return_value=mock_response, side_effect=HTTPError("hi")) - - assert utils.get_latest_cli_version() == "1.0.0" + # Since the request failed, it'll be the version of the cli tool installed. + assert utils.get_latest_cli_version() == utils.cli_version assert mock_get_version.called