File tree 5 files changed +9
-4
lines changed
5 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ English | [简体中文](README_zh-CN.md)
59
59
60
60
## What's New
61
61
62
- v0.10.4 was released on 2024-4-23 .
62
+ v0.10.5 was released on 2024-9-11 .
63
63
64
64
Highlights:
65
65
Original file line number Diff line number Diff line change 59
59
60
60
## 最近进展
61
61
62
- 最新版本 v0.10.4 在 2024.4.23 发布。
62
+ 最新版本 v0.10.5 在 2024.9.11 发布。
63
63
64
64
版本亮点:
65
65
Original file line number Diff line number Diff line change 1
1
# Changelog of v0.x
2
2
3
+ ## v0.10.5 (11/9/2024)
4
+
5
+ - Fix ` _is_builtin_module ` . by [ @HAOCHENYE ] ( https://github.com/HAOCHENYE ) in https://github.com/open-mmlab/mmengine/pull/1571
6
+
3
7
## v0.10.4 (23/4/2024)
4
8
5
9
### New Features & Enhancements
Original file line number Diff line number Diff line change 12
12
from mmengine .utils import check_file_exist
13
13
14
14
PYTHON_ROOT_DIR = osp .dirname (osp .dirname (sys .executable ))
15
+ SYSTEM_PYTHON_PREFIX = '/usr/lib/python'
15
16
16
17
MODULE2PACKAGE = {
17
18
'mmcls' : 'mmcls' ,
@@ -177,7 +178,7 @@ def _is_builtin_module(module_name: str) -> bool:
177
178
origin_path = osp .abspath (origin_path )
178
179
if ('site-package' in origin_path or 'dist-package' in origin_path
179
180
or not origin_path .startswith (
180
- (PYTHON_ROOT_DIR , '/usr/lib/python' ))):
181
+ (PYTHON_ROOT_DIR , SYSTEM_PYTHON_PREFIX ))):
181
182
return False
182
183
else :
183
184
return True
Original file line number Diff line number Diff line change 1
1
# Copyright (c) OpenMMLab. All rights reserved.
2
2
3
- __version__ = '0.10.4 '
3
+ __version__ = '0.10.5 '
4
4
5
5
6
6
def parse_version_info (version_str ):
You can’t perform that action at this time.
0 commit comments