File tree Expand file tree Collapse file tree 16 files changed +335
-26
lines changed Expand file tree Collapse file tree 16 files changed +335
-26
lines changed Original file line number Diff line number Diff line change 17
17
timeout-minutes : 10
18
18
name : lint
19
19
runs-on : ${{ github.repository == 'stainless-sdks/kernel-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
20
+ if : github.event_name == 'push' || github.event.pull_request.head.repo.fork
20
21
steps :
21
22
- uses : actions/checkout@v4
22
23
@@ -34,17 +35,31 @@ jobs:
34
35
- name : Run lints
35
36
run : ./scripts/lint
36
37
37
- upload :
38
- if : github.repository == 'stainless-sdks/kernel-python'
38
+ build :
39
+ if : github.repository == 'stainless-sdks/kernel-python' && (github.event_name == 'push' || github.event.pull_request.head.repo.fork)
39
40
timeout-minutes : 10
40
- name : upload
41
+ name : build
41
42
permissions :
42
43
contents : read
43
44
id-token : write
44
45
runs-on : depot-ubuntu-24.04
45
46
steps :
46
47
- uses : actions/checkout@v4
47
48
49
+ - name : Install Rye
50
+ run : |
51
+ curl -sSf https://rye.astral.sh/get | bash
52
+ echo "$HOME/.rye/shims" >> $GITHUB_PATH
53
+ env :
54
+ RYE_VERSION : ' 0.44.0'
55
+ RYE_INSTALL_OPTION : ' --yes'
56
+
57
+ - name : Install dependencies
58
+ run : rye sync --all-features
59
+
60
+ - name : Run build
61
+ run : rye build
62
+
48
63
- name : Get GitHub OIDC Token
49
64
id : github-oidc
50
65
uses : actions/github-script@v6
62
77
timeout-minutes : 10
63
78
name : test
64
79
runs-on : ${{ github.repository == 'stainless-sdks/kernel-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
80
+ if : github.event_name == 'push' || github.event.pull_request.head.repo.fork
65
81
steps :
66
82
- uses : actions/checkout@v4
67
83
Original file line number Diff line number Diff line change 1
1
{
2
- "." : " 0.6.4 "
2
+ "." : " 0.7.1 "
3
3
}
Original file line number Diff line number Diff line change 1
- configured_endpoints : 17
2
- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-2eeb61205775c5997abf8154cd6f6fe81a1e83870eff10050b17ed415aa7860b .yml
3
- openapi_spec_hash : 63405add4a3f53718f8183cbb8c1a22f
4
- config_hash : 00ec9df250b9dc077f8d3b93a442d252
1
+ configured_endpoints : 18
2
+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-d173129101e26f450c200e84430d993479c034700cf826917425d513b88912e6 .yml
3
+ openapi_spec_hash : 150b86da7588979d7619b1a894e4720c
4
+ config_hash : eaeed470b1070b34df69c49d68e67355
Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 0.7.1 (2025-07-08)
4
+
5
+ Full Changelog: [ v0.6.4...v0.7.1] ( https://github.com/onkernel/kernel-python-sdk/compare/v0.6.4...v0.7.1 )
6
+
7
+ ### Features
8
+
9
+ * ** api:** headless browsers ([ de0b235] ( https://github.com/onkernel/kernel-python-sdk/commit/de0b235998be2299459b54df15e83dd9dc8c0b7f ) )
10
+ * ** api:** manual updates ([ 7d0a2bd] ( https://github.com/onkernel/kernel-python-sdk/commit/7d0a2bd8dd25bac6d688e2b5f5076c916d80f800 ) )
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * ** ci:** correct conditional ([ 1167795] ( https://github.com/onkernel/kernel-python-sdk/commit/116779521b08014f5be7588f1e0a7975c13e8e05 ) )
16
+
17
+
18
+ ### Chores
19
+
20
+ * ** ci:** change upload type ([ dabede0] ( https://github.com/onkernel/kernel-python-sdk/commit/dabede0456032d69d0c4b05c740d04002fc900a9 ) )
21
+ * ** ci:** only run for pushes and fork pull requests ([ e9a45fd] ( https://github.com/onkernel/kernel-python-sdk/commit/e9a45fd655812a9bf2c3edec3cccdbde3ab89f73 ) )
22
+ * ** internal:** codegen related update ([ 2c50b08] ( https://github.com/onkernel/kernel-python-sdk/commit/2c50b08edb7f73a7c20a459f2ffeb52f56583e5f ) )
23
+
3
24
## 0.6.4 (2025-06-27)
4
25
5
26
Full Changelog: [ v0.6.3...v0.6.4] ( https://github.com/onkernel/kernel-python-sdk/compare/v0.6.3...v0.6.4 )
Original file line number Diff line number Diff line change @@ -92,3 +92,4 @@ Methods:
92
92
- <code title =" get /browsers " >client.browsers.<a href =" ./src/kernel/resources/browsers.py " >list</a >() -> <a href =" ./src/kernel/types/browser_list_response.py " >BrowserListResponse</a ></code >
93
93
- <code title =" delete /browsers " >client.browsers.<a href =" ./src/kernel/resources/browsers.py " >delete</a >(\*\* <a href =" src/kernel/types/browser_delete_params.py " >params</a >) -> None</code >
94
94
- <code title =" delete /browsers/{id} " >client.browsers.<a href =" ./src/kernel/resources/browsers.py " >delete_by_id</a >(id) -> None</code >
95
+ - <code title =" get /browsers/{id}/replay " >client.browsers.<a href =" ./src/kernel/resources/browsers.py " >retrieve_replay</a >(id) -> BinaryAPIResponse</code >
Original file line number Diff line number Diff line change 1
1
[project ]
2
2
name = " kernel"
3
- version = " 0.6.4 "
3
+ version = " 0.7.1 "
4
4
description = " The official Python library for the kernel API"
5
5
dynamic = [" readme" ]
6
6
license = " Apache-2.0"
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ httpx==0.28.1
56
56
# via httpx-aiohttp
57
57
# via kernel
58
58
# via respx
59
- httpx-aiohttp==0.1.6
59
+ httpx-aiohttp==0.1.8
60
60
# via kernel
61
61
idna==3.4
62
62
# via anyio
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ httpcore==1.0.2
43
43
httpx==0.28.1
44
44
# via httpx-aiohttp
45
45
# via kernel
46
- httpx-aiohttp==0.1.6
46
+ httpx-aiohttp==0.1.8
47
47
# via kernel
48
48
idna==3.4
49
49
# via anyio
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
set -exuo pipefail
3
3
4
- RESPONSE=$( curl -X POST " $URL " \
4
+ FILENAME=$( basename dist/* .whl)
5
+
6
+ RESPONSE=$( curl -X POST " $URL ?filename=$FILENAME " \
5
7
-H " Authorization: Bearer $AUTH " \
6
8
-H " Content-Type: application/json" )
7
9
@@ -12,13 +14,13 @@ if [[ "$SIGNED_URL" == "null" ]]; then
12
14
exit 1
13
15
fi
14
16
15
- UPLOAD_RESPONSE=$( tar -cz . | curl -v -X PUT \
16
- -H " Content-Type: application/gzip " \
17
- --data-binary @- " $SIGNED_URL " 2>&1 )
17
+ UPLOAD_RESPONSE=$( curl -v -X PUT \
18
+ -H " Content-Type: binary/octet-stream " \
19
+ --data-binary " @dist/ $FILENAME " " $SIGNED_URL " 2>&1 )
18
20
19
21
if echo " $UPLOAD_RESPONSE " | grep -q " HTTP/[0-9.]* 200" ; then
20
22
echo -e " \033[32mUploaded build to Stainless storage.\033[0m"
21
- echo -e " \033[32mInstallation: pip install 'https://pkg.stainless.com/s/kernel-python/$SHA '\033[0m"
23
+ echo -e " \033[32mInstallation: pip install 'https://pkg.stainless.com/s/kernel-python/$SHA / $FILENAME '\033[0m"
22
24
else
23
25
echo -e " \033[31mFailed to upload artifact.\033[0m"
24
26
exit 1
Original file line number Diff line number Diff line change 1
1
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
3
3
__title__ = "kernel"
4
- __version__ = "0.6.4 " # x-release-please-version
4
+ __version__ = "0.7.1 " # x-release-please-version
You can’t perform that action at this time.
0 commit comments