Commit c6a234b
- Replace deprecated 'method_whitelist' parameter with 'allowed_methods' in dataproc_util.py
- This fixes compatibility with urllib3 2.x where method_whitelist was deprecated
- Maintains the same functionality while using the modern API
- Resolves the breaking issue for users running PySpark jobs on Dataproc
The change ensures compatibility with urllib3 2.4.0+ which is used in the base image gcr.io/ml-pipeline/google-cloud-pipeline-components:2.20.1.
Signed-off-by: LFicteam <[email protected]>
Co-authored-by: LFicteam <[email protected]>
1 parent ff97283 commit c6a234b
File tree
1 file changed
+1
-1
lines changed- components/google-cloud/google_cloud_pipeline_components/container/v1/dataproc/utils
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
0 commit comments