You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/07/06 01:55:00 UTC

[jira] [Assigned] (SPARK-35684) Bump up mypy version in GitHub Actions

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

Apache Spark reassigned SPARK-35684:
------------------------------------

    Assignee: Haejoon Lee  (was: Apache Spark)

> Bump up mypy version in GitHub Actions
> --------------------------------------
>
>                 Key: SPARK-35684
>                 URL: https://issues.apache.org/jira/browse/SPARK-35684
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark, Tests
>    Affects Versions: 3.2.0
>            Reporter: Hyukjin Kwon
>            Assignee: Haejoon Lee
>            Priority: Major
>
> The mypy version was pinned at https://issues.apache.org/jira/browse/SPARK-35682 but not the latest version because of the errors below:
> {code}
> python/pyspark/pandas/indexes/base.py:2007: error: Argument 1 to "from_tuples" of "MultiIndex" has incompatible type "Index"; expected "List[Tuple[Any, ...]]"
> python/pyspark/testing/pandasutils.py:41: error: Library stubs not installed for "tabulate" (or incompatible with Python 3.6)
> python/pyspark/testing/pandasutils.py:41: note: Hint: "python3 -m pip install types-tabulate"
> python/pyspark/testing/pandasutils.py:41: note: (or run "mypy --install-types" to install all missing stub packages)
> python/pyspark/testing/pandasutils.py:41: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
> Found 2 errors in 2 files (checked 312 source files)
> {code}
> This is blocked by https://issues.apache.org/jira/browse/SPARK-35683



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

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