Skip to content

Commit 35a4f59

Browse files
committed
minor: framework release V2.3.1rc0
# Reviewed, transaction id: 59901
1 parent 818881c commit 35a4f59

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

bk-plugin-framework/bk_plugin_framework/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
specific language governing permissions and limitations under the License.
1111
"""
1212

13-
__version__ = "2.3.0"
13+
__version__ = "2.3.1rc0"

bk-plugin-framework/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "bk-plugin-framework"
3-
version = "2.3.0"
3+
version = "2.3.1rc0"
44
description = "bk plugin python framework"
55
authors = ["Your Name <[email protected]>"]
66
license = "MIT"

runtime/bk-plugin-runtime/bk_plugin_runtime/config/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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, ...)
5252
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
5353

54+
5455
# 兼容低版本 MySQL
5556
class 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 版本的使用无影响
6566
DatabaseFeatures.minimum_database_version = PatchFeatures.minimum_database_version

0 commit comments

Comments
 (0)