Skip to content

Commit 9c5ac43

Browse files
authored
Merge pull request #44 from NGO-Algorithm-Audit/feature/versioning-python-whl-dependencies
version python packages and use from local repo instead of pypi
2 parents f5b1b46 + ed0c4b1 commit 9c5ac43

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed
19.9 KB
Binary file not shown.
512 KB
Binary file not shown.
200 KB
Binary file not shown.

src/components/pyodide/worker.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,14 @@ self.onmessage = async (e: MessageData) => {
115115
]);
116116

117117
const micropip = self.pyodide.pyimport('micropip');
118-
await micropip.install('unsupervised-bias-detection');
119-
await micropip.install('kmodes');
118+
119+
await micropip.install('/kmodes-0.12.2-py2.py3-none-any.whl');
120+
121+
await micropip.install(
122+
'/unsupervised_bias_detection-0.2.1-py3-none-any.whl'
123+
);
120124
await micropip.install('scipy');
121-
await micropip.install('python-synthpop');
125+
await micropip.install('/python_synthpop-0.0.1-py3-none-any.whl');
122126
return true;
123127
}
124128

0 commit comments

Comments
 (0)