From 9e3f5f19e27cf5850f8e5732aea85d9ed5486721 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Thu, 24 Aug 2023 01:00:06 +1000 Subject: [PATCH] Update requirements file and fix minimum pre-commit version The `.python-version` file is using Python 3.6 which is really `3.6.15`. When installing pre-commit with pip under 3.6 it installs pre-commit version `2.17.0`. So I have downgraded the min pre-commit version. Also I have removed the cloudmonkey package from the requirements file as we now use the Go CLI When using Python 3 you cannot even install the original requirments.txt file. The pre-commit package has also been added to the requirements file --- .pre-commit-config.yaml | 2 +- requirements.txt | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f7c3c0f90e17..eeb8222c32c3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,7 @@ default_stages: [commit, push] default_language_version: # force all unspecified Python hooks to run python3 python: python3 -minimum_pre_commit_version: "2.18.0" +minimum_pre_commit_version: "2.17.0" repos: - repo: meta hooks: diff --git a/requirements.txt b/requirements.txt index 187beba28831..96f8c9c1e70b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,10 +15,9 @@ # specific language governing permissions and limitations # under the License. -# Install the latest version of cloudmonkey -cloudmonkey - # Marvin dependencies are installed via its bundle +pre-commit + # Install the SolidFire SDK for Python solidfire-sdk-python