Skip to content

Commit 0ec21fa

Browse files
authored
CI: avoid DeprecationWarning in validate_min_versions_in_sync script (#57127)
1 parent 89b633d commit 0ec21fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: scripts/validate_min_versions_in_sync.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def clean_version_list(
143143
yaml_versions: list[str], toml_version: version.Version
144144
) -> list[str]:
145145
for i in range(len(yaml_versions)):
146-
yaml_version = yaml_versions[i]
146+
yaml_version = yaml_versions[i].strip()
147147
operator = get_operator_from(yaml_version)
148148
assert operator is not None
149149
if "<=" in operator or ">=" in operator:

0 commit comments

Comments
 (0)