From a18b73453d4a90210926fde7ffe5917c6ecf58f1 Mon Sep 17 00:00:00 2001 From: "Lucas Shen Y. S" Date: Sun, 25 Dec 2022 22:31:10 +0800 Subject: [PATCH 1/4] Debugging failed Python 3.6 build --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 299ccea..cd534f4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ jobs: python-version: ['3.6','3.7', '3.8', '3.9', '3.10'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v3 with: From f435e497e170a3ae417c2410552a711ea9fff008 Mon Sep 17 00:00:00 2001 From: "Lucas Shen Y. S" Date: Sun, 25 Dec 2022 22:34:28 +0800 Subject: [PATCH 2/4] Debugging failed Python 3.6 build --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cd534f4..cc2b3a4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,9 +16,9 @@ jobs: python-version: ['3.6','3.7', '3.8', '3.9', '3.10'] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies From f7821fe0d8e20dbdb72dd8f16eb47e6912b406fc Mon Sep 17 00:00:00 2001 From: "Lucas Shen Y. S" Date: Sun, 25 Dec 2022 22:38:37 +0800 Subject: [PATCH 3/4] Debugging failed Python 3.6 builds --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cc2b3a4..fbf1324 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,6 +24,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip + python -m pip install --upgrade --no-cache-dir pip python -m pip install scipy textblob pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Test with pytest From fc045654172f12248de618804d5f29fd1d62a304 Mon Sep 17 00:00:00 2001 From: "Lucas Shen Y. S" Date: Sun, 25 Dec 2022 22:41:49 +0800 Subject: [PATCH 4/4] Debugging * Removing Python 3.6. Not supported in current version of ubuntu (https://github.com/actions/setup-python/issues/544) * Adding Python 3.11 --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fbf1324..d840948 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.6','3.7', '3.8', '3.9', '3.10'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] steps: - uses: actions/checkout@v3 @@ -24,7 +24,6 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install --upgrade --no-cache-dir pip python -m pip install scipy textblob pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Test with pytest