Skip to content

Commit

Permalink
Merge pull request #1331 from finos/fix-jlab-ver
Browse files Browse the repository at this point in the history
Fix #1324: use ~major.minor.patch in PerspectiveWidget versioning
  • Loading branch information
texodus authored Feb 21, 2021
2 parents 3bc672b + bf42f43 commit 283fd5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/perspective/perspective/widget/widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from ..core.exception import PerspectiveError
from ..libpsp import is_libpsp
from ..viewer import PerspectiveViewer
from ..core._version import major_minor_version
from ..core._version import __version__


def _type_to_string(t):
Expand Down Expand Up @@ -209,10 +209,10 @@ class PerspectiveWidget(Widget, PerspectiveViewer):
# Required by ipywidgets for proper registration of the backend
_model_name = Unicode("PerspectiveModel").tag(sync=True)
_model_module = Unicode("@finos/perspective-jupyterlab").tag(sync=True)
_model_module_version = Unicode("~{}".format(major_minor_version)).tag(sync=True)
_model_module_version = Unicode("~{}".format(__version__)).tag(sync=True)
_view_name = Unicode("PerspectiveView").tag(sync=True)
_view_module = Unicode("@finos/perspective-jupyterlab").tag(sync=True)
_view_module_version = Unicode("~{}".format(major_minor_version)).tag(sync=True)
_view_module_version = Unicode("~{}".format(__version__)).tag(sync=True)

def __init__(
self,
Expand Down

0 comments on commit 283fd5c

Please sign in to comment.