Make 1.7.0rc1. (#8365)

This commit is contained in:
Jiaming Yuan
2022-10-20 12:01:18 +08:00
committed by GitHub
parent 28a466ab51
commit 7cf58a2c65
10 changed files with 19 additions and 18 deletions

View File

@@ -1 +1 @@
1.7.0-dev
1.7.0rc1

View File

@@ -237,6 +237,7 @@ Error message(s): {os_error_list}
"""Avoid dependency on packaging (PEP 440)."""
# 2.0.0-dev or 2.0.0
major, minor, patch = ver.split("-")[0].split(".")
patch = patch.split("rc")[0] # 2.0.0rc1
return int(major), int(minor), int(patch)
libver = _lib_version(lib)