From ab041e7bef7a01f509deb99a31d78709209f95d9 Mon Sep 17 00:00:00 2001 From: Gyeongjae Choi Date: Thu, 19 Mar 2026 13:46:27 +0900 Subject: [PATCH 1/7] Remove webtypy from python workers template --- .../hello-world-durable-object-with-assets/py/pyproject.toml | 4 +--- .../templates/hello-world-durable-object/py/pyproject.toml | 4 +--- .../templates/hello-world-with-assets/py/pyproject.toml | 4 +--- .../create-cloudflare/templates/hello-world/py/pyproject.toml | 2 +- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/packages/create-cloudflare/templates/hello-world-durable-object-with-assets/py/pyproject.toml b/packages/create-cloudflare/templates/hello-world-durable-object-with-assets/py/pyproject.toml index 8f938a31be..610701ddd6 100644 --- a/packages/create-cloudflare/templates/hello-world-durable-object-with-assets/py/pyproject.toml +++ b/packages/create-cloudflare/templates/hello-world-durable-object-with-assets/py/pyproject.toml @@ -4,9 +4,7 @@ version = "0.1.0" description = "Add your description here" readme = "README.md" requires-python = ">=3.12" -dependencies = [ - "webtypy>=0.1.7", -] +dependencies = [] [dependency-groups] dev = [ diff --git a/packages/create-cloudflare/templates/hello-world-durable-object/py/pyproject.toml b/packages/create-cloudflare/templates/hello-world-durable-object/py/pyproject.toml index 8f938a31be..610701ddd6 100644 --- a/packages/create-cloudflare/templates/hello-world-durable-object/py/pyproject.toml +++ b/packages/create-cloudflare/templates/hello-world-durable-object/py/pyproject.toml @@ -4,9 +4,7 @@ version = "0.1.0" description = "Add your description here" readme = "README.md" requires-python = ">=3.12" -dependencies = [ - "webtypy>=0.1.7", -] +dependencies = [] [dependency-groups] dev = [ diff --git a/packages/create-cloudflare/templates/hello-world-with-assets/py/pyproject.toml b/packages/create-cloudflare/templates/hello-world-with-assets/py/pyproject.toml index 8f938a31be..610701ddd6 100644 --- a/packages/create-cloudflare/templates/hello-world-with-assets/py/pyproject.toml +++ b/packages/create-cloudflare/templates/hello-world-with-assets/py/pyproject.toml @@ -4,9 +4,7 @@ version = "0.1.0" description = "Add your description here" readme = "README.md" requires-python = ">=3.12" -dependencies = [ - "webtypy>=0.1.7", -] +dependencies = [] [dependency-groups] dev = [ diff --git a/packages/create-cloudflare/templates/hello-world/py/pyproject.toml b/packages/create-cloudflare/templates/hello-world/py/pyproject.toml index d91df32315..985661c292 100644 --- a/packages/create-cloudflare/templates/hello-world/py/pyproject.toml +++ b/packages/create-cloudflare/templates/hello-world/py/pyproject.toml @@ -4,7 +4,7 @@ version = "0.1.0" description = "Add your description here" readme = "README.md" requires-python = ">=3.12" -dependencies = ["webtypy>=0.1.7"] +dependencies = [] [dependency-groups] dev = ["workers-py"] From 3ba55daf616f9269fcad4c04a87a3adbd731e3db Mon Sep 17 00:00:00 2001 From: Gyeongjae Choi Date: Fri, 20 Mar 2026 09:03:33 +0900 Subject: [PATCH 2/7] Add workers-runtime-sdk --- .../hello-world-durable-object-with-assets/py/pyproject.toml | 3 ++- .../templates/hello-world-durable-object/py/pyproject.toml | 3 ++- .../templates/hello-world-with-assets/py/pyproject.toml | 3 ++- .../templates/hello-world/py/pyproject.toml | 5 ++++- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/packages/create-cloudflare/templates/hello-world-durable-object-with-assets/py/pyproject.toml b/packages/create-cloudflare/templates/hello-world-durable-object-with-assets/py/pyproject.toml index 610701ddd6..76552f785a 100644 --- a/packages/create-cloudflare/templates/hello-world-durable-object-with-assets/py/pyproject.toml +++ b/packages/create-cloudflare/templates/hello-world-durable-object-with-assets/py/pyproject.toml @@ -8,5 +8,6 @@ dependencies = [] [dependency-groups] dev = [ - "workers-py" + "workers-py", + "workers-runtime-sdk", ] diff --git a/packages/create-cloudflare/templates/hello-world-durable-object/py/pyproject.toml b/packages/create-cloudflare/templates/hello-world-durable-object/py/pyproject.toml index 610701ddd6..76552f785a 100644 --- a/packages/create-cloudflare/templates/hello-world-durable-object/py/pyproject.toml +++ b/packages/create-cloudflare/templates/hello-world-durable-object/py/pyproject.toml @@ -8,5 +8,6 @@ dependencies = [] [dependency-groups] dev = [ - "workers-py" + "workers-py", + "workers-runtime-sdk", ] diff --git a/packages/create-cloudflare/templates/hello-world-with-assets/py/pyproject.toml b/packages/create-cloudflare/templates/hello-world-with-assets/py/pyproject.toml index 610701ddd6..76552f785a 100644 --- a/packages/create-cloudflare/templates/hello-world-with-assets/py/pyproject.toml +++ b/packages/create-cloudflare/templates/hello-world-with-assets/py/pyproject.toml @@ -8,5 +8,6 @@ dependencies = [] [dependency-groups] dev = [ - "workers-py" + "workers-py", + "workers-runtime-sdk", ] diff --git a/packages/create-cloudflare/templates/hello-world/py/pyproject.toml b/packages/create-cloudflare/templates/hello-world/py/pyproject.toml index 985661c292..76552f785a 100644 --- a/packages/create-cloudflare/templates/hello-world/py/pyproject.toml +++ b/packages/create-cloudflare/templates/hello-world/py/pyproject.toml @@ -7,4 +7,7 @@ requires-python = ">=3.12" dependencies = [] [dependency-groups] -dev = ["workers-py"] +dev = [ + "workers-py", + "workers-runtime-sdk", +] From 439ad8fe35d4a5a67f0a33a18f9bc28fbe6839a0 Mon Sep 17 00:00:00 2001 From: Gyeongjae Choi Date: Fri, 20 Mar 2026 09:08:14 +0900 Subject: [PATCH 3/7] changelog --- .changeset/yellow-falcons-cheat.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/yellow-falcons-cheat.md diff --git a/.changeset/yellow-falcons-cheat.md b/.changeset/yellow-falcons-cheat.md new file mode 100644 index 0000000000..98c4b06417 --- /dev/null +++ b/.changeset/yellow-falcons-cheat.md @@ -0,0 +1,5 @@ +--- +"wrangler": minor +--- + +Python workers template now includes workers-runtime-sdk as a dev dependency. Also webtypy is removed from the dependency. From 6f6129c4c4246f7fc2032059c9e1a4f3f9c5c507 Mon Sep 17 00:00:00 2001 From: Gyeongjae Choi Date: Fri, 20 Mar 2026 09:12:38 +0900 Subject: [PATCH 4/7] Apply suggestions from code review Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .changeset/yellow-falcons-cheat.md | 2 +- .../hello-world-durable-object-with-assets/py/pyproject.toml | 2 +- .../templates/hello-world-durable-object/py/pyproject.toml | 2 +- .../templates/hello-world-with-assets/py/pyproject.toml | 2 +- .../create-cloudflare/templates/hello-world/py/pyproject.toml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.changeset/yellow-falcons-cheat.md b/.changeset/yellow-falcons-cheat.md index 98c4b06417..0d00605262 100644 --- a/.changeset/yellow-falcons-cheat.md +++ b/.changeset/yellow-falcons-cheat.md @@ -1,5 +1,5 @@ --- -"wrangler": minor +"create-cloudflare": minor --- Python workers template now includes workers-runtime-sdk as a dev dependency. Also webtypy is removed from the dependency. diff --git a/packages/create-cloudflare/templates/hello-world-durable-object-with-assets/py/pyproject.toml b/packages/create-cloudflare/templates/hello-world-durable-object-with-assets/py/pyproject.toml index 76552f785a..066f304d9a 100644 --- a/packages/create-cloudflare/templates/hello-world-durable-object-with-assets/py/pyproject.toml +++ b/packages/create-cloudflare/templates/hello-world-durable-object-with-assets/py/pyproject.toml @@ -9,5 +9,5 @@ dependencies = [] [dependency-groups] dev = [ "workers-py", - "workers-runtime-sdk", + "workers-runtime-sdk", ] diff --git a/packages/create-cloudflare/templates/hello-world-durable-object/py/pyproject.toml b/packages/create-cloudflare/templates/hello-world-durable-object/py/pyproject.toml index 76552f785a..066f304d9a 100644 --- a/packages/create-cloudflare/templates/hello-world-durable-object/py/pyproject.toml +++ b/packages/create-cloudflare/templates/hello-world-durable-object/py/pyproject.toml @@ -9,5 +9,5 @@ dependencies = [] [dependency-groups] dev = [ "workers-py", - "workers-runtime-sdk", + "workers-runtime-sdk", ] diff --git a/packages/create-cloudflare/templates/hello-world-with-assets/py/pyproject.toml b/packages/create-cloudflare/templates/hello-world-with-assets/py/pyproject.toml index 76552f785a..066f304d9a 100644 --- a/packages/create-cloudflare/templates/hello-world-with-assets/py/pyproject.toml +++ b/packages/create-cloudflare/templates/hello-world-with-assets/py/pyproject.toml @@ -9,5 +9,5 @@ dependencies = [] [dependency-groups] dev = [ "workers-py", - "workers-runtime-sdk", + "workers-runtime-sdk", ] diff --git a/packages/create-cloudflare/templates/hello-world/py/pyproject.toml b/packages/create-cloudflare/templates/hello-world/py/pyproject.toml index 76552f785a..066f304d9a 100644 --- a/packages/create-cloudflare/templates/hello-world/py/pyproject.toml +++ b/packages/create-cloudflare/templates/hello-world/py/pyproject.toml @@ -9,5 +9,5 @@ dependencies = [] [dependency-groups] dev = [ "workers-py", - "workers-runtime-sdk", + "workers-runtime-sdk", ] From bb60e63b158e5f23085ab188a404eb9fe6eb4697 Mon Sep 17 00:00:00 2001 From: Gyeongjae Choi Date: Mon, 23 Mar 2026 18:32:49 +0900 Subject: [PATCH 5/7] lint --- .../templates/hello-world/py/pyproject.toml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/create-cloudflare/templates/hello-world/py/pyproject.toml b/packages/create-cloudflare/templates/hello-world/py/pyproject.toml index 066f304d9a..72f02d11e1 100644 --- a/packages/create-cloudflare/templates/hello-world/py/pyproject.toml +++ b/packages/create-cloudflare/templates/hello-world/py/pyproject.toml @@ -7,7 +7,4 @@ requires-python = ">=3.12" dependencies = [] [dependency-groups] -dev = [ - "workers-py", - "workers-runtime-sdk", -] +dev = ["workers-py", "workers-runtime-sdk"] From a3bf9e5dc8ebbf82b9f81056e1465d7064273291 Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Tue, 24 Mar 2026 10:05:39 +0000 Subject: [PATCH 6/7] Update .changeset/yellow-falcons-cheat.md --- .changeset/yellow-falcons-cheat.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.changeset/yellow-falcons-cheat.md b/.changeset/yellow-falcons-cheat.md index 0d00605262..47a006cbbe 100644 --- a/.changeset/yellow-falcons-cheat.md +++ b/.changeset/yellow-falcons-cheat.md @@ -2,4 +2,6 @@ "create-cloudflare": minor --- -Python workers template now includes workers-runtime-sdk as a dev dependency. Also webtypy is removed from the dependency. +Update dependencies in Python workers templates + +The `workers-runtime-sdk` library is added as a dev dependency and the `webtypy` is removed from as a dependency. From d7a1832e277fba6616b1bda0eff90f5c25b95d97 Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Tue, 24 Mar 2026 10:22:15 +0000 Subject: [PATCH 7/7] Update .changeset/yellow-falcons-cheat.md Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .changeset/yellow-falcons-cheat.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/yellow-falcons-cheat.md b/.changeset/yellow-falcons-cheat.md index 47a006cbbe..fa1616c116 100644 --- a/.changeset/yellow-falcons-cheat.md +++ b/.changeset/yellow-falcons-cheat.md @@ -4,4 +4,4 @@ Update dependencies in Python workers templates -The `workers-runtime-sdk` library is added as a dev dependency and the `webtypy` is removed from as a dependency. +The `workers-runtime-sdk` library is added as a dev dependency and the `webtypy` is removed as a dependency.