Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update dependabot settings #522

Merged
merged 1 commit into from
Mar 17, 2022
Merged

Conversation

averikitsch
Copy link
Contributor

No description provided.

@averikitsch averikitsch requested a review from a team as a code owner March 1, 2022 17:21
@averikitsch
Copy link
Contributor Author

Error: google-github-actions/setup-gcloud failed with: failed to execute command `gcloud.cmd --quiet auth activate-****.gserviceaccount.com --key-file -`: C:/ProgramData/Chocolatey/lib/mingw/tools/install/mingw64/opt/bin/python.exe: can't find '__main__' module in ''
C:/ProgramData/Chocolatey/lib/mingw/tools/install/mingw64/opt/bin/python.exe: can't find '__main__' module in ''
Traceback (most recent call last):
  File "C:\hostedtoolcache\windows\gcloud\290.0.1\x64\lib\gcloud.py", line 95, in <module>
    main()
  File "C:\hostedtoolcache\windows\gcloud\290.0.1\x64\lib\gcloud.py", line 54, in main
    from googlecloudsdk.core.util import encoding
  File "C:\hostedtoolcache\windows\gcloud\290.0.1\x64\lib\googlecloudsdk\__init__.py", line 23, in <module>
    from googlecloudsdk.core.util import importing
  File "C:\hostedtoolcache\windows\gcloud\290.0.1\x64\lib\googlecloudsdk\core\util\importing.py", line 23, in <module>
    import imp
  File "C:\hostedtoolcache\windows\Python\3.9.[10](https://github.com/google-github-actions/setup-gcloud/runs/5379274526?check_suite_focus=true#step:5:10)\x64\lib\imp.py", line 23, in <module>
    from importlib import util
  File "C:\hostedtoolcache\windows\Python\3.9.10\x64\lib\importlib\util.py", line 2, in <module>
    from . import abc
  File "C:\hostedtoolcache\windows\Python\3.9.10\x64\lib\importlib\abc.py", line 17, in <module>
    from typing import Protocol, runtime_checkable
  File "C:\hostedtoolcache\windows\Python\3.9.10\x64\lib\typing.py", line 26, in <module>
    import re as stdlib_re  # Avoid confusion with the re we export.
  File "C:\hostedtoolcache\windows\Python\3.9.10\x64\lib\re.py", line [12](https://github.com/google-github-actions/setup-gcloud/runs/5379274526?check_suite_focus=true#step:5:12)4, in <module>
    import enum
  File "C:\hostedtoolcache\windows\gcloud\290.0.1\x64\lib\third_party\enum\__init__.py", line [26](https://github.com/google-github-actions/setup-gcloud/runs/5379274526?check_suite_focus=true#step:5:26), in <module>
    spec = importlib.util.find_spec('enum')
Attributemodule 'importlib' has no attribute 'util'

@craigdbarber
Copy link
Contributor

I believe this is the result of gcloud not playing nice with Python3.9. I was able to resolve this by setting this env var:
export CLOUDSDK_PYTHON=python3.8

@craigdbarber
Copy link
Contributor

Could be that some of the Windows VMs are now configured using Python3.9 by default? If so, this might be a more widespread issue.

@bharathkkb
Copy link
Contributor

Newer versions of gcloud do support 3.9, I think we were just using a really old version in the versioned tests which was causing this ca069be

@averikitsch averikitsch merged commit a54bf4e into master Mar 17, 2022
@averikitsch averikitsch deleted the averikitsch-patch-1 branch March 17, 2022 19:55
kodiakhq bot pushed a commit to cloudquery/cloudquery that referenced this pull request Jan 1, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [google-github-actions/setup-gcloud](https://togithub.com/google-github-actions/setup-gcloud) | action | patch | `v0.6.0` -> `v0.6.2` |
| peter-evans/create-or-update-comment | action | digest | `5adcb0b` -> `69c3c2d` |
| peter-evans/find-comment | action | digest | `f4499a7` -> `81e2da3` |

---

### Release Notes

<details>
<summary>google-github-actions/setup-gcloud</summary>

### [`v0.6.2`](https://togithub.com/google-github-actions/setup-gcloud/releases/tag/v0.6.2)

[Compare Source](https://togithub.com/google-github-actions/setup-gcloud/compare/v0.6.1...v0.6.2)

#### What's Changed

-   chore: update dependencies (automated) by [@&#8203;verbanicm](https://togithub.com/verbanicm) in [google-github-actions/setup-gcloud#576
-   Release: v0.6.2 by [@&#8203;google-github-actions-bot](https://togithub.com/google-github-actions-bot) in [google-github-actions/setup-gcloud#577

**Full Changelog**: google-github-actions/setup-gcloud@v0.6.1...v0.6.2

### [`v0.6.1`](https://togithub.com/google-github-actions/setup-gcloud/releases/tag/v0.6.1)

[Compare Source](https://togithub.com/google-github-actions/setup-gcloud/compare/v0.6.0...v0.6.1)

#### What's Changed

-   chore: update dependabot settings by [@&#8203;averikitsch](https://togithub.com/averikitsch) in [google-github-actions/setup-gcloud#522
-   chore: switch to writeSecureFile from actions-utils by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [google-github-actions/setup-gcloud#535
-   feat: throw a very specific error when pinned to master by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [google-github-actions/setup-gcloud#537
-   chore: build dist by [@&#8203;google-github-actions-bot](https://togithub.com/google-github-actions-bot) in [google-github-actions/setup-gcloud#536
-   chore: setFailed instead of throwing by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [google-github-actions/setup-gcloud#541
-   Typo fix by [@&#8203;mwarkentin](https://togithub.com/mwarkentin) in [google-github-actions/setup-gcloud#542
-   fix: update references from master -> main by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [google-github-actions/setup-gcloud#544
-   chore: update deps by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [google-github-actions/setup-gcloud#551
-   update release process by [@&#8203;verbanicm](https://togithub.com/verbanicm) in [google-github-actions/setup-gcloud#562
-   $'fix release workflow files' by [@&#8203;verbanicm](https://togithub.com/verbanicm) in [google-github-actions/setup-gcloud#563
-   $'fix release workflow files' by [@&#8203;verbanicm](https://togithub.com/verbanicm) in [google-github-actions/setup-gcloud#566
-   fix: update secrets according to readme by [@&#8203;greenchapter](https://togithub.com/greenchapter) in [google-github-actions/setup-gcloud#549
-   chore: update deps by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [google-github-actions/setup-gcloud#567
-   chore: fix typo by [@&#8203;Eejit43](https://togithub.com/Eejit43) in [google-github-actions/setup-gcloud#568
-   Delete CONTRIBUTING.md by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [google-github-actions/setup-gcloud#569
-   chore(deps): bump [@&#8203;actions/core](https://togithub.com/actions/core) from 1.9.0 to 1.9.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [google-github-actions/setup-gcloud#570
-   chore(deps): bump [@&#8203;types/mocha](https://togithub.com/types/mocha) from 9.1.1 to 10.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [google-github-actions/setup-gcloud#572
-   Update deps by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [google-github-actions/setup-gcloud#574
-   Release: v0.6.1 by [@&#8203;google-github-actions-bot](https://togithub.com/google-github-actions-bot) in [google-github-actions/setup-gcloud#575

#### New Contributors

-   [@&#8203;mwarkentin](https://togithub.com/mwarkentin) made their first contribution in [google-github-actions/setup-gcloud#542
-   [@&#8203;verbanicm](https://togithub.com/verbanicm) made their first contribution in [google-github-actions/setup-gcloud#562
-   [@&#8203;greenchapter](https://togithub.com/greenchapter) made their first contribution in [google-github-actions/setup-gcloud#549
-   [@&#8203;Eejit43](https://togithub.com/Eejit43) made their first contribution in [google-github-actions/setup-gcloud#568

**Full Changelog**: google-github-actions/setup-gcloud@v0.6.0...v0.6.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC40Mi4wIiwidXBkYXRlZEluVmVyIjoiMzQuNDIuMCJ9-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants