[ https://issues.apache.org/jira/browse/SPARK-36654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated SPARK-36654: ---------------------------------- Affects Version/s: (was: 3.2.0) (was: 3.1.2) > Drop type ignores from numpy imports > ------------------------------------ > > Key: SPARK-36654 > URL: https://issues.apache.org/jira/browse/SPARK-36654 > Project: Spark > Issue Type: Improvement > Components: PySpark > Affects Versions: 3.3.0 > Reporter: Maciej Szymkiewicz > Priority: Minor > Fix For: 3.3.0 > > > Currently we use {{type: ingore[import]}} on all numpy imports ‒ this was > necessary because numpy didn't provide annotations at the time when we added > stubs to PySpark. > Since numpy 1.20 (https://github.com/numpy/numpy/releases/tag/v1.20.0) numpy > is PEP 561 compatible and these ignores are no longer necessary (current > numpy version is 1.21). -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org