solara-ui 1.37.1__py2.py3-none-any.whl → 1.37.2__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
solara/__init__.py CHANGED
@@ -1,6 +1,6 @@
1
1
  """Build webapps using IPywidgets"""
2
2
 
3
- __version__ = "1.37.1"
3
+ __version__ = "1.37.2"
4
4
  github_url = "https://github.com/widgetti/solara"
5
5
  git_branch = "master"
6
6
 
solara/core.py CHANGED
@@ -29,7 +29,7 @@ def component(
29
29
  validate_hooks.HookValidator(obj).run()
30
30
  except Exception as e:
31
31
  if not isinstance(e, validate_hooks.HookValidationError):
32
- # we probably failed because of a unknown reason, but we do not want to break the user's code
32
+ # we probably failed because of an unknown reason, but we do not want to break the user's code
33
33
  warnings.warn(f"Failed to validate hooks for component {obj.__qualname__}: {e}")
34
34
  else:
35
35
  raise
solara/server/patch.py CHANGED
@@ -466,6 +466,12 @@ def patch():
466
466
  os.environ["MPLBACKEND"] = "module://ipykernel.pylab.backend_inline"
467
467
  else:
468
468
  os.environ["MPLBACKEND"] = "module://matplotlib_inline.backend_inline"
469
+ # if matplotlib is already imported, we need to set the backend
470
+ # similar to how matplotlib does it in it's __init__.py
471
+ if "matplotlib" in sys.modules:
472
+ import matplotlib
473
+
474
+ matplotlib.rcParams["backend"] = os.environ.get("MPLBACKEND")
469
475
 
470
476
  # the ipyvue.Template module cannot be accessed like ipyvue.Template
471
477
  # because the import in ipvue overrides it
@@ -119,7 +119,7 @@ async def main():
119
119
  ]
120
120
  for dep in requirements:
121
121
  await micropip.install(dep, keep_going=True)
122
- await micropip.install("/wheels/solara-1.37.1-py2.py3-none-any.whl", keep_going=True)
122
+ await micropip.install("/wheels/solara-1.37.2-py2.py3-none-any.whl", keep_going=True)
123
123
  import solara
124
124
 
125
125
  el = solara.Warning("lala")
@@ -1,5 +1,9 @@
1
1
  # Solara Changelog
2
2
 
3
+ ## Version 1.37.1
4
+
5
+ * Bug Fix: The newly introduced hooks validator could emit a warning on certain call syntax. This can fail CI pipelines that do now allow warnings [c7c3b6a](https://github.com/widgetti/solara/commit/c7c3b6ab2929c4da1ffc3ab8e2e423cf0cfa7567).
6
+
3
7
  ## Version 1.37.0
4
8
 
5
9
  * Feature: We now check if a component follows the rules of hooks https://solara.dev/documentation/advanced/understanding/rules-of-hooks [#706](https://github.com/widgetti/solara/pull/706)
@@ -8,7 +12,7 @@
8
12
  * Fix: solara-server skips directories when reading extensions which might cause a startup failure otherwise [#715](https://github.com/widgetti/solara/pull/715)
9
13
 
10
14
  ## Version 1.36.0
11
- * Feature: Provide a jupyter-widgets-popout-container css class on body for doing specific styling in combination with ipypoout [85c1899](85c189919a42b2590558d9713fc3a2440f46b7c0)
15
+ * Feature: Provide a jupyter-widgets-popout-container css class on body for doing specific styling in combination with ipypoout [85c1899](https://github.com/widgetti/solara/commit/85c189919a42b2590558d9713fc3a2440f46b7c0)
12
16
 
13
17
  ## Version 1.35.1
14
18
 
@@ -177,6 +177,6 @@ If the redirection back to solara return to the wrong address, it might be due t
177
177
 
178
178
  Solara needs to give the OAuth providers a redirect URL to get back to your Solara application after navigating to the OAuth provider website. For our documentation server, we ask the OAuth provider to redirect to `https://solara.dev/_solara/auth/authorize`. The protocol part (`https`) and the domain name part (`solara.dev`) or this URL is constructed from the request URL (what the browser sends to the server).
179
179
 
180
- If you are running Aolara behind a reverse proxy server (like nginx), make sure that the `X-Forwarded-Proto` and `Host` headers are forwarded correctly so Solara can construct the correct redirect URL to send to the OAuth provider.
180
+ If you are running Solara behind a reverse proxy server (like nginx), make sure that the `X-Forwarded-Proto` and `Host` headers are forwarded correctly so Solara can construct the correct redirect URL to send to the OAuth provider.
181
181
 
182
182
  See our [self hosted deployment](https://solara.dev/documentation/getting_started/deploying/self-hosted) for more information on how to configure your reverse proxy server.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: solara-ui
3
- Version: 1.37.1
3
+ Version: 1.37.2
4
4
  Dynamic: Summary
5
5
  Project-URL: Home, https://www.github.com/widgetti/solara
6
6
  Project-URL: Documentation, https://solara.dev
@@ -1,6 +1,6 @@
1
1
  prefix/etc/jupyter/jupyter_notebook_config.d/solara.json,sha256=3UhTBQi6z7F7pPjmqXxfddv79c8VGR9H7zStDLp6AwY,115
2
2
  prefix/etc/jupyter/jupyter_server_config.d/solara.json,sha256=D9J-rYxAzyD5GOqWvuPjacGUVFHsYtTfZ4FUbRzRvIA,113
3
- solara/__init__.py,sha256=Fwhz5Tzd-qZC9LKusjxwWZdeshUFRb4o5f8WI9RRBPg,3597
3
+ solara/__init__.py,sha256=R6C459jO2E0j2fIN3WVz18FUbJ5aMFfFTQhkvGUb1HY,3597
4
4
  solara/__main__.py,sha256=hxMYlUg-t-KTOJSVfEHwvcTV51WHX6INpN0F_qaesUg,23672
5
5
  solara/alias.py,sha256=9vfLzud77NP8in3OID9b5mmIO8NyrnFjN2_aE0lSb1k,216
6
6
  solara/autorouting.py,sha256=iQ-jP5H-kdu1uZyLEFeiHG1IsOLZLzwKVtQPyXSgGSM,23093
@@ -8,7 +8,7 @@ solara/cache.py,sha256=rZEW_xVIj3vvajntsQDnaglniTQ90izkX8vOqe1mMvE,10500
8
8
  solara/checks.html,sha256=NZoefOKYpE6NHQJchi4WE5HkDG3xpJW0kY6TOAFHQtE,3304
9
9
  solara/checks.py,sha256=WtMzUM1HN127juk5fFV2jdsJ1qT5Ghg21wEZfiVfIFc,7563
10
10
  solara/comm.py,sha256=BhHFO1fBfFP0cOKxx_oKUr6-8UqpfGZbVaofYxIXrS8,765
11
- solara/core.py,sha256=bB9OJAmFNsWFBGepRJaGaS12xtoY2-xahmBVD7CuvRU,1429
11
+ solara/core.py,sha256=7CeEG6GDLxwAbNauKJNNLUlZhXG4VO4Gu3F9C6sA6ZM,1430
12
12
  solara/datatypes.py,sha256=xHHjObTEf4Ar3e4Euvi0sA7UWDSbNTXuyLIf_0wcDs8,4186
13
13
  solara/express.py,sha256=R0E2ewwL0m09KdoDNhF_ZF5TnC7ytty5rzM8hDykpGk,6919
14
14
  solara/kitchensink.py,sha256=RUx3kW6CQAz9PMxB1sPI03IH5xJfsaaXq3w9bBuC6rg,249
@@ -111,7 +111,7 @@ solara/server/flask.py,sha256=v3TUqZMKzijnoB9fv3xipM-kPtLziyNAV6Wiw0DLh7w,9149
111
111
  solara/server/jupytertools.py,sha256=cYFIUjLX7n0uuEXqWVWvmV6sV7R_MNg8ZZlabQgw8vk,1320
112
112
  solara/server/kernel.py,sha256=3mwRRBw6BOcKLACL4fCUGgtI_RZ5KTSM1MlAtRlDbmA,11092
113
113
  solara/server/kernel_context.py,sha256=RrNVAkoev6u6LZBvDfG86zyVs7eDVUsrp_4Au_FLlgY,16718
114
- solara/server/patch.py,sha256=bwIlgXJSMUEk2eMTqIXaWG3es3WiAq3e2AilFMvrZKQ,18788
114
+ solara/server/patch.py,sha256=4bZ7yq5qSvgijkQmfY90v2R9A9ktSCTY65hktGY2wes,19069
115
115
  solara/server/reload.py,sha256=BBH7QhrV1-e9RVyNE3uz1oPj1DagC3t_XSqGPNz0nJE,9747
116
116
  solara/server/server.py,sha256=aje6QmZV1ikpqSAuI_ksOWcdOkz6Za4-xCogE1g2qRw,16380
117
117
  solara/server/settings.py,sha256=8QpVW_hYe4QvSVvDMeobpUEFa_jjCAGrSKgCGzjZ3As,7340
@@ -137,7 +137,7 @@ solara/server/static/highlight-dark.css,sha256=gmC3pr3x2BqJgTswNoN6AkqfEhBk24hPF
137
137
  solara/server/static/highlight.css,sha256=k8ZdT5iwrGQ5tXTQHAXuxvZrSUq3kwCdEpy3mlFoZjs,2637
138
138
  solara/server/static/main-vuetify.js,sha256=-FLlUqclZdVhCXsqawzpxtQ9vpaDA6KQdwoDKJCr_AI,8926
139
139
  solara/server/static/main.js,sha256=mcx4JNQ4Lg4pNdUIqMoZos1mZyYFS48yd_JNFFJUqIE,5679
140
- solara/server/static/solara_bootstrap.py,sha256=DVlOxL7cHNbKU7-v7V2hmQgh9kZDA_V8a9I1Z4V_-X8,3195
140
+ solara/server/static/solara_bootstrap.py,sha256=yTKg2BLEVBsPPWyV6Mjd9DC-TrrdZA3sUwd3CoQDZu0,3195
141
141
  solara/server/static/sun.svg,sha256=jEKBAGCr7b9zNYv0VUb7lMWKjnU2dX69_Ye_DZWGXJI,6855
142
142
  solara/server/static/webworker.js,sha256=cjAFz7-SygStHJnYlJUlJs-gE_7YQeQ-WBDcmKYyjvo,1372
143
143
  solara/server/templates/index.html.j2,sha256=JXQo1M-STFHLBOFetgG7509cAq8xUP0VAEtYDzz35fY,31
@@ -206,7 +206,7 @@ solara/website/pages/apps/multipage/__init__.py,sha256=zljTAXbsV8hqb67dwmx_PhzN-
206
206
  solara/website/pages/apps/multipage/page1.py,sha256=5hK0RZ8UBBOaZcPKaplbLeb0VvaerhB6m3Jn5C0afRM,872
207
207
  solara/website/pages/apps/multipage/page2.py,sha256=uRJ8YPFyKy7GR_Ii8DJSx3akb3H15rQAJZETMt9jVEk,1422
208
208
  solara/website/pages/changelog/__init__.py,sha256=iBCpD5LVrFxQtEHX116u_6vqNBktZD3AXR65eTZblFo,227
209
- solara/website/pages/changelog/changelog.md,sha256=Hc0LQmWH5oZZXEaQtv54vvcnFTdbVPCc0gbyVyWyuuA,18423
209
+ solara/website/pages/changelog/changelog.md,sha256=u9GqLFx48DXxw4BQieG_e2oG7QGRIWj0fzZ8mD2NFbk,18730
210
210
  solara/website/pages/contact/__init__.py,sha256=L6o45fHAMClqyWdHWxI6JuiwUTP-U-yXCgd3lxMUcxA,223
211
211
  solara/website/pages/contact/contact.md,sha256=zp66RGhOE_tdkRaWKZqGbuk-PnOqBWhDVvX5zSLXoHw,798
212
212
  solara/website/pages/documentation/__init__.py,sha256=zJh3kmr6OhFPbax8Igp-LN-m9cZNrs9sq9ifFuC8Kic,6003
@@ -240,7 +240,7 @@ solara/website/pages/documentation/advanced/content/20-understanding/40-routing.
240
240
  solara/website/pages/documentation/advanced/content/20-understanding/50-solara-server.md,sha256=0DaBpVnR2smTAKjgY73zlEATMsN5CK8XRr2gfg0H7GY,5933
241
241
  solara/website/pages/documentation/advanced/content/20-understanding/60-voila.md,sha256=jlL0kyzzDdHytNizBBLPx7buFFforlIDdMF724C2RLE,1132
242
242
  solara/website/pages/documentation/advanced/content/30-enterprise/00-overview.md,sha256=FsLYifZZdSZrRuL0ix0T2AFDkOkDeSBkONSOxcFp91w,380
243
- solara/website/pages/documentation/advanced/content/30-enterprise/10-oauth.md,sha256=juypsyEycVgptRPtlbsByg5kfdkF911zYZrxePMvCkM,9432
243
+ solara/website/pages/documentation/advanced/content/30-enterprise/10-oauth.md,sha256=lFCceHJEGscCBM5G4Myq9Yq2iySDA2a_dQZOcMvAF2w,9432
244
244
  solara/website/pages/documentation/advanced/content/40-development/00-overview.md,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
245
245
  solara/website/pages/documentation/advanced/content/40-development/01-contribute.md,sha256=zzcRg3Jk7JSdPoybMeFzICyS1c1MqCnN7sbd1WF0-II,2880
246
246
  solara/website/pages/documentation/advanced/content/40-development/10-setup.md,sha256=fFq8dJGFYq3pZ9cpCzUmjS4vuVYUkTJ3ekqaahPafkY,2293
@@ -436,9 +436,9 @@ solara/widgets/vue/gridlayout.vue,sha256=nFZJotdznqI9tUYZ1Elv9OLA0adazxvVZAggMHH
436
436
  solara/widgets/vue/html.vue,sha256=48K5rjp0AdJDeRV6F3nOHW3J0WXPeHn55r5pGClK2fU,112
437
437
  solara/widgets/vue/navigator.vue,sha256=SLrzBI0Eiys-7maXA4e8yyD13-O5b4AnCGE9wKuJDHE,3646
438
438
  solara/widgets/vue/vegalite.vue,sha256=E3dlfhR-Ol7nqQZN6wCZC_3Tz98CJW0i_EU39mj0XHw,3986
439
- solara_ui-1.37.1.data/data/etc/jupyter/jupyter_notebook_config.d/solara.json,sha256=3UhTBQi6z7F7pPjmqXxfddv79c8VGR9H7zStDLp6AwY,115
440
- solara_ui-1.37.1.data/data/etc/jupyter/jupyter_server_config.d/solara.json,sha256=D9J-rYxAzyD5GOqWvuPjacGUVFHsYtTfZ4FUbRzRvIA,113
441
- solara_ui-1.37.1.dist-info/METADATA,sha256=jq54RNJUy26Oo3M7l2pebv77nAGo7Qv5oI8Jzd6o-jA,7284
442
- solara_ui-1.37.1.dist-info/WHEEL,sha256=L5_n4Kc1NmrSdVgbp6hdnwwVwBnoYOCnbHBRMD-qNJ4,105
443
- solara_ui-1.37.1.dist-info/licenses/LICENSE,sha256=fFJUz-CWzZ9nEc4QZKu44jMEoDr5fEW-SiqljKpD82E,1086
444
- solara_ui-1.37.1.dist-info/RECORD,,
439
+ solara_ui-1.37.2.data/data/etc/jupyter/jupyter_notebook_config.d/solara.json,sha256=3UhTBQi6z7F7pPjmqXxfddv79c8VGR9H7zStDLp6AwY,115
440
+ solara_ui-1.37.2.data/data/etc/jupyter/jupyter_server_config.d/solara.json,sha256=D9J-rYxAzyD5GOqWvuPjacGUVFHsYtTfZ4FUbRzRvIA,113
441
+ solara_ui-1.37.2.dist-info/METADATA,sha256=0V06JOx9p4S2wP7v9VL6LpqXlNz6WypQZYBQ3S1zyhQ,7284
442
+ solara_ui-1.37.2.dist-info/WHEEL,sha256=L5_n4Kc1NmrSdVgbp6hdnwwVwBnoYOCnbHBRMD-qNJ4,105
443
+ solara_ui-1.37.2.dist-info/licenses/LICENSE,sha256=fFJUz-CWzZ9nEc4QZKu44jMEoDr5fEW-SiqljKpD82E,1086
444
+ solara_ui-1.37.2.dist-info/RECORD,,