forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-50667][PYTHON][TESTS] Make
jinja2
optional in PySpark Tests
### What changes were proposed in this pull request? Make `jinja2` optional in PySpark Tests ### Why are the changes needed? `jinja2` is an optional dependency of `pandas` https://pypi.org/pypi/pandas/2.2.0/json ``` 'jinja2>=3.1.2; extra == "output-formatting"' ``` It is not a mandatory requirement of pyspark, so PySpark tests should succeed even it is not installed ### Does this PR introduce _any_ user-facing change? no, test-only ### How was this patch tested? manually test after uninstalling it ### Was this patch authored or co-authored using generative AI tooling? no Closes apache#49288 from zhengruifeng/optional_jinja2. Authored-by: Ruifeng Zheng <ruifengz@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
- Loading branch information
1 parent
2475b35
commit 5c075c3
Showing
3 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters