mirror of https://github.com/open-mmlab/mmcv.git
[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_cu116pull/2483/head
parent
538bdaacb6
commit
859d84c5b1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue