Status Update
Comments
al...@google.com <al...@google.com> #2
Hello,
Thank you for reaching out.
The Product team is working on this issue. This request has no ETA, but you can follow the progress in this thread.
sg...@google.com <sg...@google.com> #3
al...@google.com <al...@google.com> #4
Workaround for Fedora 35: Downgrade python 3 or add the following to .bashrc:
export CLOUDSDK_PYTHON=/usr/bin/python2
al...@google.com <al...@google.com> #6
al...@google.com <al...@google.com>
al...@google.com <al...@google.com> #7
>gcloud
ERROR: gcloud failed to load: module 'collections' has no attribute 'Mapping'
gcloud_main = _import_gcloud_main()
import googlecloudsdk.gcloud_main
from googlecloudsdk.calliope import cli
from googlecloudsdk.calliope import actions
from googlecloudsdk.calliope import markdown
from googlecloudsdk.calliope import usage_text
from googlecloudsdk.calliope import parser_arguments
from googlecloudsdk.calliope import parser_completer
from googlecloudsdk.core.console import progress_tracker
class _BaseStagedProgressTracker(collections.Mapping):
al...@google.com <al...@google.com>
al...@google.com <al...@google.com>
ap...@google.com <ap...@google.com> #8
ap...@google.com <ap...@google.com> #9
ap...@google.com <ap...@google.com> #10
The fix is released with gcloud version 367.0.0 today. Please download latest gcloud version to work with Python 3.10.
al...@google.com <al...@google.com> #11
ap...@google.com <ap...@google.com> #12
for some reason running gcloud
on it's own still produces error (on Mac)
~ ❯ gcloud --version
Google Cloud SDK 367.0.0
beta 2021.12.10
bq 2.0.72
core 2021.12.10
gsutil 5.5
~ ❯ gcloud
ERROR: (gcloud) Command name argument expected.
ERROR: gcloud crashed (CommandLoadFailure): Problem loading gcloud.events: module 'collections' has no attribute 'MutableMapping'.
If you would like to report this issue, please run the following command:
gcloud feedback
To check gcloud for common problems, please run the following command:
gcloud info --run-diagnostics
ap...@google.com <ap...@google.com> #13
Hi i could not reproduce the issue. could you please try fresh download the latest gcloud?
$ export CLOUDSDK_PYTHON=/Library/Frameworks/Python.framework/Versions/3.10/bin/python3
$ gcloud --version
Google Cloud SDK 367.0.0
bq 2.0.72
core 2021.12.10
gsutil 5.5
ap...@google.com <ap...@google.com> #14
>gcloud --version
Google Cloud SDK 367.0.0
beta 2021.12.10
bq 2.0.72
core 2021.12.10
gsutil 5.5
kubectl 1.20.8
>gcloud projects list
PROJECT_ID NAME PROJECT_NUMBER
xxxxxxxxxxxx XXXXXXXXXXXXX 1234556789
>gcloud
ERROR: (gcloud) Command name argument expected.
ERROR: gcloud crashed (CommandLoadFailure): Problem loading gcloud.events: module 'collections' has no attribute 'MutableMapping'.
al...@google.com <al...@google.com> #15
Thanks. I can reproduce it. We will work on a fix.
bu...@google.com <bu...@google.com> #16
Version: 367.0.0
Python: 3.10
ap...@google.com <ap...@google.com> #17
I see another bug related to this and it says it fixed, is that true?
Thanks!
bu...@google.com <bu...@google.com>
al...@google.com <al...@google.com> #18
vinwong@
pr...@google.com <pr...@google.com> #19
So, just want to verify one last thing, so is GCP SDK now fully support Python 3.10? I just want to make sure it is before I tell the customer, thanks!
Vincent
na...@google.com <na...@google.com> #20
for now, running gcloud
without any parameters still throws an error.
pr...@google.com <pr...@google.com> #21
na...@google.com <na...@google.com> #22
vinwong@ we don't have full support for python 3.10 yet.
pr...@google.com <pr...@google.com> #23
na...@google.com <na...@google.com> #24
Thanks for your patience. Our product team confirmed that the issue has been fixed. Can you please check from your end of everything is okay?
na...@google.com <na...@google.com> #25
pr...@google.com <pr...@google.com> #26
It should work fine with python 3.10.
na...@google.com <na...@google.com> #27
>gcloud set project my-project
ERROR: gcloud failed to load (gcloud.interactive): Problem loading gcloud.interactive: cannot import name 'Mapping' from 'collections'
pr...@google.com <pr...@google.com> #28
na...@google.com <na...@google.com> #29
After updating my SDK to the latest version, the issue got resolved. Can you please try reinstalling the SDK if it doesn't solve the issue?
This
The issue you described looks like a technical issue and for troubleshooting, it would be best for you to contact the
Description
R8 may double-outline platform NewApi calls when automatic outlining is enabled, so we should consider no-op'ing the
@DoNotInline
annotation when we're using an R8 version that does outlining.Looping in from email,