diff --git a/fixtures/python-worker/wrangler.toml b/fixtures/python-worker/wrangler.toml index 882e41bd6089..3653c0fba02a 100644 --- a/fixtures/python-worker/wrangler.toml +++ b/fixtures/python-worker/wrangler.toml @@ -1,4 +1,4 @@ name = "dep-python-worker" main = "src/index.py" -compatibility_flags = ["experimental"] +compatibility_flags = ["python_workers"] compatibility_date = "2024-01-29" \ No newline at end of file diff --git a/packages/miniflare/test/index.spec.ts b/packages/miniflare/test/index.spec.ts index 352efca8e182..6b585bb42720 100644 --- a/packages/miniflare/test/index.spec.ts +++ b/packages/miniflare/test/index.spec.ts @@ -503,7 +503,7 @@ test("Miniflare: service binding to current worker", async (t) => { if (pathname === "/callback") return new Response("callback"); const response = await env.SELF.fetch("http://placeholder/callback"); const text = await response.text(); - return new Response("body:" + text); + return new Response("body:" + text); } }`, }); @@ -822,7 +822,7 @@ test("Miniflare: python modules", async (t) => { contents: `def add(a, b):\n return a + b`, }, ], - compatibilityFlags: ["experimental"], + compatibilityFlags: ["python_workers"], }); t.teardown(() => mf.dispose()); const res = await mf.dispatchFetch("http://localhost"); diff --git a/packages/wrangler/e2e/dev.test.ts b/packages/wrangler/e2e/dev.test.ts index 12387aef7d49..66a56a0e96d6 100644 --- a/packages/wrangler/e2e/dev.test.ts +++ b/packages/wrangler/e2e/dev.test.ts @@ -283,7 +283,7 @@ describe("basic dev python tests", () => { name = "${workerName}" main = "index.py" compatibility_date = "2023-01-01" - compatibility_flags = ["experimental"] + compatibility_flags = ["python_workers"] `, "index.py": dedent` from js import Response