From 5197801025ca557085156a585c886195ccb5171b Mon Sep 17 00:00:00 2001 From: sommersoft Date: Sun, 3 Apr 2022 11:46:44 -0500 Subject: [PATCH] fix duplicated filtered dependencies --- testing/downstream_testing/downstream_runner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/downstream_testing/downstream_runner.py b/testing/downstream_testing/downstream_runner.py index 7a8e90273..8e18aab14 100644 --- a/testing/downstream_testing/downstream_runner.py +++ b/testing/downstream_testing/downstream_runner.py @@ -161,8 +161,8 @@ class DownstreamRunner: tox_dep_filter = ToxDepFilter() for dep in section_deps.split("\n"): filtered_dep = tox_dep_filter.filter_dep(dep) - if filtered_dep and filtered_dep not in found_dep: - found_dep.append(filtered_dep) + if filtered_dep and filtered_dep["src"] not in found_dep: + found_dep.append(filtered_dep["src"]) updated_deps.add( f"!{filtered_dep['gen_exp']}: {filtered_dep['src']}" )