Skip to content

Conversation

@krishnangovindraj
Copy link
Member

Usage and product changes

Use custom python toolchain for cloudsmith uploader

Motivation

Stop sync breaking based on local python interpreter version.

Implementation

We need the funky symlink to make the python interpreter available at during the sync/fetch phase.

@krishnangovindraj krishnangovindraj marked this pull request as ready for review November 4, 2025 12:50

def typedb_bazel_distribution_uploader():
uploader_toolchain_name = "py39_for_uploader"
python_register_toolchains(name=uploader_toolchain_name, python_version="3.9", ignore_root_user_error = True)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Relies on rules_python to have 3.9.
We could try a newer one too.

@krishnangovindraj
Copy link
Member Author

This breaks on windows, presumably because of the symlinks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant