Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: |
python -m venv venv
source venv/bin/activate
pip install componentize-py==0.22.0 http-router==4.1.2 build==1.4.2 mypy==1.13
pip install componentize-py==0.22.1 http-router==4.1.2 build==1.4.2 mypy==1.13
python -m build
pip install dist/spin_sdk-4.0.0-py3-none-any.whl
bash run_tests.sh
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

- Python
- `pip`
- `componentize-py` 0.22.0
- `componentize-py` 0.22.1

Once you have `pip` installed, you can install `componentize-py` using:

```bash
pip install componentize-py==0.22.0
pip install componentize-py==0.22.1
```

### Generating the bindings
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ enter a virtual environment and then install the desired packages
```shell
python -m venv .venv
source .venv/bin/activate
pip install componentize-py==0.22.0 spin-sdk==4.0.0 mypy==1.8.0
pip install componentize-py==0.22.1 spin-sdk==4.0.0 mypy==1.8.0
```

### Hello, World
Expand Down
6 changes: 3 additions & 3 deletions docs/v4/http/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

86 changes: 43 additions & 43 deletions docs/v4/wit/exports/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 1 addition & 13 deletions docs/v4/wit/imports/fermyon_spin_config.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/external-lib-example/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def handle_queryparams(uri: ParseResult, request: Request) -> Response:
return Response(200, {"content-type": "text/plain"}, bytes(foo, "utf-8"))


class WasiHttpHandler030Rc20260315(http.Handler):
class HttpHandler(http.Handler):
async def handle_request(self, request: Request) -> Response:
# I need to parse the URI because the Request object in Spin
# is in the form /path/to/thing?param1=val1&p2=v2#anchor
Expand Down
2 changes: 1 addition & 1 deletion examples/external-lib-example/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
spin-sdk == 4.0.0
componentize-py == 0.22.0
componentize-py == 0.22.1
http-router == 4.1.2
2 changes: 1 addition & 1 deletion examples/hello/app.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from spin_sdk import http
from spin_sdk.http import Request, Response

class WasiHttpHandler030Rc20260315(http.Handler):
class HttpHandler(http.Handler):
async def handle_request(self, request: Request) -> Response:
return Response(
200,
Expand Down
2 changes: 1 addition & 1 deletion examples/hello/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
spin-sdk == 4.0.0
componentize-py == 0.22.0
componentize-py == 0.22.1
2 changes: 1 addition & 1 deletion examples/matrix-math/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from spin_sdk import http
from spin_sdk.http import Request, Response

class WasiHttpHandler030Rc20260315(http.Handler):
class HttpHandler(http.Handler):
async def handle_request(self, request: Request) -> Response:
if request.method == "POST" \
and request.uri == "/multiply" \
Expand Down
2 changes: 1 addition & 1 deletion examples/matrix-math/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
spin-sdk == 4.0.0
componentize-py == 0.22.0
componentize-py == 0.22.1
2 changes: 1 addition & 1 deletion examples/outgoing-request/app.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from spin_sdk import http
from spin_sdk.http import Request, Response, send

class WasiHttpHandler030Rc20260315(http.Handler):
class HttpHandler(http.Handler):
async def handle_request(self, request: Request) -> Response:
try:
url = request.headers["url"]
Expand Down
2 changes: 1 addition & 1 deletion examples/outgoing-request/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
spin-sdk == 4.0.0
componentize-py == 0.22.0
componentize-py == 0.22.1
Loading
Loading