Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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