Skip to content

Commit

Permalink
Fix requirements.txt and ci (#709)
Browse files Browse the repository at this point in the history
* fix version

* fix version

* fix version

* fix deploy.yml

* fix version of pycocotools

* delete numba in build.txt
  • Loading branch information
GT9505 authored Sep 5, 2022
1 parent 487c60b commit 0eb9473
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 31 deletions.
8 changes: 4 additions & 4 deletions .circleci/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,12 @@ workflows:
<< pipeline.parameters.lint_only >>
jobs:
- build_cuda:
name: minimum_version_gpu
torch: 1.7.0
name: mainstream_version_gpu
torch: 1.8.1
# Use double quotation mark to explicitly specify its type
# as string instead of number
mmcv: https://download.openmmlab.com/mmcv/dist/cu101/torch1.6.0/mmcv-2.0.0rc1-cp37-cp37m-manylinux1_x86_64.whl
cuda: "10.1"
mmcv: https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/mmcv-2.0.0rc1-cp37-cp37m-manylinux1_x86_64.whl
cuda: "10.2"
filters:
branches:
only:
Expand Down
40 changes: 20 additions & 20 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@ name: deploy

on: push

#jobs:
# build-n-publish:
# runs-on: ubuntu-latest
# if: startsWith(github.event.ref, 'refs/tags')
# steps:
# - uses: actions/checkout@v2
# - name: Set up Python 3.7
# uses: actions/setup-python@v2
# with:
# python-version: 3.7
# - name: Install torch
# run: pip install torch
# - name: Install wheel
# run: pip install wheel
# - name: Build MMTracking
# run: python setup.py sdist bdist_wheel
# - name: Publish distribution to PyPI
# run: |
# pip install twine
# twine upload dist/* -u __token__ -p ${{ secrets.pypi_password }}
jobs:
build-n-publish:
runs-on: ubuntu-latest
if: startsWith(github.event.ref, 'refs/tags')
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install torch
run: pip install torch
- name: Install wheel
run: pip install wheel
- name: Build MMTracking
run: python setup.py sdist bdist_wheel
- name: Publish distribution to PyPI
run: |
pip install twine
twine upload dist/* -u __token__ -p ${{ secrets.pypi_password }}
2 changes: 1 addition & 1 deletion mmtrack/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
MMCV_MIN = '2.0.0rc0'
MMCV_MAX = '2.0.0'

MMDET_MIN = '2.19.1'
MMDET_MIN = '3.0.0rc0'
MMDET_MAX = '3.0.0'


Expand Down
1 change: 0 additions & 1 deletion requirements/build.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
cython
numba==0.53.0
numpy
1 change: 1 addition & 0 deletions requirements/mminstall.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
mmcls>=1.0.0rc0,<1.0.0
mmcv>=2.0.0rc1,<2.0.0
mmdet>=3.0.0rc0,<3.0.0
mmengine>=0.1.0
7 changes: 4 additions & 3 deletions requirements/readthedocs.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
mmcls>=0.16.0,<1.0.0
mmcv-full>=1.3.17,<1.7.0
mmdet>=2.19.1,<3.0.0
mmcls>=1.0.0rc0
mmcv>=2.0.0rc1
mmdet>=3.0.0rc0
mmengine>=0.1.0
torch
torchvision
4 changes: 2 additions & 2 deletions requirements/runtime.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
attributee
lap
matplotlib
mmcls>=0.16.0
mmcls>=1.0.0rc0
motmetrics
packaging
pandas<=1.3.5
pycocotools<=2.0.2
pycocotools
scikit-learn
scipy<=1.7.3
seaborn
Expand Down

0 comments on commit 0eb9473

Please sign in to comment.