-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ZEPPELIN-5525] Python vanillar interpreter doesn't' work in Python 3.8
### What is this PR for? The root cause is due to ast api is changed after python 3.8, see ipython/ipython#11593. * The PR fixed this issue in `zeppelin_python.py`. * This PR add tests for Python 3.8 for both python interpreter & spark interpreter (spark 2.4 doesn't support python 3.8, so there's no python 3.8 test for spark 2.4). `jupyter_client` 5 is used because jupyter_client 7 doesn't work (tracked in ZEPPELIN-5533) * bokeh test is disabled for flink interpreter. Because pyflink's dependencies conflicts with bokeh2. ### What type of PR is it? [Bug Fix ] ### Todos * [ ] - Task ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-5525 ### How should this be tested? * Ci pass ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Jeff Zhang <zjffdu@apache.org> Closes #4230 from zjffdu/ZEPPELIN-5525 and squashes the following commits: b816a53 [Jeff Zhang] [ZEPPELIN-5525] Python vanillar interpreter doesn't' work in Python 3.8
- Loading branch information
Showing
12 changed files
with
231 additions
and
124 deletions.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: python_3_with_R | ||
channels: | ||
- conda-forge | ||
- defaults | ||
dependencies: | ||
- pycodestyle | ||
- scipy | ||
- numpy=1.19.5 | ||
- grpcio | ||
- protobuf | ||
- pandasql | ||
- ipython | ||
- ipykernel | ||
- jupyter_client=5 | ||
- hvplot | ||
- plotnine | ||
- seaborn | ||
- intake | ||
- intake-parquet | ||
- intake-xarray | ||
- altair | ||
- vega_datasets | ||
- plotly | ||
- pip | ||
- r-base=3 | ||
- r-data.table | ||
- r-evaluate | ||
- r-base64enc | ||
- r-knitr | ||
- r-ggplot2 | ||
- r-irkernel | ||
- r-shiny | ||
- r-googlevis |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: python_3_with_R | ||
channels: | ||
- conda-forge | ||
- defaults | ||
dependencies: | ||
- pycodestyle | ||
- scipy | ||
- numpy=1.19.5 | ||
- grpcio | ||
- protobuf | ||
- pandasql | ||
- ipython | ||
- ipykernel | ||
- jupyter_client=5 | ||
- hvplot | ||
- plotnine | ||
- seaborn | ||
- intake | ||
- intake-parquet | ||
- intake-xarray | ||
- altair | ||
- vega_datasets | ||
- plotly | ||
- pip | ||
- r-base=3 | ||
- r-data.table | ||
- r-evaluate | ||
- r-base64enc | ||
- r-knitr | ||
- r-ggplot2 | ||
- r-irkernel | ||
- r-shiny | ||
- r-googlevis |
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
Oops, something went wrong.