Commit 9e3b466d authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

BF: Strip comparison operators from version strings

parent 23f16abf
......@@ -17,7 +17,7 @@ import contextlib as ctxlib
import subprocess as sp
__version__ = '0.5.1'
__version__ = '0.5.2'
"""Current version of the fsl-ci-rules."""
......
......@@ -125,7 +125,7 @@ def get_requirements(meta):
ver = None
else:
name = tokens[0]
ver = tokens[1]
ver = tokens[1].strip('<>= ')
if not any([f in name for f in filters]):
reqs.append((name, ver))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment