From c4d8f00a0b4bdaac62de48eaf3ddc06a7f64207e Mon Sep 17 00:00:00 2001 From: James Krieger Date: Thu, 5 Oct 2023 12:26:26 +0200 Subject: [PATCH 1/3] try python 2.8 --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c017b946a..951201973 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["2.7", "3.7", "3.8", "3.9", "3.10"] + python-version: ["2.8", "3.7", "3.8", "3.9", "3.10"] steps: - uses: actions/checkout@v2 @@ -30,7 +30,7 @@ jobs: conda create --yes -n test python=${{ matrix.python-version }} source activate test conda install --yes numpy scipy nose pyparsing requests - if [[ ${{ matrix.python-version }} == "2.7" ]]; then conda install --yes unittest2; fi + if [[ ${{ matrix.python-version }} == "2.8" ]]; then conda install --yes unittest2; fi pip install mmtf-python pip install . python setup.py build_ext --inplace --force From 6e01d4f8972a90890cf99df296bbfa60cb911cbc Mon Sep 17 00:00:00 2001 From: James Krieger Date: Thu, 5 Oct 2023 13:21:09 +0200 Subject: [PATCH 2/3] retry 2.7 but with setup v2 --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 951201973..b14c6ea91 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,12 +13,12 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["2.8", "3.7", "3.8", "3.9", "3.10"] + python-version: ["2.7", "3.7", "3.8", "3.9", "3.10"] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} - uses: MatteoH2O1999/setup-python@v1 + uses: MatteoH2O1999/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Add conda to system path From 8e19f0893895ddc34399c8525495e408035e7a3a Mon Sep 17 00:00:00 2001 From: James Krieger Date: Thu, 5 Oct 2023 13:25:35 +0200 Subject: [PATCH 3/3] fix missed 2.8 --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b14c6ea91..dd362d7f5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,7 +30,7 @@ jobs: conda create --yes -n test python=${{ matrix.python-version }} source activate test conda install --yes numpy scipy nose pyparsing requests - if [[ ${{ matrix.python-version }} == "2.8" ]]; then conda install --yes unittest2; fi + if [[ ${{ matrix.python-version }} == "2.7" ]]; then conda install --yes unittest2; fi pip install mmtf-python pip install . python setup.py build_ext --inplace --force