From 19f4531a7d7eb366d2ed98a8340e444b2c95d84c Mon Sep 17 00:00:00 2001 From: Chris Simpkins Date: Tue, 1 Mar 2022 17:26:21 -0500 Subject: [PATCH 1/3] update setup-python GH Actions to use v2 releases across all runner env --- .github/workflows/linuxci.yml | 2 +- .github/workflows/macosci.yml | 2 +- .github/workflows/windowsci.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linuxci.yml b/.github/workflows/linuxci.yml index fc730a5..d2ba5f0 100644 --- a/.github/workflows/linuxci.yml +++ b/.github/workflows/linuxci.yml @@ -17,7 +17,7 @@ jobs: - name: Check out source repository uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} environment - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Python environment report diff --git a/.github/workflows/macosci.yml b/.github/workflows/macosci.yml index ecdbc2a..b111afa 100644 --- a/.github/workflows/macosci.yml +++ b/.github/workflows/macosci.yml @@ -17,7 +17,7 @@ jobs: - name: Check out source repository uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} environment - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Python environment report diff --git a/.github/workflows/windowsci.yml b/.github/workflows/windowsci.yml index 007c2b8..b0ae0de 100644 --- a/.github/workflows/windowsci.yml +++ b/.github/workflows/windowsci.yml @@ -17,7 +17,7 @@ jobs: - name: Check out source repository uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} environment - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Python environment report From 465c8cfbacb0e3ffc1d57c58a6fc7233efbca574 Mon Sep 17 00:00:00 2001 From: Chris Simpkins Date: Tue, 1 Mar 2022 18:26:28 -0500 Subject: [PATCH 2/3] [windowsci.yml] try to revert pip version to address #139 --- .github/workflows/windowsci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/windowsci.yml b/.github/workflows/windowsci.yml index b0ae0de..9dcd107 100644 --- a/.github/workflows/windowsci.yml +++ b/.github/workflows/windowsci.yml @@ -20,6 +20,8 @@ jobs: uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} + - name: Windows-specific Python environment workaround + run: python -m pip install --upgrade pip==21.3.1 - name: Python environment report run: python -c "import sys; print(sys.version)" - name: Run ${{ matrix.python-version }} platform tests (default) From 5cda05bbb25d67e479c1ddaf020ce3da82db792e Mon Sep 17 00:00:00 2001 From: Chris Simpkins Date: Tue, 1 Mar 2022 18:32:47 -0500 Subject: [PATCH 3/3] [README.md] update setup-python action documentation to show v2 releases --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 76edce6..e7a6738 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ jobs: - name: Check out source repository uses: actions/checkout@v2 - name: Set up Python environment - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 with: python-version: "3.8" - name: flake8 Lint @@ -49,7 +49,7 @@ jobs: - name: Check out source repository uses: actions/checkout@v2 - name: Set up Python environment - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 with: python-version: "3.8" - name: flake8 Lint