Pipeline root can not be bucket root after change in storage API #2936
Description
Environment details
- All OS and Python versions:
- google-cloud-storage==2.13.0
Code example
job = aip.PipelineJob(
...
pipeline_root="gs://bucket_root", # note no trailing slash and no blob provided
...
)
Stack trace
"/Users/manu.compen/Library/Caches/pypoetry/virtualenvs/bla-py3.9/lib/python3.9/site-packages/google/cloud/aiplatform/pipeline_jobs.py", line 404, in submit
gcs_utils.create_gcs_bucket_for_pipeline_artifacts_if_it_does_not_exist(
File "/Users/manu.compen/Library/Caches/pypoetry/virtualenvs/bla-py3.9/lib/python3.9/site-packages/google/cloud/aiplatform/utils/gcs_utils.py", line 237, in create_gcs_bucket_for_pipeline_artifacts_if_it_does_not_exist
pipelines_bucket = storage.Blob.from_string(
File "/Users/manu.compen/Library/Caches/pypoetry/virtualenvs/bla-py3.9/lib/python3.9/site-packages/google/cloud/storage/blob.py", line 410, in from_string
raise ValueError("URI scheme must be gs")
ValueError: URI scheme must be gs
See change in python-storage Blob
api: googleapis/python-storage@0a243fa