Skip to content

Commit ae90da8

Browse files
committed
bumpy idom version + bump idom-jupyter version
misc minor improvements too
1 parent 21037d4 commit ae90da8

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

idom_jupyter/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Module version
2-
version_info = (0, 6, 2, "final", 0)
2+
version_info = (0, 6, 3, "final", 0)
33

44
# Module version stage suffix map
55
_specifier_ = {"alpha": "a", "beta": "b", "candidate": "rc", "final": ""}

idom_jupyter/ipython_extension.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from functools import partial
22

3-
from idom.core.component import Component
3+
from idom.core.component import ComponentType
44
from IPython import get_ipython
55
from IPython.core.interactiveshell import InteractiveShell
66
from IPython.display import display
@@ -18,7 +18,7 @@ def load_ipython_extension(ipython: InteractiveShell) -> None:
1818
_POST_RUN_CELL_HOOK = partial(_post_run_cell, ipython)
1919
ipython.events.register("post_run_cell", _POST_RUN_CELL_HOOK)
2020
ipython.display_formatter.ipython_display_formatter.for_type(
21-
Component, lambda component: ({}, {})
21+
ComponentType, lambda component: ({}, {})
2222
)
2323
_EXTENSION_LOADED = True
2424

@@ -31,7 +31,7 @@ def unload_ipython_extension(ipython):
3131

3232

3333
def _post_run_cell(ipython: InteractiveShell, result):
34-
if isinstance(result.result, Component):
34+
if isinstance(result.result, ComponentType):
3535
display(LayoutWidget(result.result))
3636

3737

idom_jupyter/jupyter_server_extension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def _load_jupyter_server_extension(notebook_app: NotebookApp):
1515
base_url = web_app.settings["base_url"]
1616
route_pattern = urljoin(base_url, rf"_idom_web_modules/(.*)")
1717
web_app.add_handlers(
18-
host_pattern=".*$",
18+
host_pattern=r".*$",
1919
host_handlers=[
2020
(
2121
route_pattern,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
description="A client for IDOM implemented using Jupyter widgets",
6868
long_description=LONG_DESCRIPTION,
6969
include_package_data=True,
70-
install_requires=["ipywidgets>=7.6.0", "idom>=0.33.0,<0.34", "appdirs"],
70+
install_requires=["ipywidgets>=7.6.0", "idom>=0.34.0,<0.36", "appdirs"],
7171
packages=find_packages(),
7272
zip_safe=False,
7373
cmdclass=cmdclass,

0 commit comments

Comments
 (0)