Zaida Zhou
406e447bcd
Bump version to 0.3.7 ( #206 )
v0.3.7
2023-03-21 19:08:06 +08:00
Ma Zerun
2a884557e1
Add MMPretrain to the PKG2PROJECT
. ( #205 )
2023-03-21 19:06:04 +08:00
Range King
81b54d6836
Add missing repos in get_official_package ( #202 )
2023-02-22 10:59:50 +08:00
Kotaro Uetake
2a6adf55cb
fix a typo ( #201 )
...
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
2023-02-14 10:28:14 +08:00
yancong
dd7f11c679
Bump version to v0.3.6 ( #200 )
v0.3.6
2023-02-04 11:43:16 +08:00
yancong
959f9c9e8c
[Fix] Fix AssertionError when importing pip before setuptools ( #198 )
...
* fix AssertionError when importing pip before setuptools
* refine comments
2023-02-04 11:41:49 +08:00
yancong
213f1b2235
Upgrade the version of isort to fix lint error ( #199 )
2023-02-04 00:07:41 +08:00
Hugo
231ffc73cb
Fix a typo in README.md ( #197 )
2023-01-28 14:20:53 +08:00
yancong
75c45590c8
Bump version to v0.3.5 ( #196 )
v0.3.5
2023-01-18 15:08:13 +08:00
Zaida Zhou
444862746d
[Refactor] Search remote package metadata from PyPI rather than Github ( #168 )
...
* [Refactor] Search remote package from PyPI
* fix format
* fix ut
* minor refine
2023-01-18 14:46:58 +08:00
Junhwa Song
8fb7776ebe
[Enhance] Add support for sequence input in --search-args option ( #195 )
...
* Add support for sequence
* Add test code
* Fix
Co-authored-by: KKIEEK <kkieek@KKIEEKui-MacBookPro.local>
2023-01-17 20:26:50 +08:00
yancong
ff137ccd34
Bump version to v0.3.4 ( #186 )
v0.3.4
2022-12-27 18:09:11 +08:00
yancong
72b31c0d7b
Deprecate distutils.version for removing warning info ( #185 )
2022-12-27 17:30:30 +08:00
kim3321
7293369781
[Enhancement] Add ignore-ssl option to disable the check certificate ( #179 )
...
* add ignore ssl certificate option
* add ignore ssl certificate option
* Reflect code review
Modify download command in Readme.md
* reflect code review
* refine docstring
* Add default value of check_certificate
* add ignorr certificate mode
* resolve bc issue
* add ignore certificate option
* add ignore certification option
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* add ignore certificate option
Co-authored-by: kim3321 <eekjt@kaist.ac.kr>
Co-authored-by: yancong <xych6@outlook.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-12-24 19:11:28 +08:00
Range King
65e02d934f
[Enhancement] Support running scripts in demo
dir ( #178 )
...
* Update run.py
* fix error
2022-12-24 11:46:26 +08:00
Hakjin Lee
244705cf03
[Enhance] Use sys.executable for calling Python ( #181 )
2022-12-23 17:04:19 +08:00
Range King
fae573e4ab
[Fix] Fix the path separator problem of run command on Windows ( #177 )
2022-12-20 10:46:30 +08:00
yancong
6d947416dd
Bump version to v0.3.3 ( #175 )
v0.3.3
2022-11-09 17:08:17 +08:00
Range King
be3a1da986
Add mmyolo in PKG2PROJECT ( #172 )
...
add mmyolo
2022-11-07 14:00:07 +08:00
Range King
55557c8cb0
[Fix] Fix the punctuation display problem and the path separator problem on Windows ( #166 )
...
* Fix punctuations
* Fix the error of path separator on Windows
2022-10-21 11:23:13 +08:00
yancong
66ba337f16
Update pre-commit config ( #167 )
2022-10-18 19:31:52 +08:00
Suraj Pattar
8066832482
Refine error message to show how to install mmengine. ( #161 )
...
* ⚡ Split error msg in two lines.
* ⚡ Remove bracket.
* ⚡ Remove triple quotes.
2022-10-11 14:34:04 +08:00
yancong
ac0d104036
Bump version to v0.3.2 ( #163 )
v0.3.2
2022-09-23 19:43:51 +08:00
yancong
d84cf6e79c
Support mim train / test / gridsearch in OpenMMLab-2.0 ( #160 )
...
* Suport openmmlab-2.0 with the following features:
- import Config from mmengine
- remove extra options for train / test / gridsearch
- create destination directory if dose not exists in `mim donwload`
- add mmengine in `mim list`
* fix ci with the following 2 problems:
- mmcv2.x have not pre-built package for torch1.5.
- patch xxx not found after install (cause by importlib.reload).
* Update mim/commands/download.py
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* dev(download): remove echo line
* support openmmlab 1.0 and 2.0
* use tests/data/lenet5_mnist_2.0.py in test case
* use tests/data/lenet5_mnist_2.0.py in test case
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-09-23 19:16:40 +08:00
yancong
ffaff8a4ec
Bump version to v0.3.1 ( #159 )
v0.3.1
2022-09-05 10:59:56 +08:00
yancong
6b36c8e83c
[Feature] Support 'python -m mim' usage ( #158 )
...
* feat(mim): support 'python -m mim' usage
* feat(mim): add test mim cli test
* move mim cli test to build.yml
2022-09-03 10:13:42 +08:00
yancong
f9898422bf
Bump version to v0.3.0 ( #156 )
v0.3.0
2022-09-01 11:43:42 +08:00
yancong
23e63429ae
use mmengine.Config instead of mmcv.Config ( #155 )
...
* use mmengine.Config instead of mmcv.Config
* install mmengine in CI
* fix mmengine install issue
2022-09-01 11:33:31 +08:00
Zaida Zhou
2d9e2da7c1
Bump version to v0.2.1 ( #146 )
v0.2.1
2022-08-02 16:49:16 +08:00
yancong
5427b1a7c6
[Fix] Fix mim --version
crash in click>=8.x ( #152 )
2022-08-02 14:23:35 +08:00
yancong
1266840d66
[Feat] Add MMCV_BASE_URL env variable to support customize mmcv find link ( #148 )
...
* feat(mim install): support specify MMCV_FIND_BASE_URL env variable
* refine(commands/install.py): add scheme and netloc check for mmcv_find_base_url
* fix(commands/install.py): add the missing f-string marker
* doc(commands/install.py): add line comment
* refine(commands/install.py): refine the output log
* refine(MMCV_BASE_URL): rename MMCV_FIND_BASE_URL to MMCV_BASE_URL
2022-07-06 23:35:02 +08:00
yancong
c869f7323d
[Docs] Fix wrong .mimrc example ( #147 )
2022-06-28 21:57:42 +08:00
Zaida Zhou
b46d2c9119
Fix packaging ( #145 )
...
* Fix packaging
* fix type hint
2022-06-27 22:44:44 +08:00
Zaida Zhou
b449e97c18
Bump version to v0.2.0 ( #141 )
v0.2.0
2022-06-24 16:35:12 +08:00
Zaida Zhou
73053c1812
Update README ( #142 )
...
* Update README
* fix url
2022-06-24 16:34:30 +08:00
yancong xiao
eb0b8270a7
[Refactor] refactor mim uninstall ( #135 )
...
* refactor(commands/uninstall.py): refactor mim uninstall
* reload pip._vendor.pkg_resources before uninstall
* update(commands/uninstall.py): use subprocess call_command instead of create_command
* remove --root-user-action option
* update(commands/uninstall.py): use subprocess call_command instead of create_command
* update(commands/uninstall.py): support unknown options pass to pip uninstall
* tests(tests/test_uninstall.py): add test case for mim uninstall
* update(commands/uninstall.py): use the pip official recommend way to invoke pip uninstall
* refine(commands/uninstall.py): use isinstance instead of 'type is' make mypy happy
* combine commits: for ci debug
* combine commits: for ci debug
* Apply suggestions from code review
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-06-24 14:30:31 +08:00
Zaida Zhou
90d97cd2f7
Add beautiful progressbar ( #139 )
...
* Add beautiful progressbar
* minor refinement
2022-06-24 14:01:17 +08:00
Zaida Zhou
d2df7c8023
Add macOS ci ( #138 )
2022-06-23 19:20:04 +08:00
Zaida Zhou
3276085565
add circleci ( #131 )
...
* add circleci
* trigger ci
* configure python
* change py3.7 to py3.8
* install py3.8 first
* fix typo
2022-06-22 21:56:07 +08:00
yancong xiao
03f9261df6
Add more packages that support mim ( #134 )
...
* update(PKG2PROJECT): add more packages that support mim
* update(PKG2PROJECT): remove mmrazor and mmfewshot since the .mim folder is missing
2022-06-22 20:09:51 +08:00
yancong xiao
172400dc04
[Refactor] refactor mim install ( #132 )
...
* refactor(commands/install.py): refactor mim install
* update(commands/install.py): add missing doc comments
* fix(commands/install.py): fix invalid marker during check_install_conflicts and add mminstall.txt cache
* style(commands/mminstall.txt): fix a stupid autoformat
* combine commit: for ci debug
* for ci debug
* commit suggetion(mim/commands/install.py): refine doc comment
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* commit suggetion(mim/commands/install.py): refine doc comment
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* commit suggestion(mim/commands/install.py): refine doc comments
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* commit suggestion(mim/commands/install.py): refine doc comments
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* commit suggestion(mim/commands/install.py): refine doc comments
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* commit suggestion(mim/commands/install.py): refine doc comments
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* chore(requirements): add pip>=19.3
* refine(commands/install.py): refine contextmanager
* fix(commands/install.py): refine tthe cache logic
* fix(commands/install.py): refine the cache logic
combine commit record: for ci debug
* commit suggestion(mim/commands/install.py): refine doc comments
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* combine commit record: for ci debug
* refine(commands/install.py): add warning log about index_url passed in install_args
* fix(commands/install.py): refine the cache logic
combine commit record: for ci debug
* doc(tests): add line comments
* feat(commands/install.py): add check_mim_resources
* reload pip._vendor.pkg_resources before install
combine commit record: foc ci debug
* doc(tests): add line comments
* feat(commands/install.py): add check_mim_resources
* doc(tests): add line comments
* doc(tests): add line comments
* feat(commands/install.py): add check_mim_resources
* doc(tests): fix line comments typo
* Revert "Merge branch 'yancong-refactor-install' of github.com:ice-tong/mim into yancong-refactor-install"
This reverts commit 97529af51fdb431ce379edc7707231b63aaf6eeb, reversing
changes made to e70fa88d64fd3893269fb85bf6dfc03112250b2a.
* refine comments for importlib.reload(pip._vendor.pkg_resources)
* combine commit: for ci debug
* combine commit record: for ci debug
* feat(commands/install.py): add check_mim_resources
combine commit: for ci debug
* combine commit: for ci debug
* refine comments and remove pyetst cache file
* remove duplicate code snippets
* update(tests/test_install.py): add vcs install case
* fix(tests/test_train.py): fix mmcls install issue
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-06-22 20:09:10 +08:00
Zaida Zhou
7421125722
Add extra dependencies to extra_require ( #133 )
...
* Add extra dependencies to extra_require
* fix lint
2022-06-16 19:24:19 +08:00
yancong xiao
77f5866a67
[Chore] Fix the issue that the click version is locked at 7.x ( #127 )
...
* fix the issue that the click version is locked at 7.x
* add .vscode into .gitignore
* fix the issue that the click version is locked at 7.x
* add .vscode into .gitignore
* refine(click/compat.py): remove helper function
* chore(ci): add click<8.0.0 tests in ci
* refine(commands): refine imports
* commit suggestion(mim/click/option.py): refine doc comments.
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* commit suggestion(mim/click/compat.py): add typing hint
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* commit suggestion(mim/click/compat.py): add line comment
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* commit suggestion(mim/click/compat.py): add typing hit in doc comment
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* update(click/compat.py): add typing hint
* tests(tests/test_search): add a simple functional test for OptionEatAll
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-06-16 15:55:21 +08:00
Ye Liu
eb5c5c67ff
Fix mmaction2 package name and run script ( #113 )
...
* Fix mmaction2 package name and run script
* Update customcommand.py
2022-06-14 12:34:51 +08:00
Zaida Zhou
d8f00ed895
Add pyupgrade and codespell pre-commit hooks ( #130 )
...
* Add pyupgrade and codespell pre-commit hooks
* minor fix
2022-06-14 12:32:59 +08:00
Jiazhen Wang
945a565ba4
add windows ci ( #106 )
2022-06-14 10:00:57 +08:00
Zaida Zhou
82ad74333b
bump version to v0.1.6 ( #129 )
v0.1.6
2022-06-14 09:33:21 +08:00
Zaida Zhou
695f2af0e4
[Fix] Fix and refactor unit tests ( #128 )
...
* fix and refactor unit tests
* Fix GPG key error in CI
* use container provided by pytorch
* install git in container
* install git in container
* fix ci
* update pip version
* install system dependencies
* add test data
* add circleci
* add test data
* refine ut
2022-06-14 00:02:58 +08:00
Anton Cherepkov
cd3b38d75f
mim install does not work with pip >= 22.1 ( #117 )
...
* get rid of --use-feature=in-tree-build from pip22.1
* fix long line
Co-authored-by: Anton Cherepkov <anton.cherepkov@checklens.ai>
2022-06-13 17:55:53 +08:00
yancong xiao
7b9697f8ca
Use mdformat pre-commit hook ( #126 )
...
Co-authored-by: yancong <xyancong@qq.com>
2022-06-13 14:06:35 +08:00