From 2fdae47576b43c64c8dc3eaa4fef2e9f862513d3 Mon Sep 17 00:00:00 2001 From: Duc Le Date: Fri, 1 Sep 2023 15:56:11 +0100 Subject: [PATCH] Update to Python 3.8 and switch to conda-forge --- .github/workflows/build_upload_pypi_wheels.yml | 2 ++ .github/workflows/run_tests.yml | 6 +++++- .github/workflows/test_release.yml | 2 ++ tests_and_analysis/ci_requirements.txt | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_upload_pypi_wheels.yml b/.github/workflows/build_upload_pypi_wheels.yml index f3da7a6e2..9fcff4bb4 100644 --- a/.github/workflows/build_upload_pypi_wheels.yml +++ b/.github/workflows/build_upload_pypi_wheels.yml @@ -41,6 +41,8 @@ jobs: uses: conda-incubator/setup-miniconda@v2 with: python-version: ${{ matrix.python-version }} + channels: conda-forge,defaults + channel-priority: true - name: Update Python pip, wheel, and twine shell: bash -l {0} run: | diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 032a6b703..83a4ca483 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -24,7 +24,9 @@ jobs: - uses: actions/checkout@v3 - uses: conda-incubator/setup-miniconda@v2 with: - python-version: 3.7 + python-version: 3.8 + channels: conda-forge,defaults + channel-priority: true - name: Install llvm on Macos if: startsWith(matrix.os, 'macos') run: brew install llvm @@ -68,6 +70,8 @@ jobs: - uses: conda-incubator/setup-miniconda@v2 with: python-version: 3.8 + channels: conda-forge,defaults + channel-priority: true - name: Update pip and install dependencies shell: bash -l {0} run: | diff --git a/.github/workflows/test_release.yml b/.github/workflows/test_release.yml index eec433de9..91456e2e8 100644 --- a/.github/workflows/test_release.yml +++ b/.github/workflows/test_release.yml @@ -18,6 +18,8 @@ jobs: - uses: conda-incubator/setup-miniconda@v2 with: python-version: 3.8 + channels: conda-forge,defaults + channel-priority: true - name: Install llvm on Macos if: startsWith(matrix.os, 'macos') run: brew install llvm diff --git a/tests_and_analysis/ci_requirements.txt b/tests_and_analysis/ci_requirements.txt index 27c195bbd..cea4f609d 100644 --- a/tests_and_analysis/ci_requirements.txt +++ b/tests_and_analysis/ci_requirements.txt @@ -1 +1 @@ -tox==3.14.5 +tox==3.28.0