Skip to content

Commit df64f57

Browse files
authored
Merge pull request #99 from steel-dev/release-please--branches--main--changes--next
release: 0.0.1
2 parents 726a074 + d52a6ad commit df64f57

20 files changed

+431
-18
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT}
33

44
USER vscode
55

6-
RUN curl -sSf https://rye.astral.sh/get | RYE_VERSION="0.35.0" RYE_INSTALL_OPTION="--yes" bash
6+
RUN curl -sSf https://rye.astral.sh/get | RYE_VERSION="0.44.0" RYE_INSTALL_OPTION="--yes" bash
77
ENV PATH=/home/vscode/.rye/shims:$PATH
88

99
RUN echo "[[ -d .venv ]] && source .venv/bin/activate || export PATH=\$PATH" >> /home/vscode/.bashrc

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
curl -sSf https://rye.astral.sh/get | bash
2222
echo "$HOME/.rye/shims" >> $GITHUB_PATH
2323
env:
24-
RYE_VERSION: '0.35.0'
24+
RYE_VERSION: '0.44.0'
2525
RYE_INSTALL_OPTION: '--yes'
2626

2727
- name: Install dependencies
@@ -42,7 +42,7 @@ jobs:
4242
curl -sSf https://rye.astral.sh/get | bash
4343
echo "$HOME/.rye/shims" >> $GITHUB_PATH
4444
env:
45-
RYE_VERSION: '0.35.0'
45+
RYE_VERSION: '0.44.0'
4646
RYE_INSTALL_OPTION: '--yes'
4747

4848
- name: Bootstrap

.github/workflows/publish-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
curl -sSf https://rye.astral.sh/get | bash
2222
echo "$HOME/.rye/shims" >> $GITHUB_PATH
2323
env:
24-
RYE_VERSION: '0.35.0'
24+
RYE_VERSION: '0.44.0'
2525
RYE_INSTALL_OPTION: '--yes'
2626

2727
- name: Publish to PyPI

.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.1.0-beta.11"
2+
".": "0.0.1"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
configured_endpoints: 9
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/nen-labs%2Fsteel-7c68fa4164ba7295d709a782dd4a50b60a84503307f4be771226334ea78f530d.yml
1+
configured_endpoints: 11
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/nen-labs%2Fsteel-eeb1e8ae03bb1dd924b05f4a631d38d5f1fdeb8926168ce63b95d8445df2d359.yml

CHANGELOG.md

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

3+
## 0.0.1 (2025-03-19)
4+
5+
Full Changelog: [v0.1.0-beta.11...v0.0.1](https://github.com/steel-dev/steel-python/compare/v0.1.0-beta.11...v0.0.1)
6+
7+
### Features
8+
9+
* **api:** api update ([#105](https://github.com/steel-dev/steel-python/issues/105)) ([4b1a78e](https://github.com/steel-dev/steel-python/commit/4b1a78e9fefef1848ceb29e2248bea1469bdcd65))
10+
11+
12+
### Bug Fixes
13+
14+
* **ci:** ensure pip is always available ([#103](https://github.com/steel-dev/steel-python/issues/103)) ([1860732](https://github.com/steel-dev/steel-python/commit/18607326cb37814fef53beffe6e33c3e3063b88a))
15+
* **ci:** remove publishing patch ([#104](https://github.com/steel-dev/steel-python/issues/104)) ([d989ea3](https://github.com/steel-dev/steel-python/commit/d989ea315bdbfe80bfccdd0062688ba733370488))
16+
* **types:** handle more discriminated union shapes ([#102](https://github.com/steel-dev/steel-python/issues/102)) ([abe344f](https://github.com/steel-dev/steel-python/commit/abe344f8bb0d9aa9653338697256238c348738b6))
17+
18+
19+
### Chores
20+
21+
* **internal:** bump rye to 0.44.0 ([#101](https://github.com/steel-dev/steel-python/issues/101)) ([1e457b2](https://github.com/steel-dev/steel-python/commit/1e457b2194838e0b4ee65e649e6ff70e8c483b60))
22+
* **internal:** codegen related update ([#100](https://github.com/steel-dev/steel-python/issues/100)) ([5e997a0](https://github.com/steel-dev/steel-python/commit/5e997a03abbdc56aecd0b91a84944b0f489600f3))
23+
* **internal:** remove extra empty newlines ([#98](https://github.com/steel-dev/steel-python/issues/98)) ([6038058](https://github.com/steel-dev/steel-python/commit/60380587613a26ba0908f32312ce3f2eb7d6a63d))
24+
325
## 0.1.0-beta.11 (2025-03-11)
426

527
Full Changelog: [v0.1.0-beta.10...v0.1.0-beta.11](https://github.com/steel-dev/steel-python/compare/v0.1.0-beta.10...v0.1.0-beta.11)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The REST API documentation can be found on [docs.steel.dev](https://docs.steel.d
1616

1717
```sh
1818
# install from PyPI
19-
pip install --pre steel-sdk
19+
pip install steel-sdk
2020
```
2121

2222
## Usage

api.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ from steel.types import (
2121
Session,
2222
SessionContext,
2323
Sessionslist,
24+
SessionEventsResponse,
25+
SessionLiveDetailsResponse,
2426
SessionReleaseResponse,
2527
SessionReleaseAllResponse,
2628
)
@@ -32,5 +34,7 @@ Methods:
3234
- <code title="get /v1/sessions/{id}">client.sessions.<a href="./src/steel/resources/sessions.py">retrieve</a>(id) -> <a href="./src/steel/types/session.py">Session</a></code>
3335
- <code title="get /v1/sessions">client.sessions.<a href="./src/steel/resources/sessions.py">list</a>(\*\*<a href="src/steel/types/session_list_params.py">params</a>) -> SyncSessionsCursor[Session]</code>
3436
- <code title="get /v1/sessions/{id}/context">client.sessions.<a href="./src/steel/resources/sessions.py">context</a>(id) -> <a href="./src/steel/types/session_context.py">SessionContext</a></code>
37+
- <code title="get /v1/sessions/{id}/events">client.sessions.<a href="./src/steel/resources/sessions.py">events</a>(id) -> <a href="./src/steel/types/session_events_response.py">SessionEventsResponse</a></code>
38+
- <code title="get /v1/sessions/{id}/live-details">client.sessions.<a href="./src/steel/resources/sessions.py">live_details</a>(id) -> <a href="./src/steel/types/session_live_details_response.py">SessionLiveDetailsResponse</a></code>
3539
- <code title="post /v1/sessions/{id}/release">client.sessions.<a href="./src/steel/resources/sessions.py">release</a>(id) -> <a href="./src/steel/types/session_release_response.py">SessionReleaseResponse</a></code>
3640
- <code title="post /v1/sessions/release">client.sessions.<a href="./src/steel/resources/sessions.py">release_all</a>() -> <a href="./src/steel/types/session_release_all_response.py">SessionReleaseAllResponse</a></code>

bin/publish-pypi

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,4 @@
33
set -eux
44
mkdir -p dist
55
rye build --clean
6-
# Patching importlib-metadata version until upstream library version is updated
7-
# https://github.com/pypa/twine/issues/977#issuecomment-2189800841
8-
"$HOME/.rye/self/bin/python3" -m pip install 'importlib-metadata==7.2.1'
96
rye publish --yes --token=$PYPI_TOKEN

pyproject.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "steel-sdk"
3-
version = "0.1.0-beta.11"
3+
version = "0.0.1"
44
description = "The official Python library for the steel API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"
@@ -38,7 +38,6 @@ Homepage = "https://github.com/steel-dev/steel-python"
3838
Repository = "https://github.com/steel-dev/steel-python"
3939

4040

41-
4241
[tool.rye]
4342
managed = true
4443
# version pins are in requirements-dev.lock
@@ -87,7 +86,7 @@ typecheck = { chain = [
8786
"typecheck:mypy" = "mypy ."
8887

8988
[build-system]
90-
requires = ["hatchling", "hatch-fancy-pypi-readme"]
89+
requires = ["hatchling==1.26.3", "hatch-fancy-pypi-readme"]
9190
build-backend = "hatchling.build"
9291

9392
[tool.hatch.build]
@@ -152,7 +151,6 @@ reportImplicitOverride = true
152151
reportImportCycles = false
153152
reportPrivateUsage = false
154153

155-
156154
[tool.ruff]
157155
line-length = 120
158156
output-format = "grouped"

0 commit comments

Comments
 (0)