Skip to content

Commit 38396ed

Browse files
authored
Remove warning for Python workers (#11186)
They are mature enough at this point that we shouldn't have this warnings anymore
1 parent 70d3d4a commit 38396ed

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.changeset/lovely-hairs-post.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"wrangler": patch
3+
---
4+
5+
Removed warning when deploying a Python worker

packages/wrangler/src/deployment-bundle/guess-worker-format.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ export async function guessWorkerFormat(
2020
): Promise<{ format: CfScriptFormat; exports: string[] }> {
2121
const parsedEntryPath = path.parse(entryFile);
2222
if (parsedEntryPath.ext == ".py") {
23-
logger.warn(
24-
`The entrypoint ${path.relative(
25-
process.cwd(),
26-
entryFile
27-
)} defines a Python worker, support for Python workers is currently experimental.`
28-
);
2923
return { format: "modules", exports: [] };
3024
}
3125

0 commit comments

Comments
 (0)