Skip to content

Commit 27de730

Browse files
committed
lower warn to info
1 parent 37a9b85 commit 27de730

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

python/private/pypi/hub_builder.bzl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,11 @@ def _pip_parse(self, module_ctx, pip_attr):
120120
err = False,
121121
)
122122
if not full_python_version:
123-
self._logger.warn(lambda: (
123+
# NOTE @aignas 2025-11-18: If the python version is not present in our
124+
# minor_mapping, then we will not register any packages and then the
125+
# select in the hub repository will fail, which will prompt the user to
126+
# configure the toolchain correctly and move forward.
127+
self._logger.info(lambda: (
124128
"Ignoring pip python version '{version}' for hub " +
125129
"'{hub}' in module '{module}' because there is no registered " +
126130
"toolchain for it."

python/private/python.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def _python_impl(module_ctx):
271271
err = False,
272272
)
273273
if not full_python_version:
274-
logger.warn(lambda: "The python version '{}' is unknown, please configure a toolchain to be downloaded".format(toolchain_info.python_version))
274+
logger.info(lambda: "The python version '{}' is unknown, please configure a toolchain to be downloaded".format(toolchain_info.python_version))
275275
continue
276276

277277
kwargs = {

0 commit comments

Comments
 (0)