Skip to content

Commit

Permalink
[Fix] Fix CI failed due to the version of setuptools (#2530)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
ice-tong authored Jan 8, 2023
1 parent 538bdaa commit 859d84c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 859d84c

Please sign in to comment.