Skip to content

Commit e784694

Browse files
smtakedaankit-bhatnagar167
authored andcommitted
SNOW-65586: added idna to setup.py. made pyasn1 optional for Python3. SNOW-65546: Fixed SnowSQL warnings.
1 parent b7013da commit e784694

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
download_url='https://www.snowflake.net/',
3333
use_2to3=False,
3434

35+
python_requires='>=2.7.9,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
36+
3537
install_requires=[
3638
'azure-common',
3739
'azure-storage-blob',
@@ -47,8 +49,9 @@
4749
'cryptography>=1.8.2',
4850
'ijson',
4951
'pyjwt',
50-
'pyasn1>=0.2.1,<0.5.0', # added back for Python 2
51-
'pyasn1-modules>=0.0.8,<0.3.0', # added back for Python 2
52+
'idna',
53+
'pyasn1>=0.2.1,<0.5.0;python_version<"3.0"',
54+
'pyasn1-modules>=0.0.8,<0.3.0;python_version<"3.0"',
5255
'enum34;python_version<"3.4"',
5356
],
5457

0 commit comments

Comments
 (0)