From b9b8ae71055ba3ad2a8589bd7d4bc54f14539e31 Mon Sep 17 00:00:00 2001 From: Sergei Maertens Date: Fri, 27 Dec 2024 14:02:21 +0100 Subject: [PATCH] :wrench: De-duplicate upgrade path checks --- src/openforms/upgrades/upgrade_paths.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/openforms/upgrades/upgrade_paths.py b/src/openforms/upgrades/upgrade_paths.py index 3f2f6f39b2..67a0932e81 100644 --- a/src/openforms/upgrades/upgrade_paths.py +++ b/src/openforms/upgrades/upgrade_paths.py @@ -78,7 +78,7 @@ def run_checks(self) -> bool: UPGRADE_PATHS = { "3.0": UpgradeConstraint( valid_ranges={ - VersionRange(minimum="2.8.0"), + VersionRange(minimum="2.8.2"), }, scripts=["check_temporary_uploads", "check_api_groups_null"], ), @@ -87,11 +87,6 @@ def run_checks(self) -> bool: VersionRange(minimum="2.7.4"), }, ), - "3.0.0": UpgradeConstraint( - valid_ranges={ - VersionRange(minimum="2.8.2"), - }, - ), }