File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed
Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -58,9 +58,15 @@ def get_latest_pypi_version(package_name):
5858 return None , None
5959
6060def check_sub_dependencies (name , info , outdated_dependencies ):
61- """Check sub-dependencies (crate versions) within a repository entry"""
62- for key , current_version in info .items ():
63- if key .endswith ("_version" ) and not key .startswith ("docker_" ):
61+ """Check sub-dependencies within a repository entry"""
62+ # Check if there's a subdependencies section
63+ subdependencies = info .get ("subdependencies" , {})
64+
65+ if not subdependencies :
66+ return
67+
68+ for key , current_version in subdependencies .items ():
69+ if key .endswith ("_version" ):
6470 # Extract crate name from the key (remove _version suffix)
6571 crate_name = key .replace ("_version" , "" ).replace ("_" , "-" )
6672 latest_version , latest_url = get_latest_crate_version (crate_name )
Original file line number Diff line number Diff line change @@ -30,9 +30,10 @@ dependencies:
3030 polkadot_sdk_parachain_template :
3131 repository_url : https://github.com/paritytech/polkadot-sdk-parachain-template
3232 version : v0.0.4
33- polkadot_omni_node_version : 0.5.0
34- chain_spec_builder_version : 10.0.0
35- frame_omni_bencher_version : 0.13.0
33+ subdependencies :
34+ polkadot_omni_node_version : 0.5.0
35+ chain_spec_builder_version : 10.0.0
36+ frame_omni_bencher_version : 0.13.0
3637 crates :
3738 subxt :
3839 name : subxt
You can’t perform that action at this time.
0 commit comments