From 57fc8d9a252faec92addc6b35b3add014bf56da4 Mon Sep 17 00:00:00 2001 From: Nicolas Wittler Date: Thu, 25 Jan 2024 15:14:51 +0100 Subject: [PATCH] Fix python to 3.9 --- .github/workflows/build_package.yml | 2 +- .github/workflows/coverage.yml | 4 ++-- .github/workflows/format_lint.yml | 4 ++-- .github/workflows/nightly_pypi.yml | 6 +++--- .github/workflows/notebook_test.yml | 2 +- .github/workflows/publish_pypi.yml | 6 +++--- CONTRIBUTING.md | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build_package.yml b/.github/workflows/build_package.yml index c295efc1..8218127f 100644 --- a/.github/workflows/build_package.yml +++ b/.github/workflows/build_package.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.7, 3.8, 3.9] + python-version: [3.9] env: OS: ${{ matrix.os }} PYTHON: ${{ matrix.python-version }} diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 617bebd1..533dbdcb 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -13,10 +13,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7] + python-version: [3.9] env: OS: 'ubuntu-latest' - PYTHON: '3.7' + PYTHON: '3.9' steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} diff --git a/.github/workflows/format_lint.yml b/.github/workflows/format_lint.yml index 39c36ae2..c764f8ab 100644 --- a/.github/workflows/format_lint.yml +++ b/.github/workflows/format_lint.yml @@ -13,10 +13,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7] + python-version: [3.9] env: OS: 'ubuntu-latest' - PYTHON: '3.7' + PYTHON: '3.9' steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} diff --git a/.github/workflows/nightly_pypi.yml b/.github/workflows/nightly_pypi.yml index 42c55c61..d36bf202 100644 --- a/.github/workflows/nightly_pypi.yml +++ b/.github/workflows/nightly_pypi.yml @@ -11,10 +11,10 @@ jobs: - uses: actions/checkout@master with: ref: 'dev' - - name: Set up Python 3.7 + - name: Set up Python 3.9 uses: actions/setup-python@v1 with: - python-version: 3.7 + python-version: 3.9 - name : Install Prerequisites run : | sudo apt-add-repository universe @@ -49,7 +49,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.7, 3.8, 3.9] + python-version: [3.9] env: OS: ${{ matrix.os }} PYTHON: ${{ matrix.python-version }} diff --git a/.github/workflows/notebook_test.yml b/.github/workflows/notebook_test.yml index 59a835e3..864576d8 100644 --- a/.github/workflows/notebook_test.yml +++ b/.github/workflows/notebook_test.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: [3.8] + python-version: [3.9] env: OS: ${{ matrix.os }} PYTHON: ${{ matrix.python-version }} diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index 7980f4b8..12c97031 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -10,10 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@master - - name: Set up Python 3.7 + - name: Set up Python 3.9 uses: actions/setup-python@v1 with: - python-version: 3.7 + python-version: 3.9 - name : Install Prerequisites run : | sudo apt-add-repository universe @@ -45,7 +45,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.7, 3.8, 3.9] + python-version: [3.9] env: OS: ${{ matrix.os }} PYTHON: ${{ matrix.python-version }} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c8769591..3f15c7db 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -285,7 +285,7 @@ We use the [CHANGELOG.md](CHANGELOG.md) as a living document that not only recor ## Continuous Integration Checks -As previously discussed, tests are an inherent part of good code. All Pull Requests made to the repository are automatically tested on Windows, MacOS and Ubuntu with Python 3.7, 3.8 and 3.9, which come up in the PR as `Checks`, notifying you whenever a particular check is failing on any platform. Except the `Code Complexity`, all checks should be passing for your PR to be ready for review/merge. The `Codecov` bot will also comment on the PR with a report on the change in the test coverage for that particular PR. If your PR reduces the overall test coverage of the codebase, it is not yet ready and you need to add more tests. +As previously discussed, tests are an inherent part of good code. All Pull Requests made to the repository are automatically tested on Windows, MacOS and Ubuntu with Python 3.9, which come up in the PR as `Checks`, notifying you whenever a particular check is failing on any platform. Except the `Code Complexity`, all checks should be passing for your PR to be ready for review/merge. The `Codecov` bot will also comment on the PR with a report on the change in the test coverage for that particular PR. If your PR reduces the overall test coverage of the codebase, it is not yet ready and you need to add more tests. ## Code Reviews