You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't preload dynamic libraries in newer Python compat dates
This fixes some but not all of the test failures with the new package
set and also should improve performance because it avoids loading
unneeded dynamic libraries.
Copy file name to clipboardExpand all lines: src/pyodide/BUILD.bazel
+9-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -113,8 +113,6 @@ const location = undefined;
113
113
114
114
function addEventListener(){}
115
115
116
-
function reportUndefinedSymbolsNoOp() {}
117
-
118
116
if (typeof FinalizationRegistry === "undefined") {
119
117
globalThis.FinalizationRegistry = class FinalizationRegistry {
120
118
register(){}
@@ -155,10 +153,6 @@ REPLACEMENTS = [
155
153
"Date.now",
156
154
"monotonicDateNow",
157
155
],
158
-
[
159
-
"reportUndefinedSymbols()",
160
-
"reportUndefinedSymbolsNoOp()",
161
-
],
162
156
[
163
157
"crypto.getRandomValues(",
164
158
"getRandomValues(Module, ",
@@ -177,9 +171,16 @@ REPLACEMENTS = [
177
171
"eval(UTF8ToString(ptr))",
178
172
"(() => {throw new Error('Internal Emscripten code tried to eval, this should not happen, please file a bug report with your requirements.txt file\\'s contents')})()",
`It appears that a package ("${name}") you requested is not available yet in workerd. \n`+
303
-
'If you would like this package to be included, please open an issue at https://github.com/cloudflare/workerd/discussions/new?category=python-packages.'
0 commit comments