Tags: databricks/databricks-sql-python
Tags
Prepare for a release with telemetry on by default (#717) * Prepare for a release with telemetry on by default Signed-off-by: samikshya-chand_data <samikshya.chand@databricks.com> * Make edits Signed-off-by: samikshya-chand_data <samikshya.chand@databricks.com> * Update version Signed-off-by: samikshya-chand_data <samikshya.chand@databricks.com> * Fix CHANGELOG formatting to match previous style Signed-off-by: samikshya-chand_data <samikshya.chand@databricks.com> * Fix telemetry e2e tests for default-enabled behavior - Update test expectations to reflect telemetry being enabled by default - Add feature flags cache cleanup in teardown to prevent state leakage between tests - This ensures each test runs with fresh feature flag state * Add wait after connection close for async telemetry submission * Remove debug logging from telemetry tests * Mark telemetry e2e tests as serial - must not run in parallel Root cause: Telemetry tests share host-level client across pytest-xdist workers, causing test isolation issues with patches. Tests pass serially but fail with -n auto. Solution: Add @pytest.mark.serial marker. CI needs to run these separately without -n auto. * Split test execution to run serial tests separately Telemetry e2e tests must run serially due to shared host-level telemetry client across pytest-xdist workers. Running with -n auto causes test isolation issues where futures aren't properly captured. Changes: - Run parallel tests with -m 'not serial' -n auto - Run serial tests with -m 'serial' without parallelization - Use --cov-append for serial tests to combine coverage - Mark telemetry e2e tests with @pytest.mark.serial - Update test expectations for default telemetry behavior - Add feature flags cache cleanup in test teardown * Mark telemetry e2e tests as serial - must not run in parallel The concurrent telemetry e2e test globally patches telemetry methods to capture events. When run in parallel with other tests via pytest-xdist, it captures telemetry events from other concurrent tests, causing assertion failures (expected 60 events, got 88). All telemetry e2e tests must run serially to avoid cross-test interference with the shared host-level telemetry client. --------- Signed-off-by: samikshya-chand_data <samikshya.chand@databricks.com>
Update for 4.1.0 (#676) * Update for 4.0.6 Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com> * Update for 4.1.0 Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com> * Update for 4.1.0 Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com> --------- Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com>
[PECOBLR-727] Add kerberos support for proxy auth (#675) * unify ssl proxy Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com> * unify ssl proxy Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com> * simplify change Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com> * add utils class Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com> * Allow per request proxy decision Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com> * Add kerberos auth support Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com> * update dependencies Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com> * update dependencies Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com> * update dependencies Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com> * update dependencies Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com> * update dependencies Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com> * update dependencies Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com> * update dependencies Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com> * fix mypy Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com> * fix lint Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com> * fix lint Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com> * lazy logging Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com> --------- Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com>
PreviousNext