Skip to content

Commit a5da4c4

Browse files
mingglivictor
authored and
victor
committed
BLD: minor break ci/requirements-optional-pip.txt (pandas-dev#22889)
1 parent 2666dbc commit a5da4c4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ci/requirements-optional-pip.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ lxml
1414
matplotlib
1515
nbsphinx
1616
numexpr
17-
openpyxl=2.5.5
17+
openpyxl==2.5.5
1818
pyarrow
1919
pymysql
2020
tables
@@ -28,4 +28,4 @@ statsmodels
2828
xarray
2929
xlrd
3030
xlsxwriter
31-
xlwt
31+
xlwt

scripts/convert_deps.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Convert the conda environment.yaml to a pip requirements.txt
33
"""
4+
import re
45
import yaml
56

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

1921

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

0 commit comments

Comments
 (0)