Skip to content

v1.1.1 - Documentation & Test Runner Fixes

Choose a tag to compare

@sethbang sethbang released this 14 Jun 01:38
· 103 commits to main since this release

Fixed

  • Documentation Build Issues: Fixed empty sections in Sphinx API reference documentation that were appearing in Read the Docs builds
    • Updated .readthedocs.yaml to properly install the venice_ai package during documentation builds
    • Added missing imports in src/venice_ai/resources/__init__.py for ApiKeys, AsyncApiKeys, Audio, AsyncAudio, Billing, AsyncBilling, Embeddings, AsyncEmbeddings, and AsyncModels
    • Added comprehensive type imports in src/venice_ai/types/__init__.py for image, api_keys, audio, embeddings, and billing modules
    • Added explicit __all__ list to src/venice_ai/exceptions.py for better module discovery
    • Fixed missing ModelTraitList and ModelCompatibilityList exports in types package
  • Test Runner & Coverage: Refactored test_runner.py to use pytest-cov directly, resolving significant code coverage reporting inaccuracies when running tests in parallel with pytest-xdist.
  • Embedding Tests: Updated e2e_tests/test_05_embeddings.py with improved and corrected end-to-end tests for embedding functionalities.
  • CI Workflow: Modified .github/workflows/python-publish.yaml to enhance test execution, enabling or optimizing parallel test runs.

This release ensures that the API reference documentation will display complete content and that code coverage is accurately reported.