HyukjinKwon opened a new pull request #32829: URL: https://github.com/apache/spark/pull/32829
### What changes were proposed in this pull request? Seems like the new MyPy version was released (0.901) and it broke the CI: https://github.com/python/mypy/releases. ``` 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) ``` I tried to fix these instances and pin it to the latest version (0.901). However, I realised that `python/pyspark/pandas/indexes/base.py:2007` has a logic issue (see https://github.com/databricks/koalas/pull/1325#discussion_r647889901 and https://github.com/databricks/koalas/pull/1325#discussion_r647890007) which cannot be fixed quickly, cc @itholic. Therefore, I decided to pin it to the previous version we used before for now, in order to unblock other PRs builds. ### Why are the changes needed? To unblock other PRs. ### Does this PR introduce _any_ user-facing change? No, dev-only. ### How was this patch tested? I tested in my local but it has to be tested and passed in GitHub Actions in this PR. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
