[ 
https://issues.apache.org/jira/browse/SPARK-30205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongjoon Hyun updated SPARK-30205:
----------------------------------
    Summary: Import ABC from collections.abc to remove deprecation warnings  
(was: Importing ABC from collections module is removed in Python 3.9)

> Import ABC from collections.abc to remove deprecation warnings
> --------------------------------------------------------------
>
>                 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
>            Priority: Minor
>              Labels: python3
>
> 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