diff --git a/.github/workflows/code-style.yml b/.github/workflows/code-style.yml index 8627c0ece64..fe826456c79 100644 --- a/.github/workflows/code-style.yml +++ b/.github/workflows/code-style.yml @@ -23,7 +23,7 @@ jobs: uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: - python-version: "3.8" + python-version: "3.11" - run: | bash ./tests/run_code_style.sh install bash ./tests/run_code_style.sh fmt diff --git a/.github/workflows/hvd-tests.yml b/.github/workflows/hvd-tests.yml index 35e107f888b..c0196d1affb 100644 --- a/.github/workflows/hvd-tests.yml +++ b/.github/workflows/hvd-tests.yml @@ -28,7 +28,7 @@ jobs: timeout-minutes: 60 strategy: matrix: - python-version: [3.8] + python-version: [3.11] pytorch-channel: [pytorch] steps: diff --git a/.github/workflows/mps-tests.yml b/.github/workflows/mps-tests.yml index 4cdd01f5a21..ac63aa725e2 100644 --- a/.github/workflows/mps-tests.yml +++ b/.github/workflows/mps-tests.yml @@ -34,7 +34,7 @@ jobs: mps-tests: strategy: matrix: - python-version: [3.8] + python-version: [3.11] pytorch-channel: ["pytorch"] skip-distrib-tests: [1] fail-fast: false diff --git a/.github/workflows/pytorch-version-tests.yml b/.github/workflows/pytorch-version-tests.yml index f268669158e..0c5a0ae1c48 100644 --- a/.github/workflows/pytorch-version-tests.yml +++ b/.github/workflows/pytorch-version-tests.yml @@ -15,6 +15,8 @@ jobs: max-parallel: 5 fail-fast: false matrix: + # Here we keep python 3.8 tests until the end of the 2024 and + # will drop python version and related pytorch versions python-version: [3.8, 3.9, "3.10"] pytorch-version: [2.3.1, 2.2.2, 2.1.2, 2.0.1, 1.13.1, 1.12.1, 1.10.0, 1.8.1, 1.5.1] diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 0b94e0d0e9e..e88b1003131 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -40,18 +40,18 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12"] pytorch-channel: [pytorch, pytorch-nightly] include: # includes a single build on windows - os: windows-latest pytorch-channel: pytorch - python-version: 3.9 + python-version: 3.11 skip-distrib-tests: 1 # includes a single build on macosx - os: macos-latest pytorch-channel: pytorch - python-version: 3.9 + python-version: 3.11 skip-distrib-tests: 1 steps: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fd41e6abf86..eabbef21151 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -61,7 +61,7 @@ into the following categories: - Create an isolated conda environment for pytorch-ignite: ```bash -conda create -n pytorch-ignite-dev python=3.8 +conda create -n pytorch-ignite-dev python=3.11 ``` - Activate the newly created environment: