From aa0fcdab77e85bdfe749df62a2f5e37670248c44 Mon Sep 17 00:00:00 2001 From: Dominik Fleischmann Date: Wed, 3 Aug 2022 11:55:40 +0200 Subject: [PATCH] Pin flake8 to 4.0.1 and upgrade charming-actions Some of the test dependencies that rely on flake8 are failing with the latest version, therefore we will pin to 4.0.1 for now. Additionally some things have changed in charmcraft 2.0.0 breaking the previous charming-actions version, therfore we also upgrade it to 2.0.0-rc. --- .github/workflows/integrate.yaml | 2 +- .github/workflows/publish.yaml | 4 ++-- .github/workflows/release.yaml | 2 +- charms/kfp-api/tox.ini | 2 +- charms/kfp-persistence/tox.ini | 2 +- charms/kfp-profile-controller/tox.ini | 2 +- charms/kfp-schedwf/tox.ini | 2 +- charms/kfp-ui/tox.ini | 2 +- charms/kfp-viewer/tox.ini | 2 +- charms/kfp-viz/tox.ini | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index 9a18ee42..3d9f1864 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -31,7 +31,7 @@ jobs: with: fetch-depth: 0 - name: Check libs - uses: canonical/charming-actions/check-libraries@1.0.3 + uses: canonical/charming-actions/check-libraries@2.0.0-rc with: credentials: "${{ secrets.charmcraft-credentials }}" github-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 8db02762..39d29d17 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -29,10 +29,10 @@ jobs: with: fetch-depth: 0 - name: Select charmhub channel - uses: canonical/charming-actions/channel@1.0.3 + uses: canonical/charming-actions/channel@2.0.0-rc id: channel - name: Upload charm to charmhub - uses: canonical/charming-actions/upload-charm@1.0.3 + uses: canonical/charming-actions/upload-charm@2.0.0-rc with: credentials: ${{ secrets.charmcraft-credentials }} github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6cb93d79..6e171da8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,7 +21,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Release charm to channel - uses: canonical/charming-actions/release-charm@1.0.3 + uses: canonical/charming-actions/release-charm@2.0.0-rc with: credentials: ${{ secrets.CHARMCRAFT_CREDENTIALS }} github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/charms/kfp-api/tox.ini b/charms/kfp-api/tox.ini index 9a6358ee..2683a435 100644 --- a/charms/kfp-api/tox.ini +++ b/charms/kfp-api/tox.ini @@ -33,7 +33,7 @@ commands = description = Check code against coding style standards deps = black - flake8 + flake8==4.0.1 flake8-docstrings flake8-copyright flake8-builtins diff --git a/charms/kfp-persistence/tox.ini b/charms/kfp-persistence/tox.ini index b857b871..200f50bd 100644 --- a/charms/kfp-persistence/tox.ini +++ b/charms/kfp-persistence/tox.ini @@ -33,7 +33,7 @@ commands = description = Check code against coding style standards deps = black - flake8 + flake8==4.0.1 flake8-docstrings flake8-copyright flake8-builtins diff --git a/charms/kfp-profile-controller/tox.ini b/charms/kfp-profile-controller/tox.ini index c557c537..81c31a2c 100644 --- a/charms/kfp-profile-controller/tox.ini +++ b/charms/kfp-profile-controller/tox.ini @@ -33,7 +33,7 @@ commands = description = Check code against coding style standards deps = black - flake8 + flake8==4.0.1 flake8-docstrings flake8-copyright flake8-builtins diff --git a/charms/kfp-schedwf/tox.ini b/charms/kfp-schedwf/tox.ini index b857b871..200f50bd 100644 --- a/charms/kfp-schedwf/tox.ini +++ b/charms/kfp-schedwf/tox.ini @@ -33,7 +33,7 @@ commands = description = Check code against coding style standards deps = black - flake8 + flake8==4.0.1 flake8-docstrings flake8-copyright flake8-builtins diff --git a/charms/kfp-ui/tox.ini b/charms/kfp-ui/tox.ini index b857b871..200f50bd 100644 --- a/charms/kfp-ui/tox.ini +++ b/charms/kfp-ui/tox.ini @@ -33,7 +33,7 @@ commands = description = Check code against coding style standards deps = black - flake8 + flake8==4.0.1 flake8-docstrings flake8-copyright flake8-builtins diff --git a/charms/kfp-viewer/tox.ini b/charms/kfp-viewer/tox.ini index b857b871..200f50bd 100644 --- a/charms/kfp-viewer/tox.ini +++ b/charms/kfp-viewer/tox.ini @@ -33,7 +33,7 @@ commands = description = Check code against coding style standards deps = black - flake8 + flake8==4.0.1 flake8-docstrings flake8-copyright flake8-builtins diff --git a/charms/kfp-viz/tox.ini b/charms/kfp-viz/tox.ini index b857b871..200f50bd 100644 --- a/charms/kfp-viz/tox.ini +++ b/charms/kfp-viz/tox.ini @@ -33,7 +33,7 @@ commands = description = Check code against coding style standards deps = black - flake8 + flake8==4.0.1 flake8-docstrings flake8-copyright flake8-builtins