Skip to content

Commit

Permalink
BLD: minor break ci/requirements-optional-pip.txt (#22889)
Browse files Browse the repository at this point in the history
  • Loading branch information
minggli authored and jreback committed Sep 30, 2018
1 parent 14598c6 commit f4fae35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/requirements-optional-pip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ lxml
matplotlib
nbsphinx
numexpr
openpyxl=2.5.5
openpyxl==2.5.5
pyarrow
pymysql
tables
Expand All @@ -28,4 +28,4 @@ statsmodels
xarray
xlrd
xlsxwriter
xlwt
xlwt
2 changes: 2 additions & 0 deletions scripts/convert_deps.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Convert the conda environment.yaml to a pip requirements.txt
"""
import re
import yaml

exclude = {'python=3'}
Expand All @@ -15,6 +16,7 @@
required = dev['dependencies']
required = [rename.get(dep, dep) for dep in required if dep not in exclude]
optional = [rename.get(dep, dep) for dep in optional if dep not in exclude]
optional = [re.sub("(?<=[^<>])=", '==', dep) for dep in optional]


with open("ci/requirements_dev.txt", 'wt') as f:
Expand Down

0 comments on commit f4fae35

Please sign in to comment.