workers-runtime-sdk 1.5.3__tar.gz → 1.5.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. {workers_runtime_sdk-1.5.3 → workers_runtime_sdk-1.5.4}/CHANGELOG.md +9 -0
  2. {workers_runtime_sdk-1.5.3 → workers_runtime_sdk-1.5.4}/PKG-INFO +2 -2
  3. {workers_runtime_sdk-1.5.3 → workers_runtime_sdk-1.5.4}/pyproject.toml +4 -4
  4. {workers_runtime_sdk-1.5.3 → workers_runtime_sdk-1.5.4}/src/workers/types.py +4 -4
  5. {workers_runtime_sdk-1.5.3 → workers_runtime_sdk-1.5.4}/uv.lock +21 -2
  6. {workers_runtime_sdk-1.5.3 → workers_runtime_sdk-1.5.4}/.gitignore +0 -0
  7. {workers_runtime_sdk-1.5.3 → workers_runtime_sdk-1.5.4}/AGENTS.md +0 -0
  8. {workers_runtime_sdk-1.5.3 → workers_runtime_sdk-1.5.4}/README.md +0 -0
  9. {workers_runtime_sdk-1.5.3 → workers_runtime_sdk-1.5.4}/src/_cloudflare_compat_flags.pyi +0 -0
  10. {workers_runtime_sdk-1.5.3 → workers_runtime_sdk-1.5.4}/src/_pyodide_entrypoint_helper.pyi +0 -0
  11. {workers_runtime_sdk-1.5.3 → workers_runtime_sdk-1.5.4}/src/_workers_sdk_entropy_import_context.pth +0 -0
  12. {workers_runtime_sdk-1.5.3 → workers_runtime_sdk-1.5.4}/src/_workers_sdk_entropy_import_context.py +0 -0
  13. {workers_runtime_sdk-1.5.3 → workers_runtime_sdk-1.5.4}/src/_workers_sdk_entropy_import_context_loader.py +0 -0
  14. {workers_runtime_sdk-1.5.3 → workers_runtime_sdk-1.5.4}/src/asgi.py +0 -0
  15. {workers_runtime_sdk-1.5.3 → workers_runtime_sdk-1.5.4}/src/workers/__init__.py +0 -0
  16. {workers_runtime_sdk-1.5.3 → workers_runtime_sdk-1.5.4}/src/workers/_workers.py +0 -0
  17. {workers_runtime_sdk-1.5.3 → workers_runtime_sdk-1.5.4}/src/workers/blob.py +0 -0
  18. {workers_runtime_sdk-1.5.3 → workers_runtime_sdk-1.5.4}/src/workers/fetch.py +0 -0
  19. {workers_runtime_sdk-1.5.3 → workers_runtime_sdk-1.5.4}/src/workers/formdata.py +0 -0
  20. {workers_runtime_sdk-1.5.3 → workers_runtime_sdk-1.5.4}/src/workers/py.typed +0 -0
  21. {workers_runtime_sdk-1.5.3 → workers_runtime_sdk-1.5.4}/src/workers/request.py +0 -0
  22. {workers_runtime_sdk-1.5.3 → workers_runtime_sdk-1.5.4}/src/workers/response.py +0 -0
  23. {workers_runtime_sdk-1.5.3 → workers_runtime_sdk-1.5.4}/src/workers/rpc.py +0 -0
  24. {workers_runtime_sdk-1.5.3 → workers_runtime_sdk-1.5.4}/src/workers/utils.py +0 -0
  25. {workers_runtime_sdk-1.5.3 → workers_runtime_sdk-1.5.4}/src/workers/workflows.py +0 -0
@@ -2,6 +2,15 @@
2
2
 
3
3
  <!-- version list -->
4
4
 
5
+ ## v1.5.4 (2026-07-08)
6
+
7
+ ### Bug Fixes
8
+
9
+ - Relax required-python version to support Python 3.11
10
+ ([#149](https://github.com/cloudflare/workers-py/pull/149),
11
+ [`31d0f69`](https://github.com/cloudflare/workers-py/commit/31d0f696b2f64daf27ef629242957dff96bdde81))
12
+
13
+
5
14
  ## v1.5.3 (2026-07-03)
6
15
 
7
16
  ### Bug Fixes
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: workers-runtime-sdk
3
- Version: 1.5.3
3
+ Version: 1.5.4
4
4
  Summary: Python SDK for Cloudflare Workers
5
5
  Project-URL: Homepage, https://github.com/cloudflare/workers-py
6
6
  Project-URL: Bug Tracker, https://github.com/cloudflare/workers-py/issues
7
7
  Classifier: License :: OSI Approved :: MIT License
8
8
  Classifier: Operating System :: OS Independent
9
9
  Classifier: Programming Language :: Python :: 3
10
- Requires-Python: >=3.12
10
+ Requires-Python: >=3.11
11
11
  Description-Content-Type: text/markdown
12
12
 
13
13
  # workers-runtime-sdk
@@ -4,10 +4,10 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "workers-runtime-sdk"
7
- version = "1.5.3"
7
+ version = "1.5.4"
8
8
  description = "Python SDK for Cloudflare Workers"
9
9
  readme = "README.md"
10
- requires-python = ">=3.12"
10
+ requires-python = ">=3.11"
11
11
  classifiers = [
12
12
  "Programming Language :: Python :: 3",
13
13
  "License :: OSI Approved :: MIT License",
@@ -27,7 +27,7 @@ dev = [
27
27
  "Bug Tracker" = "https://github.com/cloudflare/workers-py/issues"
28
28
 
29
29
  [tool.ruff]
30
- target-version = "py312"
30
+ target-version = "py311"
31
31
  lint.select = [
32
32
  "B0", # bugbear (all B0* checks enabled by default)
33
33
  "B904", # bugbear (Within an except clause, raise exceptions with raise ... from err)
@@ -59,7 +59,7 @@ lint.flake8-comprehensions.allow-dict-calls-with-keyword-arguments = true
59
59
 
60
60
  [tool.mypy]
61
61
  packages = ["workers_runtime_sdk"]
62
- python_version = "3.12"
62
+ python_version = "3.11"
63
63
 
64
64
  show_error_codes = true
65
65
 
@@ -1,6 +1,6 @@
1
1
  from collections.abc import Awaitable
2
2
  from http import HTTPMethod
3
- from typing import Any, Protocol, TypedDict
3
+ from typing import Any, Protocol, TypeAlias, TypedDict
4
4
 
5
5
  import js
6
6
  from pyodide.ffi import JsBuffer
@@ -13,11 +13,11 @@ class Context(Protocol):
13
13
  def waitUntil(self, other: Awaitable[Any]) -> None: ...
14
14
 
15
15
 
16
- type JSBody = (
16
+ JSBody: TypeAlias = (
17
17
  "js.Blob | JsBuffer | js.FormData | js.ReadableStream | js.URLSearchParams"
18
18
  )
19
- type Body = "str | FormData | JSBody"
20
- type Headers = "dict[str, str] | list[tuple[str, str]] | js.Headers"
19
+ Body: TypeAlias = "str | FormData | JSBody"
20
+ Headers: TypeAlias = "dict[str, str] | list[tuple[str, str]] | js.Headers"
21
21
 
22
22
 
23
23
  # https://developers.cloudflare.com/workers/runtime-apis/request/#the-cf-property-requestinitcfproperties
@@ -1,6 +1,6 @@
1
1
  version = 1
2
2
  revision = 3
3
- requires-python = ">=3.12"
3
+ requires-python = ">=3.11"
4
4
 
5
5
  [[package]]
6
6
  name = "colorama"
@@ -26,6 +26,19 @@ version = "0.8.1"
26
26
  source = { registry = "https://pypi.org/simple" }
27
27
  sdist = { url = "https://files.pythonhosted.org/packages/56/9c/b4b0c54d84da4a94b37bd44151e46d5e583c9534c7e02250b961b1b6d8a8/librt-0.8.1.tar.gz", hash = "sha256:be46a14693955b3bd96014ccbdb8339ee8c9346fbe11c1b78901b55125f14c73", size = 177471, upload-time = "2026-02-17T16:13:06.101Z" }
28
28
  wheels = [
29
+ { url = "https://files.pythonhosted.org/packages/1d/01/0e748af5e4fee180cf7cd12bd12b0513ad23b045dccb2a83191bde82d168/librt-0.8.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:681dc2451d6d846794a828c16c22dc452d924e9f700a485b7ecb887a30aad1fd", size = 65315, upload-time = "2026-02-17T16:11:25.152Z" },
30
+ { url = "https://files.pythonhosted.org/packages/9d/4d/7184806efda571887c798d573ca4134c80ac8642dcdd32f12c31b939c595/librt-0.8.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:a3b4350b13cc0e6f5bec8fa7caf29a8fb8cdc051a3bae45cfbfd7ce64f009965", size = 68021, upload-time = "2026-02-17T16:11:26.129Z" },
31
+ { url = "https://files.pythonhosted.org/packages/ae/88/c3c52d2a5d5101f28d3dc89298444626e7874aa904eed498464c2af17627/librt-0.8.1-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:ac1e7817fd0ed3d14fd7c5df91daed84c48e4c2a11ee99c0547f9f62fdae13da", size = 194500, upload-time = "2026-02-17T16:11:27.177Z" },
32
+ { url = "https://files.pythonhosted.org/packages/d6/5d/6fb0a25b6a8906e85b2c3b87bee1d6ed31510be7605b06772f9374ca5cb3/librt-0.8.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:747328be0c5b7075cde86a0e09d7a9196029800ba75a1689332348e998fb85c0", size = 205622, upload-time = "2026-02-17T16:11:28.242Z" },
33
+ { url = "https://files.pythonhosted.org/packages/b2/a6/8006ae81227105476a45691f5831499e4d936b1c049b0c1feb17c11b02d1/librt-0.8.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f0af2bd2bc204fa27f3d6711d0f360e6b8c684a035206257a81673ab924aa11e", size = 218304, upload-time = "2026-02-17T16:11:29.344Z" },
34
+ { url = "https://files.pythonhosted.org/packages/ee/19/60e07886ad16670aae57ef44dada41912c90906a6fe9f2b9abac21374748/librt-0.8.1-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:d480de377f5b687b6b1bc0c0407426da556e2a757633cc7e4d2e1a057aa688f3", size = 211493, upload-time = "2026-02-17T16:11:30.445Z" },
35
+ { url = "https://files.pythonhosted.org/packages/9c/cf/f666c89d0e861d05600438213feeb818c7514d3315bae3648b1fc145d2b6/librt-0.8.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:d0ee06b5b5291f609ddb37b9750985b27bc567791bc87c76a569b3feed8481ac", size = 219129, upload-time = "2026-02-17T16:11:32.021Z" },
36
+ { url = "https://files.pythonhosted.org/packages/8f/ef/f1bea01e40b4a879364c031476c82a0dc69ce068daad67ab96302fed2d45/librt-0.8.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:9e2c6f77b9ad48ce5603b83b7da9ee3e36b3ab425353f695cba13200c5d96596", size = 213113, upload-time = "2026-02-17T16:11:33.192Z" },
37
+ { url = "https://files.pythonhosted.org/packages/9b/80/cdab544370cc6bc1b72ea369525f547a59e6938ef6863a11ab3cd24759af/librt-0.8.1-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:439352ba9373f11cb8e1933da194dcc6206daf779ff8df0ed69c5e39113e6a99", size = 212269, upload-time = "2026-02-17T16:11:34.373Z" },
38
+ { url = "https://files.pythonhosted.org/packages/9d/9c/48d6ed8dac595654f15eceab2035131c136d1ae9a1e3548e777bb6dbb95d/librt-0.8.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:82210adabbc331dbb65d7868b105185464ef13f56f7f76688565ad79f648b0fe", size = 234673, upload-time = "2026-02-17T16:11:36.063Z" },
39
+ { url = "https://files.pythonhosted.org/packages/16/01/35b68b1db517f27a01be4467593292eb5315def8900afad29fabf56304ba/librt-0.8.1-cp311-cp311-win32.whl", hash = "sha256:52c224e14614b750c0a6d97368e16804a98c684657c7518752c356834fff83bb", size = 54597, upload-time = "2026-02-17T16:11:37.544Z" },
40
+ { url = "https://files.pythonhosted.org/packages/71/02/796fe8f02822235966693f257bf2c79f40e11337337a657a8cfebba5febc/librt-0.8.1-cp311-cp311-win_amd64.whl", hash = "sha256:c00e5c884f528c9932d278d5c9cbbea38a6b81eb62c02e06ae53751a83a4d52b", size = 61733, upload-time = "2026-02-17T16:11:38.691Z" },
41
+ { url = "https://files.pythonhosted.org/packages/28/ad/232e13d61f879a42a4e7117d65e4984bb28371a34bb6fb9ca54ec2c8f54e/librt-0.8.1-cp311-cp311-win_arm64.whl", hash = "sha256:f7cdf7f26c2286ffb02e46d7bac56c94655540b26347673bea15fa52a6af17e9", size = 52273, upload-time = "2026-02-17T16:11:40.308Z" },
29
42
  { url = "https://files.pythonhosted.org/packages/95/21/d39b0a87ac52fc98f621fb6f8060efb017a767ebbbac2f99fbcbc9ddc0d7/librt-0.8.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:a28f2612ab566b17f3698b0da021ff9960610301607c9a5e8eaca62f5e1c350a", size = 66516, upload-time = "2026-02-17T16:11:41.604Z" },
30
43
  { url = "https://files.pythonhosted.org/packages/69/f1/46375e71441c43e8ae335905e069f1c54febee63a146278bcee8782c84fd/librt-0.8.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:60a78b694c9aee2a0f1aaeaa7d101cf713e92e8423a941d2897f4fa37908dab9", size = 68634, upload-time = "2026-02-17T16:11:43.268Z" },
31
44
  { url = "https://files.pythonhosted.org/packages/0a/33/c510de7f93bf1fa19e13423a606d8189a02624a800710f6e6a0a0f0784b3/librt-0.8.1-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:758509ea3f1eba2a57558e7e98f4659d0ea7670bff49673b0dde18a3c7e6c0eb", size = 198941, upload-time = "2026-02-17T16:11:44.28Z" },
@@ -92,6 +105,12 @@ dependencies = [
92
105
  ]
93
106
  sdist = { url = "https://files.pythonhosted.org/packages/f5/db/4efed9504bc01309ab9c2da7e352cc223569f05478012b5d9ece38fd44d2/mypy-1.19.1.tar.gz", hash = "sha256:19d88bb05303fe63f71dd2c6270daca27cb9401c4ca8255fe50d1d920e0eb9ba", size = 3582404, upload-time = "2025-12-15T05:03:48.42Z" }
94
107
  wheels = [
108
+ { url = "https://files.pythonhosted.org/packages/ef/47/6b3ebabd5474d9cdc170d1342fbf9dddc1b0ec13ec90bf9004ee6f391c31/mypy-1.19.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:d8dfc6ab58ca7dda47d9237349157500468e404b17213d44fc1cb77bce532288", size = 13028539, upload-time = "2025-12-15T05:03:44.129Z" },
109
+ { url = "https://files.pythonhosted.org/packages/5c/a6/ac7c7a88a3c9c54334f53a941b765e6ec6c4ebd65d3fe8cdcfbe0d0fd7db/mypy-1.19.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:e3f276d8493c3c97930e354b2595a44a21348b320d859fb4a2b9f66da9ed27ab", size = 12083163, upload-time = "2025-12-15T05:03:37.679Z" },
110
+ { url = "https://files.pythonhosted.org/packages/67/af/3afa9cf880aa4a2c803798ac24f1d11ef72a0c8079689fac5cfd815e2830/mypy-1.19.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2abb24cf3f17864770d18d673c85235ba52456b36a06b6afc1e07c1fdcd3d0e6", size = 12687629, upload-time = "2025-12-15T05:02:31.526Z" },
111
+ { url = "https://files.pythonhosted.org/packages/2d/46/20f8a7114a56484ab268b0ab372461cb3a8f7deed31ea96b83a4e4cfcfca/mypy-1.19.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a009ffa5a621762d0c926a078c2d639104becab69e79538a494bcccb62cc0331", size = 13436933, upload-time = "2025-12-15T05:03:15.606Z" },
112
+ { url = "https://files.pythonhosted.org/packages/5b/f8/33b291ea85050a21f15da910002460f1f445f8007adb29230f0adea279cb/mypy-1.19.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:f7cee03c9a2e2ee26ec07479f38ea9c884e301d42c6d43a19d20fb014e3ba925", size = 13661754, upload-time = "2025-12-15T05:02:26.731Z" },
113
+ { url = "https://files.pythonhosted.org/packages/fd/a3/47cbd4e85bec4335a9cd80cf67dbc02be21b5d4c9c23ad6b95d6c5196bac/mypy-1.19.1-cp311-cp311-win_amd64.whl", hash = "sha256:4b84a7a18f41e167f7995200a1d07a4a6810e89d29859df936f1c3923d263042", size = 10055772, upload-time = "2025-12-15T05:03:26.179Z" },
95
114
  { url = "https://files.pythonhosted.org/packages/06/8a/19bfae96f6615aa8a0604915512e0289b1fad33d5909bf7244f02935d33a/mypy-1.19.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:a8174a03289288c1f6c46d55cef02379b478bfbc8e358e02047487cad44c6ca1", size = 13206053, upload-time = "2025-12-15T05:03:46.622Z" },
96
115
  { url = "https://files.pythonhosted.org/packages/a5/34/3e63879ab041602154ba2a9f99817bb0c85c4df19a23a1443c8986e4d565/mypy-1.19.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ffcebe56eb09ff0c0885e750036a095e23793ba6c2e894e7e63f6d89ad51f22e", size = 12219134, upload-time = "2025-12-15T05:03:24.367Z" },
97
116
  { url = "https://files.pythonhosted.org/packages/89/cc/2db6f0e95366b630364e09845672dbee0cbf0bbe753a204b29a944967cd9/mypy-1.19.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b64d987153888790bcdb03a6473d321820597ab8dd9243b27a92153c4fa50fd2", size = 12731616, upload-time = "2025-12-15T05:02:44.725Z" },
@@ -210,7 +229,7 @@ wheels = [
210
229
 
211
230
  [[package]]
212
231
  name = "workers-runtime-sdk"
213
- version = "1.5.3"
232
+ version = "1.5.4"
214
233
  source = { editable = "." }
215
234
 
216
235
  [package.dev-dependencies]