Closed Ahrotahn closed 1 week ago
@tsuliwaensis @teeminus @clickot Let me know if that gives you any trouble. This method is more involved but should hopefully avoid the platform-specific pitfalls.
I was able to run the clone script with Python 3.13
No issues on windows 👍
Additionally to the sysroot feature I use a debian-bullseye based docker image for the build to ensure that the build result runs on older linux versions. In this docker image is a python 3.9.2. In this setting the clone script runs fine and the build executes normally :+1:
This PR adds a new section to the clone script that manually sets up the gsutil directory with a newer version of apitools so Python 3.13+ can be used.
Normally gsutil creates this path during runtime and makes an
install.flag
file to signify completion so it only needs to do the work once. This change writes to the same file in order to prevent gsutil from overwriting our changes.