Skip to content

Commit

Permalink
Future proof the re for "python modules for old python versions"
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-turney committed Mar 24, 2024
1 parent 9d7f014 commit bde9b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion calm/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bde9b21

Please sign in to comment.