Hyukjin Kwon created SPARK-35684:
------------------------------------

             Summary: 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


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to