Skip to content

Commit 6177a5e

Browse files
authored
More deps (#409)
* Pin dependencies for zarr. Update spatialdata-blobs notebook * Update * esbuild_py to oxc_py
1 parent f3e7784 commit 6177a5e

File tree

6 files changed

+94
-74
lines changed

6 files changed

+94
-74
lines changed

docs/notebooks/widget_plugin_custom.ipynb

Lines changed: 7 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
{
1313
"cell_type": "code",
14-
"execution_count": 18,
14+
"execution_count": null,
1515
"metadata": {},
1616
"outputs": [],
1717
"source": [
@@ -23,12 +23,12 @@
2323
" MultiImageWrapper,\n",
2424
" VitesscePlugin\n",
2525
")\n",
26-
"from esbuild_py import transform"
26+
"from oxc_py import transform"
2727
]
2828
},
2929
{
3030
"cell_type": "code",
31-
"execution_count": 40,
31+
"execution_count": null,
3232
"metadata": {},
3333
"outputs": [],
3434
"source": [
@@ -113,7 +113,7 @@
113113
},
114114
{
115115
"cell_type": "code",
116-
"execution_count": 41,
116+
"execution_count": null,
117117
"metadata": {},
118118
"outputs": [],
119119
"source": [
@@ -144,37 +144,14 @@
144144
},
145145
{
146146
"cell_type": "code",
147-
"execution_count": 42,
147+
"execution_count": null,
148148
"metadata": {},
149-
"outputs": [
150-
{
151-
"data": {
152-
"application/vnd.jupyter.widget-view+json": {
153-
"model_id": "52bbdb1e3f91423b8dd934e3a4ff796e",
154-
"version_major": 2,
155-
"version_minor": 1
156-
},
157-
"text/plain": [
158-
"VitessceWidget(config={'version': '1.0.15', 'name': 'Spraggins Multi-Modal', 'description': 'PAS + IMS + AF Fr…"
159-
]
160-
},
161-
"execution_count": 42,
162-
"metadata": {},
163-
"output_type": "execute_result"
164-
}
165-
],
149+
"outputs": [],
166150
"source": [
167151
"vw = vc.widget(plugins=[ChatPlugin()])\n",
168152
"vw"
169153
]
170154
},
171-
{
172-
"cell_type": "code",
173-
"execution_count": null,
174-
"metadata": {},
175-
"outputs": [],
176-
"source": []
177-
},
178155
{
179156
"cell_type": "code",
180157
"execution_count": null,
@@ -199,7 +176,7 @@
199176
"name": "python",
200177
"nbconvert_exporter": "python",
201178
"pygments_lexer": "ipython3",
202-
"version": "3.9.0"
179+
"version": "3.10.14"
203180
}
204181
},
205182
"nbformat": 4,

docs/widget_plugins.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ However, JSX is not valid JavaScript and therefore must be transformed to valid
7474
Vitessce plugin developers then have two options for defining React components for plugin view types:
7575

7676
* Use ``React.createElement`` directly (without JSX).
77-
* Use the ``transform`` function from `esbuild_py <https://github.com/keller-mark/esbuild-py>`_ to perform JSX to JS transformation.
77+
* Use the ``transform`` function from `oxc_py <https://github.com/keller-mark/oxc-py>`_ to perform JSX to JS transformation.
7878

7979
.. code-block:: python
8080
81-
from esbuild_py import transform
81+
from oxc_py import transform
8282
8383
PLUGIN_ESM = transform("""
8484
function createPlugins(utilsForPlugins) {

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ docs = [
6969
]
7070
all = [
7171
'jupyter-server-proxy>=1.5.2',
72-
'esbuild_py>=0.1.3',
72+
'oxc-py>=0.1.1',
7373
'anywidget>=0.9.10',
7474
'uvicorn>=0.17.0',
7575
'ujson>=4.0.1',

src/vitessce/widget_plugins/demo_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from esbuild_py import transform
1+
from oxc_py import transform
22
from ..widget import VitesscePlugin
33

44

src/vitessce/widget_plugins/spatial_query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from esbuild_py import transform
1+
from oxc_py import transform
22
from ..widget import VitesscePlugin
33

44

0 commit comments

Comments
 (0)