Skip to content

Commit

Permalink
Fix requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
hermansje committed Mar 11, 2019
1 parent 804a6ff commit 1f2cd7b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# protowhat deps
markdown2==2.3.5
jinja2==2.10
markdown2~=2.3.5
jinja2~=2.10

# test deps
pytest==3.5.0
codecov==2.0.15
pytest-cov==2.5.1
bashlex==0.12
pytest~=3.5.0
codecov~=2.0.15
pytest-cov~=2.5.1
bashlex~=0.12

# building documentation
sphinx==1.7.4
sphinx_rtd_theme==v0.3.1
sphinx~=1.7.4
sphinx_rtd_theme~=0.3.1
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
VERSION = str(ast.literal_eval(_version_re.search(fp.read()).group(1)))
with open(REQUIREMENTS_FILE, encoding="utf-8") as fp:
req_txt = fp.read()
_requirements_re_template = r"^({}(?:\s*[<>=]+\s*\S*)?)\s*(?:#.*)?$"
_requirements_re_template = r"^({}(?:\s*[~<>=]+\s*\S*)?)\s*(?:#.*)?$"
REQUIREMENTS = [
re.search(_requirements_re_template.format(requirement), req_txt, re.M).group(0)
for requirement in REQUIREMENT_NAMES
Expand Down

0 comments on commit 1f2cd7b

Please sign in to comment.