From c00160bc05d79db88561a07f49d23b77b0141c84 Mon Sep 17 00:00:00 2001 From: Noah Beard Date: Mon, 22 May 2023 15:06:25 -0400 Subject: [PATCH 1/4] Fix CI failing due to Python version --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d6704f2..db5d58a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: '3.6' + python-version: '3.6.15' - name: Unit tests run: | python3 setup.py install @@ -49,4 +49,4 @@ jobs: pip install pytest pip install mock pip install boto3 - ./test-integration/run/run.sh ${{ matrix.test-type }} 1000 100 7 \ No newline at end of file + ./test-integration/run/run.sh ${{ matrix.test-type }} 1000 100 7 From 7f60bc4111d960c94e862b1561f31c190e00d5b3 Mon Sep 17 00:00:00 2001 From: Noah Beard Date: Mon, 22 May 2023 15:10:26 -0400 Subject: [PATCH 2/4] Pin the ubuntu version so we can also pin the Python version --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db5d58a..af1ed56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ env: jobs: unit-tests: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: fail-fast: false @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: '3.6.15' + python-version: '3.7.16' - name: Unit tests run: | python3 setup.py install From 1cd8dfc28cd07e9245c041a84985ce2fbc28de43 Mon Sep 17 00:00:00 2001 From: Noah Beard Date: Mon, 22 May 2023 15:12:33 -0400 Subject: [PATCH 3/4] Use a slightly older Ubuntu so we can use the same Python version --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index af1ed56..16a0b6e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ env: jobs: unit-tests: - runs-on: ubuntu-22.04 + runs-on: ubuntu-20.04 strategy: fail-fast: false @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: '3.7.16' + python-version: '3.6.15' - name: Unit tests run: | python3 setup.py install From d7dadff35f46615a0073337f02fa5bc5ef227b19 Mon Sep 17 00:00:00 2001 From: Noah Beard Date: Mon, 22 May 2023 18:26:09 -0400 Subject: [PATCH 4/4] CR: use python 3.6.7 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16a0b6e..8ff9adb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: '3.6.15' + python-version: '3.6.7' - name: Unit tests run: | python3 setup.py install