Skip to content

Commit a3f8b03

Browse files
sfc-gh-stakedaankit-bhatnagar167
authored andcommitted
SNOW-120351: Added development optional dependencies to Python packages
1 parent 89b0dd8 commit a3f8b03

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

setup.cfg

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
universal = 1
33

44
[flake8]
5-
ignore=E126,E127
5+
ignore=F821,W504,E501,E402,E122,E127,E126,E128,E131,E731,E125,E722
6+
exclude=build,test,setup,tool
7+
max-line-length = 120

setup.py

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,26 @@ def _get_pyarrow_lib_pattern(self, lib_name):
217217
],
218218
"pandas": [
219219
'pyarrow>=0.15.1,<0.16.0;python_version>"3.4"',
220-
'pandas<1.0.0;python_version>"3.4"',
221-
]
220+
'pandas==0.24.2;python_version=="2.7" or python_version=="3.5"',
221+
'pandas<1.0.0;python_version>"3.5"',
222+
],
223+
"development": [
224+
'pytest==4.6.6', # Last Python 2.7 supported version
225+
'pytest-cov',
226+
'pytest-rerunfailures',
227+
'pytest-timeout',
228+
'coverage',
229+
'pexpect',
230+
'mock',
231+
'pytz',
232+
'pytzdata',
233+
'Cython',
234+
'pendulum',
235+
'more-itertools==4.3.0;python_version=="2.7"', # Last Python 2.7 supported version
236+
'more-itertools;python_version!="2.7"',
237+
'numpy==1.16.5;python_version=="2.7"', # Last Python 2.7 supported version
238+
'numpy;python_version!="2.7"',
239+
],
222240
},
223241

224242
classifiers=[

0 commit comments

Comments
 (0)