File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
runtime/bk-plugin-runtime/bk_plugin_runtime/config Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1010specific language governing permissions and limitations under the License.
1111"""
1212
13- __version__ = "2.3.0 "
13+ __version__ = "2.3.1rc0 "
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " bk-plugin-framework"
3- version = " 2.3.0 "
3+ version = " 2.3.1rc0 "
44description = " bk plugin python framework"
55authors = [
" Your Name <[email protected] >" ]
66license = " MIT"
Original file line number Diff line number Diff line change @@ -51,15 +51,16 @@ def get_env_or_raise(key):
5151# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
5252BASE_DIR = os .path .dirname (os .path .dirname (os .path .abspath (__file__ )))
5353
54+
5455# 兼容低版本 MySQL
5556class PatchFeatures :
5657 @cached_property
5758 def minimum_database_version (self ):
58- django_version = django .VERSION
5959 if self .connection .mysql_is_mariadb :
6060 return 10 , 4
6161 else :
6262 return 5 , 7
6363
64+
6465# 目前 Django 仅是对 5.7 做了软性的不兼容改动,在没有使用 8.0 特异的功能时,对 5.7 版本的使用无影响
6566DatabaseFeatures .minimum_database_version = PatchFeatures .minimum_database_version
You can’t perform that action at this time.
0 commit comments