[Fix] Fix CI failed due to the version of setuptools (#2530)

* debug build_cu102 ci jobs

* debug build_cu102 ci jobs

* add tmate ssh

* add tmate ssh

* install specified version for setuptools

* revert comments of ci jobs

* revert comments of ci jobs

* specify setuptools version for build_cu116
pull/2483/head
yancong 2023-01-08 14:31:21 +08:00 committed by GitHub
parent 538bdaacb6
commit 859d84c5b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -277,6 +277,10 @@ jobs:
# pstuil is an optional package to detect the number of CPU for compiling mmcv
- name: Install psutil
run: python -m pip install psutil
# the directory for header files for the Python C-API could be wrong since setuptools>=65.2.0
- name: Install specified version for setuptools when python==3.10
run: python -m pip install 'setuptools<=65.1.0'
if: ${{matrix.python-version == '3.10'}}
- name: Build and install
run: rm -rf .eggs && python -m pip install -e .
- name: Validate the installation
@ -332,6 +336,10 @@ jobs:
# pstuil is an optional package to detect the number of CPU for compiling mmcv
- name: Install psutil
run: python -m pip install psutil
# the directory for header files for the Python C-API could be wrong since setuptools>=65.2.0
- name: Install specified version for setuptools when python==3.10
run: python -m pip install 'setuptools<=65.1.0'
if: ${{matrix.python-version == '3.10'}}
- name: Build and install
run: rm -rf .eggs && python -m pip install -e .
- name: Validate the installation