From 87ac8d3d3c2aee655d51a00eb84a639c6d3283ab Mon Sep 17 00:00:00 2001 From: Carl Wilson Date: Wed, 3 May 2023 20:46:08 +0100 Subject: [PATCH 1/2] FIX: GH Actions build by removing demjson - removed demjson from requirements.txt; and - removed unnecessary pinning of `setuptools` in GH Actions build. --- .github/workflows/pr.yaml | 1 - requirements.txt | 1 - 2 files changed, 2 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 27d10dc..4ea6a3c 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -28,7 +28,6 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install "setuptools<58" pip install pytest pytest-cov if [ -f requirements.txt ]; then pip install -r requirements.txt; fi npm install -g ajv-cli diff --git a/requirements.txt b/requirements.txt index e2615fc..db06f83 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,3 @@ -demjson jsonschema pre-commit pylint From f92f518848d424974931aeda9e0026bcc7cc01af Mon Sep 17 00:00:00 2001 From: Carl Wilson Date: Wed, 3 May 2023 20:51:45 +0100 Subject: [PATCH 2/2] FIX: Install jsonlint for actions build. --- .github/workflows/pr.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 4ea6a3c..247a114 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -30,7 +30,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-cov if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - npm install -g ajv-cli + npm install -g ajv-cli jsonlint - name: Static Pylint code QA run: pylint --errors-only **/*.py - name: JSON linting