diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 090d9ca85..ae09fce5c 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -26,7 +26,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: '3.10' - name: Setup Environment run: | pip install -e . @@ -83,7 +83,7 @@ jobs: - name: Python Setup uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: '3.10' - name: Setup conda run: | rm -rf $HOME/miniconda diff --git a/.github/workflows/benchmarks_pr.yml b/.github/workflows/benchmarks_pr.yml index 75b1c85d8..76b924e7b 100644 --- a/.github/workflows/benchmarks_pr.yml +++ b/.github/workflows/benchmarks_pr.yml @@ -26,7 +26,7 @@ jobs: - name: Python Setup uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: '3.10' - name: Setup Environment run: | pip install -e . @@ -90,7 +90,7 @@ jobs: - name: Python Setup uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: '3.10' - name: Setup conda run: | rm -rf $HOME/miniconda diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 5ad11275a..9b8bb838a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -24,7 +24,7 @@ jobs: build-docs: strategy: matrix: - python_version: ["3.9"] + python_version: ["3.10"] cuda_arch_version: ["12.1"] uses: pytorch/test-infra/.github/workflows/linux_job.yml@main with: @@ -36,7 +36,7 @@ jobs: script: | set -e set -v - apt-get update && apt-get install -y git wget gcc g++ + apt-get update && apt-get install -y -f git wget gcc g++ dialog apt-utils root_dir="$(pwd)" conda_dir="${root_dir}/conda" env_dir="${root_dir}/env" @@ -48,12 +48,12 @@ jobs: bash ./miniconda.sh -b -f -p "${conda_dir}" eval "$(${conda_dir}/bin/conda shell.bash hook)" printf "* Creating a test environment\n" - conda create --prefix "${env_dir}" -y python=3.8 + conda create --prefix "${env_dir}" -y python=3.10 printf "* Activating\n" conda activate "${env_dir}" # 2. upgrade pip, ninja and packaging - apt-get install python3.8 python3-pip unzip -y + apt-get install python3-pip unzip -y -f python3 -m pip install --upgrade pip python3 -m pip install setuptools ninja packaging -U diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6f30761c9..685a33e64 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -54,7 +54,7 @@ jobs: echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" - conda create --name ci --quiet --yes -c conda-forge python=3.8 ncurses=5 libgcc + conda create --name ci --quiet --yes -c conda-forge python=3.10 ncurses=5 libgcc conda activate ci export LD_LIBRARY_PATH="${CONDA_PREFIX}/lib:${LD_LIBRARY_PATH}" echo '::endgroup::' diff --git a/.github/workflows/nightly_build.yml b/.github/workflows/nightly_build.yml index 93737a05a..8ce894077 100644 --- a/.github/workflows/nightly_build.yml +++ b/.github/workflows/nightly_build.yml @@ -40,7 +40,6 @@ jobs: strategy: matrix: python_version: [ - ["3.8", "cp38-cp38"], ["3.9", "cp39-cp39"], ["3.10", "cp310-cp310"], ["3.11", "cp311-cp311"], @@ -85,7 +84,6 @@ jobs: strategy: matrix: python_version: [ - ["3.8", "cp38-cp38"], ["3.9", "cp39-cp39"], ["3.10", "cp310-cp310"], ["3.11", "cp311-cp311"], @@ -122,7 +120,6 @@ jobs: strategy: matrix: python_version: [ - ["3.8", "cp38-cp38"], ["3.9", "cp39-cp39"], ["3.10", "cp310-cp310"], ["3.11", "cp311-cp311"], @@ -187,7 +184,6 @@ jobs: strategy: matrix: python_version: [ - ["3.8", "3.8"], ["3.9", "3.9"], ["3.10", "3.10.3"], ["3.11", "3.11"], @@ -226,7 +222,6 @@ jobs: strategy: matrix: python_version: [ - ["3.8", "3.8"], ["3.9", "3.9"], ["3.10", "3.10.3"], ["3.11", "3.11"], @@ -286,7 +281,6 @@ jobs: strategy: matrix: python_version: [ - ["3.8", "3.8"], ["3.9", "3.9"], ["3.10", "3.10.3"], ["3.11", "3.11"], diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml index 546f65a40..81121076a 100644 --- a/.github/workflows/test-linux.yml +++ b/.github/workflows/test-linux.yml @@ -22,7 +22,7 @@ jobs: test-gpu: strategy: matrix: - python_version: ["3.8"] + python_version: ["3.10"] cuda_arch_version: ["12.1"] fail-fast: false uses: pytorch/test-infra/.github/workflows/linux_job.yml@main @@ -54,7 +54,7 @@ jobs: test-cpu: strategy: matrix: - python_version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python_version: ["3.9", "3.10", "3.11", "3.12"] fail-fast: false uses: pytorch/test-infra/.github/workflows/linux_job.yml@main with: @@ -80,7 +80,7 @@ jobs: test-stable-gpu: strategy: matrix: - python_version: ["3.8"] + python_version: ["3.10"] cuda_arch_version: ["12.1"] fail-fast: false uses: pytorch/test-infra/.github/workflows/linux_job.yml@main @@ -113,7 +113,7 @@ jobs: test-stable-cpu: strategy: matrix: - python_version: ["3.8", "3.11"] + python_version: ["3.9", "3.12"] fail-fast: false uses: pytorch/test-infra/.github/workflows/linux_job.yml@main with: diff --git a/.github/workflows/test-rl-gpu.yml b/.github/workflows/test-rl-gpu.yml index dea057e8b..71c7b12b6 100644 --- a/.github/workflows/test-rl-gpu.yml +++ b/.github/workflows/test-rl-gpu.yml @@ -22,7 +22,7 @@ jobs: test-gpu: strategy: matrix: - python_version: ["3.8"] + python_version: ["3.10"] cuda_arch_version: ["12.1"] fail-fast: false uses: pytorch/test-infra/.github/workflows/linux_job.yml@main diff --git a/.github/workflows/wheels-windows.yml b/.github/workflows/wheels-windows.yml index 497c523c8..884913f52 100644 --- a/.github/workflows/wheels-windows.yml +++ b/.github/workflows/wheels-windows.yml @@ -18,7 +18,7 @@ jobs: runs-on: windows-latest strategy: matrix: - python_version: [["3.8", "3.8"], ["3.9", "3.9"], ["3.10", "3.10.3"], ["3.11", "3.11"], ["3.12", "3.12"]] + python_version: [["3.9", "3.9"], ["3.10", "3.10.3"], ["3.11", "3.11"], ["3.12", "3.12"]] steps: - name: Setup Python uses: actions/setup-python@v2 @@ -50,7 +50,7 @@ jobs: needs: build-wheel-windows strategy: matrix: - python_version: ["3.8", "3.9", "3.10", "3.11", "3.12" ] + python_version: ["3.9", "3.10", "3.11", "3.12" ] runs-on: windows-latest steps: - name: Setup Python