Skip to content

Commit d1badf9

Browse files
authored
Merge pull request #3082 from cloudflare/hoodmane/always-use-external-bundle
Remove code for Pyodide builtin bundle
2 parents 92b264e + 849bf07 commit d1badf9

File tree

25 files changed

+30
-51
lines changed

25 files changed

+30
-51
lines changed

samples/pyodide-fastapi/config.capnp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const mainWorker :Workerd.Worker = (
2828
),
2929
],
3030
compatibilityDate = "2023-12-18",
31-
compatibilityFlags = ["python_workers", "python_external_bundle"],
31+
compatibilityFlags = ["python_workers"],
3232
# Learn more about compatibility dates at:
3333
# https://developers.cloudflare.com/workers/platform/compatibility-dates/
3434
);

samples/pyodide-langchain/config.capnp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const mainWorker :Workerd.Worker = (
2222
(name = "langchain_openai", pythonRequirement = ""),
2323
],
2424
compatibilityDate = "2023-12-18",
25-
compatibilityFlags = ["python_workers", "python_external_bundle"],
25+
compatibilityFlags = ["python_workers"],
2626
# Learn more about compatibility dates at:
2727
# https://developers.cloudflare.com/workers/platform/compatibility-dates/
2828
);

samples/pyodide-secret/config.capnp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const mainWorker :Workerd.Worker = (
2525
(name = "worker.py", pythonModule = embed "./worker.py"),
2626
],
2727
compatibilityDate = "2023-12-18",
28-
compatibilityFlags = ["python_workers", "python_external_bundle"],
28+
compatibilityFlags = ["python_workers"],
2929
bindings = [
3030
(
3131
name = "secret",

samples/pyodide/config.capnp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const mainWorker :Workerd.Worker = (
2020
(name = "worker.py", pythonModule = embed "./worker.py"),
2121
],
2222
compatibilityDate = "2023-12-18",
23-
compatibilityFlags = ["python_workers", "python_external_bundle"],
23+
compatibilityFlags = ["python_workers"],
2424
# Learn more about compatibility dates at:
2525
# https://developers.cloudflare.com/workers/platform/compatibility-dates/
2626
);

samples/repl-server-python/config.capnp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const mainWorker :Workerd.Worker = (
2020
(name = "worker.py", pythonModule = embed "./worker.py"),
2121
],
2222
compatibilityDate = "2023-12-18",
23-
compatibilityFlags = ["python_workers", "python_external_bundle"],
23+
compatibilityFlags = ["python_workers"],
2424
# Learn more about compatibility dates at:
2525
# https://developers.cloudflare.com/workers/platform/compatibility-dates/
2626
);

src/cloudflare/internal/test/ai/BUILD.bazel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
load("//:build/wd_test.bzl", "wd_test")
2+
load("//src/workerd/server/tests/python:py_wd_test.bzl", "py_wd_test")
23

34
wd_test(
45
src = "ai-api-test.wd-test",
56
args = ["--experimental"],
67
data = glob(["*.js"]),
78
)
89

9-
wd_test(
10+
py_wd_test(
1011
size = "large",
1112
src = "python-ai-api-test.wd-test",
1213
args = ["--experimental"],

src/cloudflare/internal/test/ai/python-ai-api-test.wd-test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const unitTests :Workerd.Config = (
88
(name = "worker.py", pythonModule = embed "ai-api-test.py")
99
],
1010
compatibilityDate = "2023-01-15",
11-
compatibilityFlags = ["nodejs_compat", "python_workers"],
11+
compatibilityFlags = ["nodejs_compat", "python_workers_development"],
1212
bindings = [
1313
(
1414
name = "ai",

src/cloudflare/internal/test/d1/BUILD.bazel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
load("//:build/wd_test.bzl", "wd_test")
2+
load("//src/workerd/server/tests/python:py_wd_test.bzl", "py_wd_test")
23

34
wd_test(
45
src = "d1-api-test.wd-test",
@@ -15,7 +16,7 @@ wd_test(
1516
data = glob(["*.js"]),
1617
)
1718

18-
wd_test(
19+
py_wd_test(
1920
size = "large",
2021
src = "python-d1-api-test.wd-test",
2122
args = ["--experimental"],

src/cloudflare/internal/test/d1/python-d1-api-test.wd-test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const unitTests :Workerd.Config = (
99
(name = "worker.py", pythonModule = embed "d1-api-test.py")
1010
],
1111
compatibilityDate = "2023-01-15",
12-
compatibilityFlags = ["nodejs_compat", "python_workers"],
12+
compatibilityFlags = ["nodejs_compat", "python_workers_development"],
1313
bindings = [
1414
(
1515
name = "d1",

src/cloudflare/internal/test/vectorize/BUILD.bazel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
load("//:build/wd_test.bzl", "wd_test")
2+
load("//src/workerd/server/tests/python:py_wd_test.bzl", "py_wd_test")
23

34
wd_test(
45
src = "vectorize-api-test.wd-test",
56
data = glob(["*.js"]),
67
)
78

8-
wd_test(
9+
py_wd_test(
910
size = "large",
1011
src = "python-vectorize-api-test.wd-test",
1112
data = glob([

0 commit comments

Comments
 (0)