This is an automated email from the ASF dual-hosted git repository.
ruifengz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 0643d02e4f0 [SPARK-40853][INFRA] Pin `mypy-protobuf==3.3.0`
0643d02e4f0 is described below
commit 0643d02e4f03cdadb53efc05af0b6533d22db297
Author: Ruifeng Zheng <[email protected]>
AuthorDate: Thu Oct 20 17:41:16 2022 +0800
[SPARK-40853][INFRA] Pin `mypy-protobuf==3.3.0`
### What changes were proposed in this pull request?
[`mypy-protobuf` 3.4.0](https://pypi.org/project/mypy-protobuf/#history) is
just released, and will break master shortly
### Why are the changes needed?
to make CI happy
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
manually check
Closes #38316 from zhengruifeng/infra_ping_mypy_protobuf.
Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Ruifeng Zheng <[email protected]>
---
.github/workflows/build_and_test.yml | 2 +-
dev/requirements.txt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/build_and_test.yml
b/.github/workflows/build_and_test.yml
index a3998b330c1..12a1ad0e71e 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -587,7 +587,7 @@ jobs:
# See also https://issues.apache.org/jira/browse/SPARK-38279.
python3.9 -m pip install 'sphinx<3.1.0' mkdocs pydata_sphinx_theme
ipython nbsphinx numpydoc 'jinja2<3.0.0' 'markupsafe==2.0.1' 'pyzmq<24.0.0'
python3.9 -m pip install ipython_genutils # See SPARK-38517
- python3.9 -m pip install sphinx_plotly_directive 'numpy>=1.20.0'
pyarrow pandas 'plotly>=4.8' grpcio protobuf mypy-protobuf
+ python3.9 -m pip install sphinx_plotly_directive 'numpy>=1.20.0'
pyarrow pandas 'plotly>=4.8' grpcio protobuf 'mypy-protobuf==3.3.0'
python3.9 -m pip install 'docutils<0.18.0' # See SPARK-39421
apt-get update -y
apt-get install -y ruby ruby-dev
diff --git a/dev/requirements.txt b/dev/requirements.txt
index 651fc280627..fa4b6752f14 100644
--- a/dev/requirements.txt
+++ b/dev/requirements.txt
@@ -51,4 +51,4 @@ grpcio==1.48.1
protobuf==4.21.6
# Spark Connect python proto generation plugin (optional)
-mypy-protobuf
+mypy-protobuf==3.3.0
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]