Skip to content

release: 0.2.0-alpha.68 #481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 11, 2025

Conversation

stainless-app[bot]
Copy link
Contributor

@stainless-app stainless-app bot commented Jul 10, 2025

Automated Release PR

0.2.0-alpha.68 (2025-07-11)

Full Changelog: v0.2.0-alpha.67...v0.2.0-alpha.68

Chores

  • readme: fix version rendering on pypi (4a1c3f3)

Refactors

  • Implement conditional imports for all integration modules (#480) (bf99015)

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

…480)

* feat(tests): add integration tests for conditional imports in modules

- Introduced a new test suite to validate that integration modules handle optional dependencies correctly.
- Ensured modules can be imported when dependencies are missing and provide helpful error messages.
- Verified that all integration modules exist and can be imported when dependencies are available.
- Implemented comprehensive checks for availability flags and graceful import handling.
- This addition prevents regressions in conditional import handling across all integrations.

* feat(tracer): enhance conditional imports and type hinting for Anthropic integration

- Implemented conditional import handling for the `anthropic` library, allowing for graceful degradation when the library is not installed.
- Added type hints for `anthropic` types using forward references to improve code clarity and maintainability.
- Introduced an informative error message when the `anthropic` library is missing, guiding users on how to install it.
- This update ensures better compatibility and user experience when working with optional dependencies in the Anthropic integration.

* feat(tracer): improve conditional imports and type hinting for OpenAI integration

- Implemented conditional import handling for the `openai` library, allowing for graceful degradation when the library is not installed.
- Enhanced type hints using forward references for `openai` types to improve code clarity and maintainability.
- Introduced informative error messages when the `openai` library is missing, guiding users on how to install it.
- This update ensures better compatibility and user experience when working with optional dependencies in the OpenAI integration.

* feat(tracer): enhance conditional imports and type hinting for Mistral integration

- Implemented conditional import handling for the `mistralai` library, allowing for graceful degradation when the library is not installed.
- Improved type hints using forward references for `mistralai` types to enhance code clarity and maintainability.
- Introduced an informative error message when the `mistralai` library is missing, guiding users on how to install it.
- This update ensures better compatibility and user experience when working with optional dependencies in the Mistral integration.

* feat(tracer): enhance conditional imports and type hinting for Groq integration

- Implemented conditional import handling for the `groq` library, allowing for graceful degradation when the library is not installed.
- Improved type hints using forward references for `groq` types to enhance code clarity and maintainability.
- Introduced an informative error message when the `groq` library is missing, guiding users on how to install it.
- This update ensures better compatibility and user experience when working with optional dependencies in the Groq integration.

* feat(tracer): enhance conditional imports and type hinting for OpenAI integration

- Improved conditional import handling for the `openai` library, ensuring graceful degradation when the library is not installed.
- Enhanced type hints using forward references for `openai` types to improve code clarity and maintainability.
- Added an informative error message when the `openai` library is missing, guiding users on how to install it.
- This update ensures better compatibility and user experience when working with optional dependencies in the OpenAI integration.

* feat(langchain): enhance conditional imports and type hinting for LangChain integration

- Implemented conditional import handling for the `langchain` library, allowing for graceful degradation when the library is not installed.
- Improved type hints using forward references for `langchain` types to enhance code clarity and maintainability.
- Introduced an informative error message when the `langchain` library is missing, guiding users on how to install it.
- This update ensures better compatibility and user experience when working with optional dependencies in the LangChain integration.

* fix(tests): improve exception handling in integration test for conditional imports

- Enhanced exception handling in the `run_integration_test` function by specifying `FileNotFoundError` and `OSError` in the exception clause, ensuring more precise error management.
- This update prevents potential silent failures when attempting to unlink temporary files, improving the robustness of the integration tests for conditional imports.
Copy link
Contributor Author

stainless-app bot commented Jul 10, 2025

🧪 Testing

To try out this version of the SDK, run:

pip install 'https://pkg.stainless.com/s/openlayer-python/4a1c3f3214500c461a1df35b3e33228af7a3c15e/openlayer-0.2.0a67-py3-none-any.whl'

Last updated: Fri, 11 Jul 2025 03:01:52 GMT

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 4732902 to 4a1c3f3 Compare July 11, 2025 03:01
@stainless-app stainless-app bot merged commit 7013a6b into main Jul 11, 2025
5 checks passed
@stainless-app stainless-app bot deleted the release-please--branches--main--changes--next branch July 11, 2025 13:38
Copy link
Contributor Author

stainless-app bot commented Jul 11, 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.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy