From fad4b8baffe2bd65db199ba57844c56141683824 Mon Sep 17 00:00:00 2001 From: Karthik Nadig Date: Sun, 14 Nov 2021 22:34:51 -0800 Subject: [PATCH] Revert "Use python version 3.9 due to issues with pandas on 3.10 (#18026) * Revert "Use python version 3.9 due to issues with pandas on 3.10 #17760 (#17761)" This reverts commit be5871957ae7ec58690e277257f0b253fa81620f. * Set python for wheels --- .github/actions/smoke-tests/action.yml | 2 +- .github/workflows/build.yml | 6 +++--- .github/workflows/pr-check.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/actions/smoke-tests/action.yml b/.github/actions/smoke-tests/action.yml index 7dd4d004f172..c0142f243b75 100644 --- a/.github/actions/smoke-tests/action.yml +++ b/.github/actions/smoke-tests/action.yml @@ -21,7 +21,7 @@ runs: - name: Install Python uses: actions/setup-python@v2 with: - python-version: '3.9' + python-version: '3.x' - name: Pip cache uses: actions/cache@v2 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 37e5a628815b..aca41bc679a9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -85,7 +85,7 @@ jobs: # entry to lower the number of runners used, macOS runners are expensive, # and we assume that Ubuntu is enough to cover the UNIX case. os: [ubuntu-latest, windows-latest] - python: ['2.7', '3.9'] + python: ['2.7', '3.x'] test-suite: [ts-unit, python-unit, venv, single-workspace, multi-workspace, debugger, functional] steps: - name: Checkout @@ -125,7 +125,7 @@ jobs: - name: Install test requirements run: python -m pip install --upgrade -r build/test-requirements.txt - - name: Install debugpy wheels + - name: Install debugpy wheels (Python 3.x) run: | python -m pip install wheel python -m pip --disable-pip-version-check install -r build/debugger-install-requirements.txt @@ -133,7 +133,7 @@ jobs: shell: bash if: matrix.test-suite == 'debugger' && matrix.python != 2.7 - - name: Install debugpy wheel (Python 2.7) + - name: Install debugpy (Python 2.7) run: | python -m pip --disable-pip-version-check install -t ./pythonFiles/lib/python --no-cache-dir --implementation py --no-deps --upgrade --pre debugpy shell: bash diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index e5bc1bb7e810..8e98087fb010 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -105,13 +105,13 @@ jobs: - name: Install test requirements run: python -m pip install --upgrade -r build/test-requirements.txt - - name: Install debugpy wheels (python 3.9) + - name: Install debugpy wheels (python 3.x) run: | python -m pip install wheel python -m pip --disable-pip-version-check install -r build/debugger-install-requirements.txt python ./pythonFiles/install_debugpy.py shell: bash - if: matrix.test-suite == 'debugger' && matrix.python == 3.9 + if: matrix.test-suite == 'debugger' && matrix.python != 2.7 - name: Install debugpy (python 2.7) run: |