Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jtpio/ipylab
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.5.0
Choose a base ref
...
head repository: jtpio/ipylab
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5cf3ffefa009e782c4fa952e251b642450fdb388
Choose a head ref
  • 2 commits
  • 7 files changed
  • 1 contributor

Commits on Sep 6, 2021

  1. Copy the full SHA
    4c1b671 View commit details
  2. Merge pull request #76 from jtpio/fix-version

    Fix handling of frontend version
    jtpio authored Sep 6, 2021
    Copy the full SHA
    5cf3ffe View commit details
Showing with 8 additions and 17 deletions.
  1. +0 −12 ipylab/_frontend.py
  2. +3 −0 ipylab/_version.py
  3. +1 −1 ipylab/commands.py
  4. +1 −1 ipylab/jupyterfrontend.py
  5. +1 −1 ipylab/sessions.py
  6. +1 −1 ipylab/shell.py
  7. +1 −1 ipylab/widgets.py
12 changes: 0 additions & 12 deletions ipylab/_frontend.py

This file was deleted.

3 changes: 3 additions & 0 deletions ipylab/_version.py
Original file line number Diff line number Diff line change
@@ -33,3 +33,6 @@ def _fetchVersion():
if match["rest"]:
parts.append(match["rest"])
version_info = tuple(parts)

module_name = "ipylab"
module_version = f"^{__version__}"
2 changes: 1 addition & 1 deletion ipylab/commands.py
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
from ipywidgets import CallbackDispatcher, Widget, register
from traitlets import List, Unicode

from ._frontend import module_name, module_version
from ._version import module_name, module_version


def _noop():
2 changes: 1 addition & 1 deletion ipylab/jupyterfrontend.py
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@

from ipywidgets import CallbackDispatcher, Widget, register, widget_serialization
from traitlets import Instance, Unicode
from ._frontend import module_name, module_version
from ._version import module_name, module_version

from .commands import CommandRegistry
from .shell import Shell
2 changes: 1 addition & 1 deletion ipylab/sessions.py
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
from ipywidgets import CallbackDispatcher, Widget, register, widget_serialization
from traitlets import List, Unicode, Dict

from ._frontend import module_name, module_version
from ._version import module_name, module_version


@register
2 changes: 1 addition & 1 deletion ipylab/shell.py
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@

from ipywidgets import Widget, register, widget_serialization
from traitlets import List, Unicode
from ._frontend import module_name, module_version
from ._version import module_name, module_version


@register
2 changes: 1 addition & 1 deletion ipylab/widgets.py
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@

from ipywidgets import VBox, Widget, register, widget_serialization
from traitlets import Bool, Instance, Unicode
from ._frontend import module_name, module_version
from ._version import module_name, module_version


@register