Skip to content

Commit f13a1e5

Browse files
committed
Fix version number regex in setup.py
1 parent 874f749 commit f13a1e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
LONG_DESCRIPTION = open(os.path.join(os.path.dirname(__file__), "README.md")).read()
3232

3333
VERSION = "{{VERSION_PLACEHOLDER}}"
34-
if not re.match(r"^\d+\.\d+\.\d+$", VERSION):
34+
if not re.match(r"^v\d+\.\d+\.\d+$", VERSION):
3535
# In tests, where we haven't replaced the version placeholder, just use a default version
3636
VERSION = "1.0.0"
3737

0 commit comments

Comments
 (0)