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

[jira] [Resolved] (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 ]

Hyukjin Kwon resolved SPARK-35684.
----------------------------------
    Fix Version/s: 3.2.0
       Resolution: Fixed

Issue resolved by pull request 33223
[https://github.com/apache/spark/pull/33223]

> 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
>             Fix For: 3.2.0
>
>
> 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