Skip to content

Commit a1410ea

Browse files
committed
fix(rapidocr_web): fixed version num
1 parent ac144f1 commit a1410ea

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ocrweb/setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def get_readme():
2020

2121
obtainer = GetPyPiLatestVersion()
2222
latest_version = obtainer(MODULE_NAME)
23-
VERSION_NUM = obtainer.version_add_one(latest_version)
23+
VERSION_NUM = obtainer.version_add_one(latest_version, add_patch=True)
2424

2525
# 优先提取commit message中的语义化版本号,如无,则自动加1
2626
if len(sys.argv) > 2:
@@ -62,8 +62,9 @@ def get_readme():
6262
"Programming Language :: Python :: 3.10",
6363
"Programming Language :: Python :: 3.11",
6464
"Programming Language :: Python :: 3.12",
65+
"Programming Language :: Python :: 3.13",
6566
],
66-
python_requires=">=3.6,<3.13",
67+
python_requires=">=3.6",
6768
entry_points={
6869
"console_scripts": [
6970
f"{MODULE_NAME}={MODULE_NAME}.ocrweb:main",

0 commit comments

Comments
 (0)