Skip to content

Commit 56e89a6

Browse files
authored
Merge pull request #607 from runloopai/release-please--branches--main--changes--next
release: 0.47.1
2 parents 6b47516 + 1b39698 commit 56e89a6

8 files changed

Lines changed: 37 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,31 @@ jobs:
3535
- name: Run lints
3636
run: ./scripts/lint
3737

38-
upload:
38+
build:
3939
if: github.repository == 'stainless-sdks/runloop-python' && (github.event_name == 'push' || github.event.pull_request.head.repo.fork)
4040
timeout-minutes: 10
41-
name: upload
41+
name: build
4242
permissions:
4343
contents: read
4444
id-token: write
4545
runs-on: depot-ubuntu-24.04
4646
steps:
4747
- uses: actions/checkout@v4
4848

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+
4963
- name: Get GitHub OIDC Token
5064
id: github-oidc
5165
uses: actions/github-script@v6

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.47.0"
2+
".": "0.47.1"
33
}

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 0.47.1 (2025-07-08)
4+
5+
Full Changelog: [v0.47.0...v0.47.1](https://github.com/runloopai/api-client-python/compare/v0.47.0...v0.47.1)
6+
7+
### Chores
8+
9+
* **ci:** change upload type ([e8af7c3](https://github.com/runloopai/api-client-python/commit/e8af7c350cf848f0255ffc3ebcaeb339ebcb8ba9))
10+
* **internal:** codegen related update ([402126e](https://github.com/runloopai/api-client-python/commit/402126e45fbb32556f59b1504ded9581910ee7dd))
11+
312
## 0.47.0 (2025-07-01)
413

514
Full Changelog: [v0.46.0...v0.47.0](https://github.com/runloopai/api-client-python/compare/v0.46.0...v0.47.0)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "runloop_api_client"
3-
version = "0.47.0"
3+
version = "0.47.1"
44
description = "The official Python library for the runloop API"
55
dynamic = ["readme"]
66
license = "MIT"

requirements-dev.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ httpx==0.28.1
5656
# via httpx-aiohttp
5757
# via respx
5858
# via runloop-api-client
59-
httpx-aiohttp==0.1.6
59+
httpx-aiohttp==0.1.8
6060
# via runloop-api-client
6161
idna==3.4
6262
# via anyio

requirements.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ httpcore==1.0.2
4343
httpx==0.28.1
4444
# via httpx-aiohttp
4545
# via runloop-api-client
46-
httpx-aiohttp==0.1.6
46+
httpx-aiohttp==0.1.8
4747
# via runloop-api-client
4848
idna==3.4
4949
# via anyio

scripts/utils/upload-artifact.sh

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#!/usr/bin/env bash
22
set -exuo pipefail
33

4-
RESPONSE=$(curl -X POST "$URL" \
4+
FILENAME=$(basename dist/*.whl)
5+
6+
RESPONSE=$(curl -X POST "$URL?filename=$FILENAME" \
57
-H "Authorization: Bearer $AUTH" \
68
-H "Content-Type: application/json")
79

@@ -12,13 +14,13 @@ if [[ "$SIGNED_URL" == "null" ]]; then
1214
exit 1
1315
fi
1416

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)
1820

1921
if echo "$UPLOAD_RESPONSE" | grep -q "HTTP/[0-9.]* 200"; then
2022
echo -e "\033[32mUploaded build to Stainless storage.\033[0m"
21-
echo -e "\033[32mInstallation: pip install 'https://pkg.stainless.com/s/runloop-python/$SHA'\033[0m"
23+
echo -e "\033[32mInstallation: pip install 'https://pkg.stainless.com/s/runloop-python/$SHA/$FILENAME'\033[0m"
2224
else
2325
echo -e "\033[31mFailed to upload artifact.\033[0m"
2426
exit 1

src/runloop_api_client/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "runloop_api_client"
4-
__version__ = "0.47.0" # x-release-please-version
4+
__version__ = "0.47.1" # x-release-please-version

0 commit comments

Comments
 (0)