Skip to content
This repository was archived by the owner on Feb 14, 2024. It is now read-only.

Commit fe8bed1

Browse files
committed
Make sure xeus-python addon runs after the federated extensions one
1 parent dce3386 commit fe8bed1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

jupyterlite_xeus_python/env_build_addon.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,18 @@ def pre_build(self, manager):
118118
# (make jupyterlite-xeus-python extension somewhat configurable?)
119119
dest = self.output_extensions / "@jupyterlite" / "xeus-python-kernel" / "static"
120120

121+
task_dep = ["pre_build:federated_extensions:*"]
122+
121123
for file in ["python_data.js", "python_data.data"]:
122124
yield dict(
125+
task_dep=task_dep,
123126
name=f"copy:{file}",
124127
actions=[(self.copy_one, [Path(self.cwd.name) / file, dest / file])],
125128
)
126129

127130
for file in ["xpython_wasm.js", "xpython_wasm.wasm"]:
128131
yield dict(
132+
task_dep=task_dep,
129133
name=f"copy:{file}",
130134
actions=[
131135
(

0 commit comments

Comments
 (0)