Skip to content

publish.yml (stable only) - #43

Open
audkus wants to merge 4 commits into
mainfrom
feat/create-release-tag-workflow
Open

publish.yml (stable only)#43
audkus wants to merge 4 commits into
mainfrom
feat/create-release-tag-workflow

Conversation

@audkus

@audkus audkus commented Feb 22, 2026

Copy link
Copy Markdown
Owner

publish-prereleasepypi.yml (pre-releases only)

publish-prereleasepypi.yml (pre-releases only)
@codecov

codecov Bot commented Feb 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

publish-prereleasepypi.yml (pre-releases only)
- Add force_openai_missing fixture to deterministically simulate missing OpenAI dependency
- Remove 'openai' and 'openai.*' from sys.modules and block imports with MetaPathFinder
- Update all tests expecting MissingOptionalDependencyError to use new fixture
- Fix tests in test_openai_provider_final.py, test_openai_provider_complete.py,
  test_provider_factory.py, test_provider_factory_extended.py,
  test_providers_init_simple.py, and test_timeout_configuration.py
- Ensure tests pass reliably regardless of OpenAI installation status
- Maintain proper cleanup and test isolation

Fixes failing tests that expected MissingOptionalDependencyError when OpenAI package is not installed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant