Skip to content

Commit

Permalink
trying to fix minimum
Browse files Browse the repository at this point in the history
  • Loading branch information
amontanez24 committed Jul 12, 2023
1 parent 574fd0b commit 8660efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def install_minimum(c):
if _validate_python_version(line):
requirement = re.match(r'[^>]*', line).group(0)
requirement = re.sub(r"""['",]""", '', requirement)
version = re.search(r'>=?(\d\.?)+\w+\d+', line).group(0)
version = re.search(r'>=?(\d\.?)+(\w+\d+)?', line).group(0)
if version:
version = re.sub(r'>=?', '==', version)
version = re.sub(r"""['",]""", '', version)
Expand Down

0 comments on commit 8660efc

Please sign in to comment.