Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1324: use ~major.minor.patch in PerspectiveWidget versioning #1331

Merged
merged 1 commit into from
Feb 21, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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