From 6df7ecdebbf170b89902ff97caedd31a46bcadf1 Mon Sep 17 00:00:00 2001 From: Ryan Morshead Date: Fri, 16 Jun 2023 10:15:54 -0600 Subject: [PATCH] pre for 1.0.1 release (#1062) --- src/py/reactpy/reactpy/__init__.py | 2 +- tasks.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"))