Skip to content

Conversation

@fanzeyi
Copy link
Member

@fanzeyi fanzeyi commented Nov 25, 2025

Summary of what changed:

  • Uses uv for environment isolation in GitHub tests
  • Restructured pyproject.toml so that:
    • Every package now has a dev and integration dependency group. integration group for dependencies in integration tests, and dev for all the dependencies required for local development
    • All the subpackages will use databricks-ai-bridge at <PROJECT_ROOT> in tests instead of pulling from PyPI.
    • Warnings from dependent packages are suppressed. This means all the reported warnings are valid and probably worth looking into.
  • I left the cross-version tests alone as it clones the older source which do not include uv configurations. It could be tricky to support these.

This should provide better environment isolation for our testing environments, and fail quickly if we fail to declare some dependencies.

Test Plan

GitHub Action signals should be green.

PEP 735 defines dependency groups which is a bit different from optional
dependencies -- notablely this dependency information is not exported as part of
the package metadata. For dependencies needed for testing purposes, we can use
dependency groups and having optional dependencies to focus on providing
customizations for the users.
@fanzeyi fanzeyi marked this pull request as ready for review November 25, 2025 21:22
Copy link
Contributor

@aravind-segu aravind-segu left a comment

Choose a reason for hiding this comment

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

LGTM!

A couple nits:

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.

2 participants