Eu multi-region not compatible with init
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- python
- Domain
- cloud, machine-learning
Research direction
Reproduce the failure with aiplatform.init(location="eu") and vertexai.init using the versions and environments listed. Trace the location validation that raises the unsupported-region ValueError, then update the relevant behavior so the multi-region value is accepted and verify that both initialization paths succeed.
Written by the indexing model from the issue text.
Description
Environment details
- OS type and version: Mac and Linux
- Python version:
3.13.2 google-cloud-aiplatformversion:1.153.1
Steps to reproduce
- Initialize vertex client through vertexai.init or aiplatform.init with location = "eu"
- It fails because its not considered a valid location
Code example
from google.cloud import aiplatform
aiplatform.init(location="eu")
Stack trace
ValueError: Unsupported region for Vertex AI, select from frozenset({'asia-northeast3', 'us-west1', 'europe-west6', 'europe-west4', 'europe-central2', 'europe-west12', 'europe-west9', 'us-east1', 'me-central2', 'europe-west8', 'europe-north2', 'us-east5', 'australia-southeast2', 'asia-northeast1', 'asia-southeast2', 'southamerica-east1', 'northamerica-northeast1', 'africa-south1', 'europe-west1', 'us-east7', 'us-east4', 'asia-east2', 'us-south1', 'southamerica-west1', 'europe-west2', 'europe-west3', 'northamerica-northeast2', 'us-west4', 'us-central1', 'asia-south2', 'me-central1', 'us-west3', 'asia-northeast2', 'global', 'europe-north1', 'asia-south1', 'australia-southeast1', 'asia-east1', 'europe-southwest1', 'asia-southeast1', 'me-west1', 'us-west8', 'us-west2'})
- Dominant language
- Python
- Stars
- 907
- Forks
- 467
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 44
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from googleapis/python-aiplatform
-
api: vertex-ai
Difficulty 1/5 Under an hour Newbie friendliness 85/100
googleapis/python-aiplatform#7132 ·
-
api: vertex-ai
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
googleapis/python-aiplatform#7097 · 1 comment ·
-
CustomContainerTrainingJob.run drops max_wait_duration=0 instead of requesting indefinite DWS wait Openapi: vertex-ai
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
googleapis/python-aiplatform#7067 · 1 comment ·
-
api: vertex-ai
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
googleapis/python-aiplatform#6877 ·
-
api: vertex-ai
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
googleapis/python-aiplatform#6865 · 1 comment ·
All issues in googleapis/python-aiplatform
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100