pre for 1.0.1 release (#1062)

This commit is contained in:
Ryan Morshead 2023-06-16 10:15:54 -06:00 committed by GitHub
parent 403e5f2453
commit 6df7ecdebb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ from reactpy.core.vdom import vdom
from reactpy.utils import Ref, html_to_vdom, vdom_to_html
__author__ = "The Reactive Python Team"
__version__ = "1.0.0" # DO NOT MODIFY
__version__ = "1.0.1" # DO NOT MODIFY
__all__ = [
"backend",

View file

@ -353,7 +353,7 @@ def parse_tag(tag: str) -> TagInfo:
raise Exit(msg)
version = match.group("version")
if not semver.Version.is_valid(version):
if not semver.VersionInfo.isvalid(version):
raise Exit(f"Invalid version: {version} in tag {tag}")
return TagInfo(tag=tag, name=match.group("name"), version=match.group("version"))