Skip to content

Commit 9a517fe

Browse files
committed
WIP add deprecation notice for components without version specification
1 parent d7fb6e5 commit 9a517fe

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

commodore/dependency_mgmt.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ def _read_components(
110110
if "version" in info:
111111
component_versions[component_name] = info["version"]
112112
else:
113+
cfg.register_deprecation_notice(
114+
f"Component {component_name} doesn't have a version specified. ...TODO URL"
115+
)
113116
# Note: We use version=None as a marker for checking out the remote repo's default branch
114117
component_versions[component_name] = None
115118
if cfg.debug:

0 commit comments

Comments
 (0)