panbingkun commented on code in PR #45551:
URL: https://github.com/apache/spark/pull/45551#discussion_r1529888833
##########
.github/workflows/build_and_test.yml:
##########
@@ -684,32 +438,18 @@ jobs:
run: |
# SPARK-44554: Copy from
https://github.com/apache/spark/blob/a05c27e85829fe742c1828507a1fd180cdc84b54/.github/workflows/build_and_test.yml#L571-L578
# Should delete this section after SPARK 3.4 EOL.
- python3.9 -m pip install 'flake8==3.9.0' pydata_sphinx_theme
'mypy==0.920' 'pytest==7.1.3' 'pytest-mypy-plugins==1.9.3' numpydoc
'jinja2<3.0.0' 'black==22.6.0'
+ python3.9 -m pip install 'flake8==3.9.0' pydata_sphinx_theme
'mypy==0.920' 'pytest==7.1.3' 'pytest-mypy-plugins==1.9.3' 'numpy==1.25.1'
'pyarrow==12.0.1' numpydoc 'jinja2<3.0.0' 'black==22.6.0' 'pandas<=2.0.3'
'matplotlib==3.7.2' 'torch==2.0.1' 'torchvision==0.15.2'
python3.9 -m pip install 'pandas-stubs==1.2.0.53' ipython
'grpcio==1.48.1' 'grpc-stubs==1.24.11' 'googleapis-common-protos-stubs==2.2.0'
- name: Install Python linter dependencies for branch-3.5
- if: inputs.branch == 'branch-3.5'
run: |
# SPARK-45212: Copy from
https://github.com/apache/spark/blob/555c8def51e5951c7bf5165a332795e9e330ec9d/.github/workflows/build_and_test.yml#L631-L638
# Should delete this section after SPARK 3.5 EOL.
- python3.9 -m pip install 'flake8==3.9.0' pydata_sphinx_theme
'mypy==0.982' 'pytest==7.1.3' 'pytest-mypy-plugins==1.9.3' numpydoc
'jinja2<3.0.0' 'black==22.6.0'
+ python3.9 -m pip install 'flake8==3.9.0' pydata_sphinx_theme
'mypy==0.982' 'pytest==7.1.3' 'pytest-mypy-plugins==1.9.3' 'numpy==1.25.1'
'pyarrow==12.0.1' numpydoc 'jinja2<3.0.0' 'black==22.6.0' 'pandas<=2.0.3'
'matplotlib==3.7.2' 'torch==2.0.1' 'torchvision==0.15.2'
Review Comment:
For fixing as
```
/usr/local/lib/python3.9/dist-packages/torch/_dynamo/mutation_guard.py:1:
error: disable_error_code: Invalid error code(s): method-assign [misc]
/usr/local/lib/python3.9/dist-packages/torch/_dynamo/eval_frame.py:1: error:
disable_error_code: Invalid error code(s): method-assign [misc]
/usr/local/lib/python3.9/dist-packages/torch/_dynamo/debug_utils.py:1:
error: disable_error_code: Invalid error code(s): method-assign [misc]
python/pyspark/pandas/plot/matplotlib.py:23: error: Module
"matplotlib.axes._base" has no attribute "_process_plot_format" [attr-defined]
Found 4 errors in 4 files (checked 688 source files)
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]