Skip to content

Conversation

@smoser
Copy link
Member

@smoser smoser commented Oct 21, 2025

Things kept the same:

  • iamguarded package will still get you a python-3.11. I have no idea if this is needed or desired, it can easily be changed to any 3.XX now.

Changes:

  • 'apk add google-cloud-sdk' will now get you python3.13.
  • build for python 3.12 and 3.13 gcloud's gsutil dependency previously only supported python 3.11. That is now fixed SyntaxWarning on invalid escape sequences in verdored third-party libraries (boto, pyasn1) GoogleCloudPlatform/gsutil#1776 and google-cloud-sdk tests ok with 3.13.
  • add '-core' package that contains all the content gcloud.
  • make 'google-cloud-sdk' package just a shim that has a dependency on a specific py3.XX-google-cloud-sdk (currently 3.13). So if you install 'google-cloud-sdk', you're going to get python 3.13. Previously this would get you 3.11. Ideally images or user would select the python 'py3.XX-google-cloud-sdk' that matches other packages so they do not end up with multiple pythons.
  • Add tests for subpackages using tw/ver-check and tw/help-check
  • build environment cleanup

Things to note:

  • Installing 'py3.XX-google-cloud-sdk' does not currently guarantee that 'gcloud' will use py3.XX. It really only guarantees that python-3.XX will be installed. the 'gcloud' shell script pokes around and finds a python version to execute. If there are more than one, it will pick one.

@octo-sts
Copy link
Contributor

octo-sts bot commented Oct 21, 2025

📡 Build Failed: Network

curl: (22) The requested URL returned error: 404

Build Details

Category Details
Build System melange
Failure Point auth/github step in google-cloud-sdk-iamguarded-compat subpackage pipeline

Root Cause Analysis 🔍

Failed to authenticate with GitHub via OctoSTS - the curl request to get an identity token from the metadata server returned a 404 error, indicating the metadata endpoint is not available or the service account configuration is incorrect


Was this comment helpful? Please use 👍 or 👎 reactions on this comment.

@octo-sts octo-sts bot added the ai/skip-comment Stop AI from commenting on PR label Oct 21, 2025
imjasonh
imjasonh previously approved these changes Oct 21, 2025
89luca89
89luca89 previously approved these changes Oct 21, 2025
@smoser smoser enabled auto-merge (squash) October 21, 2025 17:04
@smoser smoser force-pushed the fix/gcloud-with-any-python branch from aab1457 to 0bbfed0 Compare October 21, 2025 17:11
@smoser smoser dismissed stale reviews from 89luca89 and imjasonh via a8c7ef4 October 21, 2025 17:11
@smoser smoser force-pushed the fix/gcloud-with-any-python branch from 0bbfed0 to a8c7ef4 Compare October 21, 2025 17:11
Things kept the same:
 * iamguarded package will still get you a python-3.11.  I have no idea
   if this is needed or desired, it can easily be changed to any 3.XX now.

Changes:
 * 'apk add google-cloud-sdk' will now get you python3.13.
 * build for python 3.12 and 3.13
   gcloud's gsutil dependency previously only supported python 3.11.
   That is now fixed GoogleCloudPlatform/gsutil#1776
   and google-cloud-sdk tests ok with 3.13.
 * add '-core' package that contains all the content gcloud.
 * make 'google-cloud-sdk' package just a shim that has a dependency
   on a specific py3.XX-google-cloud-sdk (currently 3.13).
   So if you install 'google-cloud-sdk', you're going to get python 3.13.
   Previously this would get you 3.11.
   Ideally images or user would select the python 'py3.XX-google-cloud-sdk'
   that matches other packages so they do not end up with multiple pythons.
 * Add tests for subpackages using tw/ver-check and tw/help-check
 * build environment cleanup

Things to note:
 * Installing 'py3.XX-google-cloud-sdk' does not currently guarantee
   that 'gcloud' will use py3.XX. It really only guarantees that python-3.XX
   will be installed.  the 'gcloud' shell script pokes around and finds
   a python version to execute. If there are more than one, it will pick one.
@smoser smoser force-pushed the fix/gcloud-with-any-python branch from a8c7ef4 to b738e8b Compare October 21, 2025 17:20
@octo-sts octo-sts bot added the bincapz/pass bincapz/pass Bincapz (aka. malcontent) scan didn't detect any CRITICALs on the scanned packages. label Oct 21, 2025
@smoser smoser merged commit b751c25 into wolfi-dev:main Oct 21, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/skip-comment Stop AI from commenting on PR bincapz/pass bincapz/pass Bincapz (aka. malcontent) scan didn't detect any CRITICALs on the scanned packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SyntaxWarning on invalid escape sequences in verdored third-party libraries (boto, pyasn1)

4 participants