Skip to content

release: 0.36.1#251

Merged
joeldierkes merged 3 commits into
mainfrom
release-please--branches--main--changes--next
Nov 3, 2025
Merged

release: 0.36.1#251
joeldierkes merged 3 commits into
mainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

@stainless-app stainless-app Bot commented Oct 31, 2025

Automated Release PR

0.36.1 (2025-10-31)

Full Changelog: v0.36.0...v0.36.1

Chores

  • internal/tests: avoid race condition with implicit client cleanup (8685562)

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


Note

Bumps to 0.36.1, updates changelog and spec stats, and refactors tests to use fixtures with explicit client cleanup to avoid race conditions.

  • Release
    • Bump version to 0.36.1 in pyproject.toml and src/mixedbread/_version.py.
    • Update CHANGELOG.md for 0.36.1.
    • Refresh OpenAPI spec metadata in .stats.yml.
  • Tests
    • Refactor tests/test_client.py to use injected client/async_client fixtures instead of class attributes.
    • Add explicit close()/await close() calls and minor variable renames to prevent connection leaks and race conditions.
    • Adjust test signatures and remove redundant markers where appropriate (e.g., @pytest.mark.asyncio).

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

@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented Oct 31, 2025

🧪 Testing

To try out this version of the SDK, run:

pip install 'https://pkg.stainless.com/s/mixedbread-python/86855629693a450a3049d94bf91592e5b30af1a8/mixedbread-0.36.0-py3-none-any.whl'

Expires: Sun, 30 Nov 2025 04:13:07 GMT

Comment thread tests/test_client.py

# `extra_query` takes priority over `query` when keys clash
request = self.client._build_request(
request = client._build_request(
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bug: Bug

The test_request_extra_json, test_request_extra_headers, and test_request_extra_query methods in TestAsyncMixedbread are currently using the synchronous client: Mixedbread fixture. These tests are part of the async test suite and should use the async_client: AsyncMixedbread fixture to ensure proper async client behavior is being tested.

Fix in Cursor Fix in Web

@joeldierkes joeldierkes merged commit 0a3e5ee into main Nov 3, 2025
7 of 8 checks passed
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented Nov 3, 2025

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.

1 participant