Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-32244 Build and run the Spark with test cases in Github Actions
  3. SPARK-32419

Leverage Conda environment at pip packaging test in GitHub Actions

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.1.0
    • Build, PySpark
    • None

    Description

      If you take a close look for GitHub Actions log:

       Installing dist into virtual env
      Processing ./python/dist/pyspark-3.1.0.dev0.tar.gz
      Collecting py4j==0.10.9
       Downloading py4j-0.10.9-py2.py3-none-any.whl (198 kB)
      Using legacy setup.py install for pyspark, since package 'wheel' is not installed.
      Installing collected packages: py4j, pyspark
       Running setup.py install for pyspark: started
       Running setup.py install for pyspark: finished with status 'done'
      Successfully installed py4j-0.10.9 pyspark-3.1.0.dev0
      
      ...
      
      Installing dist into virtual env
      Obtaining file:///home/runner/work/spark/spark/python
      Collecting py4j==0.10.9
       Downloading py4j-0.10.9-py2.py3-none-any.whl (198 kB)
      Installing collected packages: py4j, pyspark
       Attempting uninstall: py4j
       Found existing installation: py4j 0.10.9
       Uninstalling py4j-0.10.9:
       Successfully uninstalled py4j-0.10.9
       Attempting uninstall: pyspark
       Found existing installation: pyspark 3.1.0.dev0
       Uninstalling pyspark-3.1.0.dev0:
       Successfully uninstalled pyspark-3.1.0.dev0
       Running setup.py develop for pyspark
      Successfully installed py4j-0.10.9 pyspark
      

      It looks not properly using conda as it removes and re-installs again.

      Attachments

        Activity

          People

            gurwls223 Hyukjin Kwon
            gurwls223 Hyukjin Kwon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: