From bde9b2159630c4251f0aeb0003a19c9a0b425134 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Sat, 23 Mar 2024 15:49:26 +0000 Subject: [PATCH] Future proof the re for "python modules for old python versions" --- calm/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calm/package.py b/calm/package.py index 39f3655..3b530cb 100755 --- a/calm/package.py +++ b/calm/package.py @@ -1046,7 +1046,7 @@ def add_needed_obsoletes(needed): # ignore Python module packages, as we may keep old versions of # those - if re.match(r'^python[23][5678]?-.*', install_p): + if re.match(r'^python3\d+-.*', install_p): continue # ignore packages where best_version is a test version (i.e doesn't