Skip to content

chore(main): release 2.0.0 - #197

Merged
dborowitz merged 1 commit into
mainfrom
release-please--branches--main
Oct 16, 2026
Merged

dborowitz merged 1 commit into
mainfrom
release-please--branches--main

Conversation

@release-please

@release-please release-please Bot commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

🤖 I have created a release beep boop

2.0.0 (2026-10-16)

⚠ BREAKING CHANGES

  • pyspark[connect] is no longer installed by default. Install google-cloud-spark-connect[client] (or [client,interactive] for notebooks), google-cloud-spark-connect[spark], or provide pyspark / pyspark-client in the environment.

Features

  • Automatically load interactive extras on import with opt-out controls (#199) (18d1960)
  • Detect Antigravity IDE for usage tracking (#183) (c6636e1)
  • Move PySpark dependencies into [client] and [spark] extras (#202) (749ba5a)
  • store %%sparksql results in _df by default (#203) (1aced7f)

Bug Fixes

  • update GitHub Actions to Node 24 runtime versions (#195) (6296265)

This PR was generated with Release Please. See documentation.

@release-please
release-please Bot force-pushed the release-please--branches--main branch from 6edce9b to 96db5d6 Compare September 16, 2026 21:22
@release-please
release-please Bot force-pushed the release-please--branches--main branch 2 times, most recently from b64a887 to 9c29c12 Compare October 15, 2026 22:21
@release-please release-please Bot changed the title chore(main): release 1.2.0 chore(main): release 2.0.0 Oct 16, 2026
@release-please
release-please Bot force-pushed the release-please--branches--main branch from 9c29c12 to 176f9ee Compare October 16, 2026 01:39
@release-please
release-please Bot force-pushed the release-please--branches--main branch from 176f9ee to b0864a6 Compare October 16, 2026 01:40
@dborowitz

Copy link
Copy Markdown
Contributor

Integration tests are failing due to stockouts, even after retrying several times overnight. I ran integration tests manually instead; anyway, for a simple version bump, tests are mostly a formality.

$ # Remote integration suite using [client,interactive]
GOOGLE_CLOUD_PROJECT=<the test project> \
GOOGLE_CLOUD_REGION=us-east1 \
MANAGED_SPARK_CONNECT_SUBNET=projects/<the test project>/regions/us-east1/subnetworks/default \
.venv/client/bin/python -m pytest tests/integration/ -v --tb=short -x

# Local-batch fallback test in tests/integration/ that requires [spark] + JVM
JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64 \
.venv/spark/bin/python -m pytest tests/integration/test_session.py -k test_create_local_spark_session -v --tb=short
=============================================================================================================== test session starts ===============================================================================================================
platform linux -- Python 3.12.9, pytest-9.1.1, pluggy-1.6.0 -- /usr/local/google/home/dborowitz/d/managed-spark-connect-python/.venv/client/bin/python
cachedir: .pytest_cache
rootdir: /usr/local/google/home/dborowitz/d/managed-spark-connect-python
configfile: pyproject.toml
plugins: xdist-3.8.0
collected 44 items

tests/integration/managed_spark_magics/test_magics.py::test_dpip_magic_loads[None]      PASSED                                                                                                                                                   [  2%]
tests/integration/managed_spark_magics/test_magics.py::test_dpip_magic_loads[3.0] PASSED                                                                                                                                                    [  4%]
tests/integration/managed_spark_magics/test_magics.py::test_dpip_install_success[None] PASSED                                                                                                                                               [  6%]
tests/integration/managed_spark_magics/test_magics.py::test_dpip_install_success[3.0] PASSED                                                                                                                                                [  9%]
tests/integration/managed_spark_magics/test_magics.py::test_dpip_no_install_command[None] PASSED                                                                                                                                            [ 11%]
tests/integration/managed_spark_magics/test_magics.py::test_dpip_no_install_command[3.0] PASSED                                                                                                                                             [ 13%]
tests/integration/managed_spark_magics/test_magics.py::test_dpip_no_packages[None] PASSED                                                                                                                                                   [ 15%]
tests/integration/managed_spark_magics/test_magics.py::test_dpip_no_packages[3.0] PASSED                                                                                                                                                    [ 18%]
tests/integration/managed_spark_magics/test_magics.py::test_dpip_with_flags[None] PASSED                                                                                                                                                    [ 20%]
tests/integration/managed_spark_magics/test_magics.py::test_dpip_with_flags[3.0] PASSED                                                                                                                                                     [ 22%]
tests/integration/managed_spark_magics/test_magics.py::test_dpip_no_session[None] PASSED                                                                                                                                                    [ 25%]
tests/integration/managed_spark_magics/test_magics.py::test_dpip_no_session[3.0] PASSED                                                                                                                                                     [ 27%]
tests/integration/managed_spark_magics/test_magics.py::test_dpip_install_failure[None] PASSED                                                                                                                                               [ 29%]
tests/integration/managed_spark_magics/test_magics.py::test_dpip_install_failure[3.0] PASSED                                                                                                                                                [ 31%]
tests/integration/managed_spark_magics/test_magics.py::test_dpip_multiple_sessions[None] PASSED                                                                                                                                             [ 34%]
tests/integration/managed_spark_magics/test_magics.py::test_dpip_multiple_sessions[3.0] PASSED                                                                                                                                              [ 36%]
tests/integration/test_session.py::test_create_spark_session_with_default_notebook_behavior[None] PASSED                                                                                                                                    [ 38%]
tests/integration/test_session.py::test_create_spark_session_with_default_notebook_behavior[3.0] PASSED                                                                                                                                     [ 40%]
tests/integration/test_session.py::test_reuse_s8s_spark_session[None] PASSED                                                                                                                                                                [ 43%]
tests/integration/test_session.py::test_reuse_s8s_spark_session[3.0] PASSED                                                                                                                                                                 [ 45%]
tests/integration/test_session.py::test_stop_spark_session_with_deleted_serverless_session[None] PASSED                                                                                                                                     [ 47%]
tests/integration/test_session.py::test_stop_spark_session_with_deleted_serverless_session[3.0] PASSED                                                                                                                                      [ 50%]
tests/integration/test_session.py::test_stop_spark_session_with_terminated_serverless_session[None] PASSED                                                                                                                                  [ 52%]
tests/integration/test_session.py::test_stop_spark_session_with_terminated_serverless_session[3.0] PASSED                                                                                                                                   [ 54%]
tests/integration/test_session.py::test_get_or_create_spark_session_with_terminated_serverless_session[None] PASSED                                                                                                                         [ 56%]
tests/integration/test_session.py::test_get_or_create_spark_session_with_terminated_serverless_session[3.0] PASSED                                                                                                                          [ 59%]
tests/integration/test_session.py::test_create_spark_session_with_session_template_and_user_provided_session_config[None] PASSED                                                                                                            [ 61%]
tests/integration/test_session.py::test_create_spark_session_with_session_template_and_user_provided_session_config[3.0] PASSED                                                                                                             [ 63%]
tests/integration/test_session.py::test_add_artifacts_pypi_package SKIPPED (Skipping PyPI package installation test since it's not supported yet)                                                                                           [ 65%]
tests/integration/test_session.py::test_sql_functions[None] PASSED                                                                                                                                                                          [ 68%]
tests/integration/test_session.py::test_sql_functions[3.0] PASSED                                                                                                                                                                           [ 70%]
tests/integration/test_session.py::test_sql_udf[None] PASSED                                                                                                                                                                                [ 72%]
tests/integration/test_session.py::test_sql_udf[3.0] PASSED                                                                                                                                                                                 [ 75%]
tests/integration/test_session.py::test_session_reuse_with_custom_id[None] PASSED                                                                                                                                                           [ 77%]
tests/integration/test_session.py::test_session_reuse_with_custom_id[3.0] PASSED                                                                                                                                                            [ 79%]
tests/integration/test_session.py::test_session_id_validation_in_integration[None] PASSED                                                                                                                                                   [ 81%]
tests/integration/test_session.py::test_session_id_validation_in_integration[3.0] PASSED                                                                                                                                                    [ 84%]
tests/integration/test_session.py::test_sparksql_magic_with_managed_spark_session[None] PASSED                                                                                                                                              [ 86%]
tests/integration/test_session.py::test_sparksql_magic_with_managed_spark_session[3.0] PASSED                                                                                                                                               [ 88%]
tests/integration/test_session.py::test_stop_named_session_with_terminate_true[None] PASSED                                                                                                                                                 [ 90%]
tests/integration/test_session.py::test_stop_named_session_with_terminate_true[3.0] PASSED                                                                                                                                                  [ 93%]
tests/integration/test_session.py::test_stop_managed_session_with_terminate_false[None] PASSED                                                                                                                                              [ 95%]
tests/integration/test_session.py::test_stop_managed_session_with_terminate_false[3.0] PASSED                                                                                                                                               [ 97%]
tests/integration/test_session.py::test_create_local_spark_session SKIPPED (Local SparkSession requires full pyspark (not pyspark-client).)                                                                                                 [100%]

=================================================================================================== 42 passed, 2 skipped in 5143.64s (1:25:43) ====================================================================================================
=============================================================================================================== test session starts ===============================================================================================================
platform linux -- Python 3.12.9, pytest-9.1.1, pluggy-1.6.0 -- /usr/local/google/home/dborowitz/d/managed-spark-connect-python/.venv/spark/bin/python
cachedir: .pytest_cache
rootdir: /usr/local/google/home/dborowitz/d/managed-spark-connect-python
configfile: pyproject.toml
plugins: xdist-3.8.0
collected 28 items / 27 deselected / 1 selected

tests/integration/test_session.py::test_create_local_spark_session PASSED                                                                                                                                                                   [100%]

======================================================================================================== 1 passed, 27 deselected in 7.98s =========================================================================================================

@dborowitz
dborowitz merged commit c778e9d into main Oct 16, 2026
11 of 24 checks passed
@release-please

Copy link
Copy Markdown
Contributor Author

🤖 Created releases:

🌻

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.

1 participant