KUAN-HSUN-LI opened a new pull request #540:
URL: https://github.com/apache/submarine/pull/540


   ### What is this PR for?
   * Support pip dependencies in kernel spec
   * Change the old dependencies in kernel spec to condaDependencies
   
   ### What type of PR is it?
   [Improvement]
   
   ### Todos
   
   ### What is the Jira issue?
   https://issues.apache.org/jira/browse/SUBMARINE-764
   
   ### How should this be tested?
   run the following command 
   ```
   curl -X POST -H "Content-Type: application/json" -d '
   {
     "name": "my-submarine-env1",
     "dockerImage" : "continuumio/anaconda3",
     "kernelSpec" : {
       "name" : "team_default_python_3.7",
       "channels" : ["defaults"],
       "condaDependencies" : 
         ["_ipyw_jlab_nb_ext_conf=0.1.0=py37_0",
         "alabaster=0.7.12=py37_0",
         "anaconda=2020.02=py37_0",
         "anaconda-client=1.7.2=py37_0",
         "anaconda-navigator=1.9.12=py37_0"],
       "pipDependencies" : 
         ["apache-submarine==0.5.0",
          "pyarrow==0.17.0"]
     }
   }
   ' http://127.0.0.1:32080/api/v1/environment
   ```
   
   ### Screenshots (if appropriate)
   
   ### Questions:
   * Does the licenses files need update? No
   * Is there breaking changes for older versions? Yes
   * Does this needs documentation? No
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to