Skip to content

release: 0.3.1#53

Open
stainless-app[bot] wants to merge 4 commits intomainfrom
release-please--branches--main--changes--next
Open

release: 0.3.1#53
stainless-app[bot] wants to merge 4 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Contributor

@stainless-app stainless-app bot commented Mar 6, 2026

Automated Release PR

0.3.1 (2026-03-07)

Full Changelog: v0.3.0...v0.3.1

Chores

  • ci: skip uploading artifacts on stainless-internal branches (e3ed836)
  • update placeholder string (3a623d4)

Refactors

  • types: use extra_items from PEP 728 (de6e4e4)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

@cursor
Copy link

cursor bot commented Mar 6, 2026

PR Summary

Low Risk
Low risk: mostly release/version bookkeeping plus CI gating and a minor typing refactor; functional runtime behavior changes are minimal and isolated.

Overview
Updates the package release to 0.3.1 (manifest, pyproject.toml, _version.py) and adds the corresponding CHANGELOG.md entry.

Adjusts the CI build job to skip OIDC token retrieval and tarball upload when running on refs/heads/stl/* branches.

Refactors the Reasoning typed dict to use TypedDict(..., extra_items=object) (PEP 728) instead of a Union with Dict[str, object], and replaces test file payload placeholders (b"raw file contents" -> b"Example data").

Written by Cursor Bugbot for commit e3f484a. This will update automatically on new commits. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Minimum typing-extensions version too low for extra_items
    • Updated the package dependency constraint to typing-extensions>=4.13 so TypedDict(extra_items=...) is supported at import time.

Create PR

Or push these changes by commenting:

@cursor push 4d33f509c1
Preview (4d33f509c1)
diff --git a/pyproject.toml b/pyproject.toml
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -11,7 +11,7 @@
 dependencies = [
   "httpx>=0.23.0, <1",
   "pydantic>=1.9.0, <3",
-  "typing-extensions>=4.10, <5",
+  "typing-extensions>=4.13, <5",
   "anyio>=3.5.0, <5",
   "distro>=1.7.0, <2",
   "sniffio",



class ReasoningTyped(TypedDict, total=False):
class Reasoning(TypedDict, total=False, extra_items=object): # type: ignore[call-arg]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minimum typing-extensions version too low for extra_items

High Severity

The extra_items=object class parameter on TypedDict (PEP 728) was only added to typing_extensions in version 4.13.0 (March 2025). However, pyproject.toml declares typing-extensions>=4.10, <5. Users who install typing_extensions 4.10–4.12 will get a TypeError at import time because older TypedDict does not accept the extra_items keyword argument. The dev lockfile pins 4.15.0, masking this in CI.

Additional Locations (1)

Fix in Cursor Fix in Web

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from b40181c to db00e7a Compare March 7, 2026 12:56
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Mar 7, 2026

🧪 Testing

To try out this version of the SDK:

pip install 'https://pkg.stainless.com/s/dedalus-sdk-python/3a623d4779430378efe9ceb6540ba6fddbc70041/dedalus_labs-0.3.0-py3-none-any.whl'

Expires at: Mon, 06 Apr 2026 13:17:27 GMT
Updated at: Sat, 07 Mar 2026 13:17:27 GMT

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from db00e7a to e3f484a Compare March 7, 2026 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants