Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-35684

Bump up mypy version in GitHub Actions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.2.0
    • PySpark, Tests
    • None

    Description

      The mypy version was pinned at https://issues.apache.org/jira/browse/SPARK-35682 but not the latest version because of the errors below:

      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)
      

      This is blocked by https://issues.apache.org/jira/browse/SPARK-35683

      Attachments

        Issue Links

          Activity

            People

              itholic Haejoon Lee
              gurwls223 Hyukjin Kwon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: