Rafal Wojdyla created SPARK-37570:
-------------------------------------

             Summary: mypy breaks on pyspark.pandas.plot.core.Bucketizer
                 Key: SPARK-37570
                 URL: https://issues.apache.org/jira/browse/SPARK-37570
             Project: Spark
          Issue Type: Bug
          Components: PySpark
    Affects Versions: 3.2.0
            Reporter: Rafal Wojdyla


Mypy breaks on a project with pyspark 3.2.0 dependency (worked fine for 3.1.2), 
see stacktrace below:

{noformat}
Traceback (most recent call last):
  File "/Users/rav/.cache/pre-commit/repoytd0jvc_/py_env-python3.9/bin/mypy", 
line 8, in <module>
    sys.exit(console_entry())
  File 
"/Users/rav/.cache/pre-commit/repoytd0jvc_/py_env-python3.9/lib/python3.9/site-packages/mypy/__main__.py",
 line 11, in console_entry
    main(None, sys.stdout, sys.stderr)
  File "mypy/main.py", line 87, in main
  File "mypy/main.py", line 165, in run_build
  File "mypy/build.py", line 179, in build
  File "mypy/build.py", line 254, in _build
  File "mypy/build.py", line 2697, in dispatch
  File "mypy/build.py", line 3021, in process_graph
  File "mypy/build.py", line 3138, in process_stale_scc
  File "mypy/build.py", line 2288, in write_cache
  File "mypy/build.py", line 1475, in write_cache
  File "mypy/nodes.py", line 313, in serialize
  File "mypy/nodes.py", line 3149, in serialize
  File "mypy/nodes.py", line 3083, in serialize
AssertionError: Definition of pyspark.pandas.plot.core.Bucketizer is 
unexpectedly incomplete
{noformat}

Mypy version: v0.910-1



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to