From 20d76c5bdb85c5ad61180802fc6acf285a89e29f Mon Sep 17 00:00:00 2001 From: n-dusan Date: Mon, 30 Oct 2023 13:08:35 +0100 Subject: [PATCH] debug --- upgrade/scripts/upgrade_python_package.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/upgrade/scripts/upgrade_python_package.py b/upgrade/scripts/upgrade_python_package.py index 4f7a2b3..2c5cfb5 100644 --- a/upgrade/scripts/upgrade_python_package.py +++ b/upgrade/scripts/upgrade_python_package.py @@ -209,7 +209,9 @@ def install_wheel( str(parse_wheel_filename(wheel_name)[1]) for wheel_name in wheel_names ] wheel_mapping = {k: v for (k, v) in zip(parsed_wheel_versions, wheel_paths)} + print(wheel_mapping) versions = filter_versions(SpecifierSet(version_cmd), parsed_wheel_versions) + print(f"filtered versions: {versions}") wheel = wheel_mapping.get(versions[-1]) except IndexError: print(f"Wheel {package_name} not found")