httpx2-jsfetch-emscripten-forge 0.1.0__tar.gz → 0.1.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: httpx2-jsfetch-emscripten-forge
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: httpx2 transports for emscripten-forge.
5
5
  Project-URL: Source, https://github.com/davidbrochart/httpx2-jsfetch-emscripten-forge
6
6
  Project-URL: Issues, https://github.com/davidbrochart/httpx2-jsfetch-emscripten-forge/issues
@@ -32,6 +32,7 @@ Classifier: Programming Language :: Python :: 3.14
32
32
  Classifier: Topic :: Internet :: WWW/HTTP
33
33
  Classifier: Typing :: Typed
34
34
  Requires-Python: >=3.13
35
+ Requires-Dist: httpx2<3.0.0,>=2.12.0
35
36
  Description-Content-Type: text/markdown
36
37
 
37
38
  [httpx2](https://github.com/pydantic/httpx2) transports for [emscripten-forge](https://github.com/emscripten-forge/recipes).
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
6
6
  name = "httpx2-jsfetch-emscripten-forge"
7
7
  description = "httpx2 transports for emscripten-forge."
8
8
  readme = "README.md"
9
- version = "0.1.0"
9
+ version = "0.1.2"
10
10
  authors = [
11
11
  { name = "Hood Chatham", email = "roberthoodchatham@gmail.com" },
12
12
  { name = "David Brochart", email = "david.brochart@gmail.com" },
@@ -27,6 +27,9 @@ classifiers = [
27
27
  "Typing :: Typed",
28
28
  ]
29
29
  requires-python = ">=3.13"
30
+ dependencies = [
31
+ "httpx2 >=2.12.0,<3.0.0",
32
+ ]
30
33
 
31
34
  [project.urls]
32
35
  Source = "https://github.com/davidbrochart/httpx2-jsfetch-emscripten-forge"
@@ -252,7 +252,7 @@ class AsyncEmscriptenStream(AsyncByteStream):
252
252
  if result_js.done:
253
253
  return
254
254
  else:
255
- yield result_js.value.to_py()
255
+ yield result_js.value.to_py().tobytes()
256
256
 
257
257
  async def aclose(self) -> None:
258
258
  self._stream_js = None