Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-47753][PYTHON][CONNECT][TESTS] Make pyspark.testing compatible with pyspark-connect #45916

Closed
wants to merge 2 commits into from

Conversation

HyukjinKwon
Copy link
Member

What changes were proposed in this pull request?

This PR proposes to make pyspark.testing compatible with pyspark-connect by using noop context manager contextlib.nullcontext instead of QuietTest which requires JVM access.

Why are the changes needed?

In order for pyspark-connect to work without classic PySpark packages and dependencies. Also, the logs are hidden as it's written to the separate file so it is actually already quiet.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Yes, at #45870. Once CI is setup there, it will be tested there properly.

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actions github-actions bot added the PYTHON label Apr 7, 2024
@HyukjinKwon HyukjinKwon changed the title [SPARK-47753][PYTHON][TESTS] Make pyspark.testing compatible with pyspark-connect [SPARK-47753][PYTHON][CONNECT][TESTS] Make pyspark.testing compatible with pyspark-connect Apr 7, 2024
@HyukjinKwon
Copy link
Member Author

Merged to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants