Karthikeyan Singaravelan created SPARK-30205:
------------------------------------------------

             Summary: Importing ABC from collections module is removed in 
Python 3.9
                 Key: SPARK-30205
                 URL: https://issues.apache.org/jira/browse/SPARK-30205
             Project: Spark
          Issue Type: Bug
          Components: PySpark
    Affects Versions: 2.4.4
         Environment: Python version : 3.9
Operating System : Linux
            Reporter: Karthikeyan Singaravelan


Importing ABC from collections module directly is deprecated since 3.4 and is 
removed in Python 3.9. Thus this will cause ImportError for pyspark in Python 
3.9 in the resultiterable module where Iterable is used from collections at 
https://github.com/tirkarthi/spark/blob/aa9da9365ff31948e42ab4c6dcc6cb4cec5fd852/python/pyspark/resultiterable.py#L23.
 

Relevant CPython PR : https://github.com/python/cpython/pull/10596.

I am a new contributor and would like to work on this issue.

Thanks



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to