diff --git a/dependencies.py b/dependencies.py index 904c6ca7f5..03a0f0a828 100644 --- a/dependencies.py +++ b/dependencies.py @@ -23,5 +23,5 @@ all = df_dep.merge(right=df_upgrade, how="left", left_on="package.package_name", right_on="name") all_short = all.drop(columns=["name","version", "latest_filetype", "editable_project_location"]) - all_short = all_short[["package.key","package.package_name","package.installed_version","latest_version","dependencies"]] + all_short = all_short[["package.key","package.package_name","package.installed_version","package.required_version","latest_version","dependencies"]] all_short.to_csv("dependencies_analysis/dependencies.csv", index=False) diff --git a/dependencies.sh b/dependencies.sh index 79f1e80cbf..60e1d24a51 100755 --- a/dependencies.sh +++ b/dependencies.sh @@ -3,5 +3,5 @@ rm -rf dependencies_analysis mkdir dependencies_analysis -pipdeptree --json -l >> dependencies_analysis/dependencies.json +pipdeptree --json --reverse >> dependencies_analysis/dependencies.json pip list --format json -o >> dependencies_analysis/upgrade.json \ No newline at end of file