From ff02206c532d39a5ba663246433c2acce857c4d2 Mon Sep 17 00:00:00 2001 From: Prabhat Dwivedi Date: Fri, 26 Apr 2024 00:19:19 -0700 Subject: [PATCH 1/2] Fix black in release yaml (#431) Removing black in release.yml as black check is already done in build.yml (cherry picked from commit 3ae074b219186e90fa9ee0104dd11ddc5a527bd1) --- .github/workflows/release.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dc6e4c6e..7be7eacf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,12 +19,7 @@ jobs: - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python-version }} - - name: black - uses: psf/black@stable # Black - with: - version: "22.6.0" - options: "--check --extend-exclude tests/escript/scripts/" + python-version: 3.7 - name: Setup env run: | python -m pip install --upgrade pip From 68e9c8e71de8720858d06859f35982cb41e44413 Mon Sep 17 00:00:00 2001 From: Prabhat Dwivedi Date: Fri, 26 Apr 2024 07:26:19 +0000 Subject: [PATCH 2/2] use matrix python version --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7be7eacf..f415cb6f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: ${{ matrix.python-version }} - name: Setup env run: | python -m pip install --upgrade pip