File tree 3 files changed +8
-5
lines changed
seleniumbase/console_scripts 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 7
7
chardet
8
8
unittest2
9
9
selenium == 3.14.1
10
- requests >= 2.20.0
10
+ requests == 2.20.0
11
+ urllib3 == 1.24
11
12
pytest >= 3.9.1
12
13
pytest-cov >= 2.6.0
13
14
pytest-html >= 1.19.0
Original file line number Diff line number Diff line change 16
16
import os
17
17
import platform
18
18
import requests
19
+ import urllib3 # Some systems don't have requests.packages.urllib3
19
20
import shutil
20
21
import sys
21
22
import tarfile
22
23
import zipfile
23
24
from seleniumbase import drivers # webdriver storage folder for SeleniumBase
24
- requests . packages . urllib3 .disable_warnings ()
25
+ urllib3 .disable_warnings ()
25
26
DRIVER_DIR = os .path .dirname (os .path .realpath (drivers .__file__ ))
26
27
27
28
@@ -185,7 +186,7 @@ def main():
185
186
if not os .path .exists (downloads_folder ):
186
187
os .mkdir (downloads_folder )
187
188
local_file = open (file_path , 'wb' )
188
- http = requests . packages . urllib3 .PoolManager ()
189
+ http = urllib3 .PoolManager ()
189
190
remote_file = http .request ('GET' , download_url , preload_content = False )
190
191
print ('\n Downloading %s from:\n %s ...' % (file_name , download_url ))
191
192
local_file .write (remote_file .read ())
Original file line number Diff line number Diff line change 17
17
18
18
setup (
19
19
name = 'seleniumbase' ,
20
- version = '1.16.10 ' ,
20
+ version = '1.16.11 ' ,
21
21
description = 'All-In-One Test Automation Framework' ,
22
22
long_description = long_description ,
23
23
long_description_content_type = 'text/markdown' ,
59
59
'chardet' ,
60
60
'unittest2' ,
61
61
'selenium==3.14.1' ,
62
- 'requests>=2.20.0' ,
62
+ 'requests==2.20.0' , # Changing this may effect "urllib3"
63
+ 'urllib3==1.24' , # Keep this lib in sync with "requests"
63
64
'pytest>=3.9.1' ,
64
65
'pytest-cov>=2.6.0' ,
65
66
'pytest-html>=1.19.0' ,
You can’t perform that action at this time.
0 commit comments