You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: eng/versioning/utils.py
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -200,14 +200,18 @@ def load_version_map_from_file(the_file, version_map: Dict[str, CodeModule], aut
200
200
raiseValueError('Version file: {0} does not contain a non-beta or non-unreleased entry for beta_/unreleased_ library: {1}'.format(the_file, module.name))
201
201
202
202
# Unreleased dependencies have a few additional checks.
203
-
# 1. If 'auto_increment_version' is true, check if the version matches the dependency version of the library.
204
-
# If the unreleased dependency version is the same as the dependency version, flag the unreleased dependency for replacement.
205
-
# This flag will indicate to the update script that the 'unreleased_*' tag should be replaced with just '*', ex 'unreleased_core' -> 'core'.
203
+
# 1. If 'auto_increment_version' is true, check if the version matches the non-unreleased dependency
204
+
# version of the library and that the dependency version doesn't the current version.
205
+
# If that check passes, flag the unreleased dependency for replacement.
206
+
# This is to allow the update script to replace the 'unreleased_*' tag with just '*', ex 'unreleased_core' -> 'core'.
207
+
# When the non-unreleased dependency versions match this is an indication that the library has never
208
+
# been released and there is a library outside the /sdk/<group> directory that has a development
209
+
# on it.
206
210
# 2. Check to see that the version matches the current version of the library.
207
211
# If it isn't raise an error as unreleased dependencies should match the current version of the library.
0 commit comments