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 2022/03/29 00:28:00 UTC
[jira] [Created] (SPARK-38680) Set upperbound for pandas-stubs in CI
Hyukjin Kwon created SPARK-38680:
------------------------------------
Summary: Set upperbound for pandas-stubs in CI
Key: SPARK-38680
URL: https://issues.apache.org/jira/browse/SPARK-38680
Project: Spark
Issue Type: Bug
Components: Project Infra
Affects Versions: 3.3.0
Reporter: Hyukjin Kwon
e.g., ) https://github.com/apache/spark/runs/5729037000?check_suite_focus=true
{code}
starting mypy annotations test...
annotations failed mypy checks:
python/pyspark/pandas/ml.py:62: error: Incompatible types in assignment (expression has type "Index", variable has type "MultiIndex") [assignment]
python/pyspark/pandas/frame.py:6133: error: unused "type: ignore" comment
python/pyspark/pandas/frame.py:6292: error: Incompatible types in assignment (expression has type "Index", variable has type "MultiIndex") [assignment]
Found 3 errors in 2 files (checked 325 source files)
{code}
Seems like the new release of pandas-stubs has a breaking change.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org