From 5d0491c826ad52b7490a7c1146fb65a7d78e2347 Mon Sep 17 00:00:00 2001 From: Yue Zhou <592267829@qq.com> Date: Tue, 3 Jan 2023 14:56:05 +0800 Subject: [PATCH] Fix CI error when 'numpy >= 1.24.0' (#683) * Update merge_stage_test.yml * Update re_fpn.py * Update re_fpn.py --- .github/workflows/merge_stage_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge_stage_test.yml b/.github/workflows/merge_stage_test.yml index 290192adb..b75860652 100644 --- a/.github/workflows/merge_stage_test.yml +++ b/.github/workflows/merge_stage_test.yml @@ -48,7 +48,7 @@ jobs: - name: Install other dependencies run: pip install -r requirements/tests.txt - name: Build and install - run: rm -rf .eggs && pip install -e . + run: rm -rf .eggs && pip install 'numpy < 1.24.0' && pip install -e . - name: Run unittests and generate coverage report run: | coverage run --branch --source mmrotate -m pytest tests/