diff --git a/src/py/reactpy/reactpy/__init__.py b/src/py/reactpy/reactpy/__init__.py index 996a984b2..4fb4e8d09 100644 --- a/src/py/reactpy/reactpy/__init__.py +++ b/src/py/reactpy/reactpy/__init__.py @@ -21,7 +21,7 @@ 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", diff --git a/tasks.py b/tasks.py index e19476202..a36cd53ea 100644 --- a/tasks.py +++ b/tasks.py @@ -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"))