From 09476f0c3f0a3084a70ac3dbc5921e8faf5e80e5 Mon Sep 17 00:00:00 2001 From: "hudingchang.vendor" Date: Wed, 1 Sep 2021 20:47:18 +0800 Subject: [PATCH 1/2] Add python3.0 in CI --- .github/workflows/build.yml | 2 +- setup.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 69503dd96a..d19e6a7f4c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,7 @@ jobs: runs-on: ubuntu-18.04 strategy: matrix: - python-version: [3.6, 3.7] + python-version: [3.6, 3.7, 3.9] torch: [1.5.0+cu101, 1.6.0+cu101, 1.7.0+cu101, 1.8.0+cu101] include: - torch: 1.5.0+cu101 diff --git a/setup.py b/setup.py index e0d80c8a6c..81e58e9f35 100644 --- a/setup.py +++ b/setup.py @@ -210,6 +210,7 @@ def add_mim_extention(): 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.9', ], license='Apache License 2.0', setup_requires=parse_requirements('requirements/build.txt'), From 80e961d228e0c166ca31bb020b9f7414b2ee50f6 Mon Sep 17 00:00:00 2001 From: "hudingchang.vendor" Date: Wed, 1 Sep 2021 21:37:57 +0800 Subject: [PATCH 2/2] Add python3.0 in CI --- .github/workflows/build.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d19e6a7f4c..c0e0902aa4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,7 @@ jobs: runs-on: ubuntu-18.04 strategy: matrix: - python-version: [3.6, 3.7, 3.9] + python-version: [3.6, 3.7] torch: [1.5.0+cu101, 1.6.0+cu101, 1.7.0+cu101, 1.8.0+cu101] include: - torch: 1.5.0+cu101 @@ -60,6 +60,12 @@ jobs: mmcv: 1.8.0+cu101 torchvision: 0.9.0+cu101 cuda_arch: "7.0" + - python-version: 3.9 + torch: 1.8.0+cu101 + torch_version: torch1.8.0 + mmcv: 1.8.0+cu101 + torchvision: 0.9.0+cu101 + cuda_arch: "7.0" steps: - uses: actions/checkout@v2