Skip to content

Commit a67db6d

Browse files
authored
Merge pull request #1405 from seleniumbase/drop-support-for-old-python
Drop support for Python 3.5
2 parents 5b5be33 + 81716a7 commit a67db6d

File tree

3 files changed

+69
-109
lines changed

3 files changed

+69
-109
lines changed

requirements.txt

Lines changed: 33 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ pip>=21.3.1;python_version>="3.6" and python_version<"3.7"
33
pip>=22.1.2;python_version>="3.7"
44
packaging>=20.9;python_version<"3.6"
55
packaging>=21.3;python_version>="3.6"
6-
setuptools>=44.1.1;python_version<"3.5"
7-
setuptools>=50.3.2;python_version>="3.5" and python_version<"3.6"
6+
setuptools>=44.1.1;python_version<"3.6"
87
setuptools>=59.6.0;python_version>="3.6" and python_version<"3.7"
98
setuptools>=63.1.0;python_version>="3.7"
109
tomli>=1.2.3;python_version>="3.6" and python_version<"3.7"
@@ -23,24 +22,21 @@ platformdirs>=2.0.2;python_version<"3.6"
2322
platformdirs>=2.4.0;python_version>="3.6" and python_version<"3.7"
2423
platformdirs>=2.5.2;python_version>="3.7"
2524
six==1.16.0
26-
ipdb==0.13.4;python_version<"3.5"
27-
ipdb==0.13.9;python_version>="3.5"
25+
ipdb==0.13.4;python_version<"3.6"
26+
ipdb==0.13.9;python_version>="3.6"
2827
parso==0.7.1;python_version<"3.6"
2928
parso==0.8.3;python_version>="3.6"
3029
jedi==0.17.2;python_version<"3.6"
3130
jedi==0.18.1;python_version>="3.6"
3231
idna==2.10;python_version<"3.6"
3332
idna==3.3;python_version>="3.6"
34-
chardet==3.0.4;python_version<"3.5"
35-
chardet==4.0.0;python_version>="3.5" and python_version<"3.7"
33+
chardet==3.0.4;python_version<"3.6"
34+
chardet==4.0.0;python_version>="3.6" and python_version<"3.7"
3635
chardet==5.0.0;python_version>="3.7"
37-
charset-normalizer==2.0.12;python_version>="3.5" and python_version<"3.7"
36+
charset-normalizer==2.0.12;python_version>="3.6" and python_version<"3.7"
3837
charset-normalizer==2.1.0;python_version>="3.7"
39-
urllib3==1.26.10;python_version<"3.5"
40-
urllib3==1.26.9;python_version>="3.5" and python_version<"3.6"
41-
urllib3==1.26.10;python_version>"3.6"
42-
requests==2.27.1;python_version<"3.5"
43-
requests==2.25.1;python_version>="3.5" and python_version<"3.6"
38+
urllib3==1.26.10
39+
requests==2.27.1;python_version<"3.6"
4440
requests==2.27.1;python_version>="3.6" and python_version<"3.7"
4541
requests==2.28.1;python_version>="3.7"
4642
nose==1.3.7
@@ -54,20 +50,18 @@ wsproto==1.1.0;python_version>="3.7"
5450
selenium==3.141.0;python_version<"3.7"
5551
selenium==4.3.0;python_version>="3.7"
5652
msedge-selenium-tools==3.141.3;python_version<"3.7"
57-
more-itertools==5.0.0;python_version<"3.5"
58-
more-itertools==8.13.0;python_version>="3.5"
53+
more-itertools==5.0.0;python_version<"3.6"
54+
more-itertools==8.13.0;python_version>="3.6"
5955
cssselect==1.1.0
6056
sortedcontainers==2.4.0
61-
fasteners==0.16;python_version<"3.5"
62-
fasteners==0.16.3;python_version>="3.5" and python_version<"3.6"
57+
fasteners==0.16;python_version<"3.6"
6358
fasteners==0.17.3;python_version>="3.6"
6459
execnet==1.9.0
6560
pluggy==0.13.1;python_version<"3.6"
6661
pluggy==1.0.0;python_version>="3.6"
67-
py==1.8.1;python_version<"3.5"
68-
py==1.11.0;python_version>="3.5"
69-
pytest==4.6.11;python_version<"3.5"
70-
pytest==6.1.2;python_version>="3.5" and python_version<"3.6"
62+
py==1.8.1;python_version<"3.6"
63+
py==1.11.0;python_version>="3.6"
64+
pytest==4.6.11;python_version<"3.6"
7165
pytest==7.0.1;python_version>="3.6" and python_version<"3.7"
7266
pytest==7.1.2;python_version>="3.7"
7367
pytest-forked==1.3.0;python_version<"3.6"
@@ -78,37 +72,29 @@ pytest-metadata==1.8.0;python_version<"3.6"
7872
pytest-metadata==1.11.0;python_version>="3.6" and python_version<"3.7"
7973
pytest-metadata==2.0.1;python_version>="3.7"
8074
pytest-ordering==0.6
81-
pytest-rerunfailures==8.0;python_version<"3.5"
82-
pytest-rerunfailures==9.1.1;python_version>="3.5" and python_version<"3.6"
75+
pytest-rerunfailures==8.0;python_version<"3.6"
8376
pytest-rerunfailures==10.2;python_version>="3.6"
84-
pytest-xdist==1.34.0;python_version<"3.5"
85-
pytest-xdist==2.2.1;python_version>="3.5" and python_version<"3.6"
77+
pytest-xdist==1.34.0;python_version<"3.6"
8678
pytest-xdist==2.5.0;python_version>="3.6"
8779
parameterized==0.8.1
8880
sbvirtualdisplay==1.1.0
8981
behave==1.2.6
9082
parse==1.19.0
9183
parse-type==0.6.0
92-
soupsieve==1.9.6;python_version<"3.5"
93-
soupsieve==2.1;python_version>="3.5" and python_version<"3.6"
84+
soupsieve==1.9.6;python_version<"3.6"
9485
soupsieve==2.3.2.post1;python_version>="3.6"
95-
beautifulsoup4==4.9.3;python_version<"3.5"
96-
beautifulsoup4==4.10.0;python_version>="3.5" and python_version<"3.6"
86+
beautifulsoup4==4.9.3;python_version<"3.6"
9787
beautifulsoup4==4.11.1;python_version>="3.6"
98-
cryptography==2.9.2;python_version<"3.5"
99-
cryptography==3.2.1;python_version>="3.5" and python_version<"3.6"
88+
cryptography==2.9.2;python_version<"3.6"
10089
cryptography==36.0.2;python_version>="3.6" and python_version<"3.7"
10190
cryptography==37.0.4;python_version>="3.7"
102-
pygments==2.5.2;python_version<"3.5"
103-
pygments==2.11.2;python_version>="3.5" and python_version<"3.6"
91+
pygments==2.5.2;python_version<"3.6"
10492
pygments==2.12.0;python_version>="3.6"
105-
prompt-toolkit==1.0.18;python_version<"3.5"
106-
prompt-toolkit==2.0.10;python_version>="3.5" and python_version<"3.6"
93+
prompt-toolkit==1.0.18;python_version<"3.6"
10794
prompt-toolkit==3.0.30;python_version>="3.6"
108-
decorator==4.4.2;python_version<"3.5"
109-
decorator==5.1.1;python_version>="3.5"
110-
ipython==5.10.0;python_version<"3.5"
111-
ipython==7.9.0;python_version>="3.5" and python_version<"3.6"
95+
decorator==4.4.2;python_version<"3.6"
96+
decorator==5.1.1;python_version>="3.6"
97+
ipython==5.10.0;python_version<"3.6"
11298
ipython==7.16.1;python_version>="3.6" and python_version<"3.7"
11399
ipython==7.34.0;python_version>="3.7"
114100
matplotlib-inline==0.1.3;python_version>="3.7"
@@ -118,24 +104,22 @@ importlib-metadata==4.2.0;python_version>="3.6" and python_version<"3.8"
118104
pycparser==2.21
119105
pymysql==0.10.1;python_version<"3.6"
120106
pymysql==1.0.2;python_version>="3.6"
121-
pyotp==2.3.0;python_version<"3.5"
122-
pyotp==2.6.0;python_version>="3.5"
107+
pyotp==2.3.0;python_version<"3.6"
108+
pyotp==2.6.0;python_version>="3.6"
123109
boto==2.49.0
124110
cffi==1.15.1
125111
toml==0.10.2
126-
Pillow==6.2.2;python_version<"3.5"
127-
Pillow==7.2.0;python_version>="3.5" and python_version<"3.6"
112+
Pillow==6.2.2;python_version<"3.6"
128113
Pillow==8.4.0;python_version>="3.6" and python_version<"3.7"
129114
Pillow==9.2.0;python_version>="3.7"
130115
typing-extensions==3.10.0.2;python_version<"3.6"
131116
typing-extensions==4.1.1;python_version>="3.6" and python_version<"3.7"
132117
typing-extensions==4.2.0;python_version>="3.7" and python_version<"3.9"
133118
rich==12.5.1;python_version>="3.6" and python_version<"4.0"
134-
tornado==5.1.1;python_version<"3.5"
135-
tornado==6.1;python_version>="3.5" and python_version<"3.7"
119+
tornado==5.1.1;python_version<"3.6"
120+
tornado==6.1;python_version>="3.6" and python_version<"3.7"
136121
tornado==6.2;python_version>="3.7"
137-
pdfminer.six==20191110;python_version<"3.5"
138-
pdfminer.six==20201018;python_version>="3.5" and python_version<"3.6"
122+
pdfminer.six==20191110;python_version<"3.6"
139123
pdfminer.six==20211012;python_version>="3.6" and python_version<"3.7"
140124
pdfminer.six==20220524;python_version>="3.7"
141125

@@ -147,13 +131,10 @@ coverage==6.2;python_version>="3.6" and python_version<"3.7"
147131
coverage==6.4.1;python_version>="3.7"
148132
pytest-cov==2.12.1;python_version<"3.6"
149133
pytest-cov==3.0.0;python_version>="3.6"
150-
flake8==3.7.9;python_version<"3.5"
151-
flake8==3.9.2;python_version>="3.5" and python_version<"3.6"
134+
flake8==3.7.9;python_version<"3.6"
152135
flake8==4.0.1;python_version>="3.6"
153136
mccabe==0.6.1
154-
pyflakes==2.1.1;python_version<"3.5"
155-
pyflakes==2.3.1;python_version>="3.5" and python_version<"3.6"
137+
pyflakes==2.1.1;python_version<"3.6"
156138
pyflakes==2.4.0;python_version>="3.6"
157-
pycodestyle==2.5.0;python_version<"3.5"
158-
pycodestyle==2.7.0;python_version>="3.5" and python_version<"3.6"
139+
pycodestyle==2.5.0;python_version<"3.6"
159140
pycodestyle==2.8.0;python_version>="3.6"

seleniumbase/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# seleniumbase package
2-
__version__ = "3.4.1"
2+
__version__ = "3.5.0"

setup.py

Lines changed: 35 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
The setup package to install SeleniumBase dependencies and plugins.
3-
(Uses selenium 3.x and is compatible with Python 2.7+ and Python 3.5+)
3+
(Uses selenium 3.x and is compatible with Python 2.7+ and Python 3.6+)
44
"""
55

66
from setuptools import setup, find_packages # noqa: F401
@@ -100,7 +100,6 @@
100100
"Programming Language :: Python",
101101
"Programming Language :: Python :: 3",
102102
"Programming Language :: Python :: 2.7",
103-
"Programming Language :: Python :: 3.5",
104103
"Programming Language :: Python :: 3.6",
105104
"Programming Language :: Python :: 3.7",
106105
"Programming Language :: Python :: 3.8",
@@ -123,15 +122,14 @@
123122
"Topic :: Software Development :: Testing :: Traffic Generation",
124123
"Topic :: Utilities",
125124
],
126-
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
125+
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*", # noqa: E501
127126
install_requires=[
128127
'pip>=20.3.4;python_version<"3.6"',
129128
'pip>=21.3.1;python_version>="3.6" and python_version<"3.7"',
130129
'pip>=22.1.2;python_version>="3.7"',
131130
'packaging>=20.9;python_version<"3.6"',
132131
'packaging>=21.3;python_version>="3.6"',
133-
'setuptools>=44.1.1;python_version<"3.5"',
134-
'setuptools>=50.3.2;python_version>="3.5" and python_version<"3.6"',
132+
'setuptools>=44.1.1;python_version<"3.6"',
135133
'setuptools>=59.6.0;python_version>="3.6" and python_version<"3.7"',
136134
'setuptools>=63.1.0;python_version>="3.7"',
137135
'tomli>=1.2.3;python_version>="3.6" and python_version<"3.7"',
@@ -150,25 +148,21 @@
150148
'platformdirs>=2.4.0;python_version>="3.6" and python_version<"3.7"',
151149
'platformdirs>=2.5.2;python_version>="3.7"',
152150
"six==1.16.0",
153-
'ipdb==0.13.4;python_version<"3.5"',
154-
'ipdb==0.13.9;python_version>="3.5"',
151+
'ipdb==0.13.4;python_version<"3.6"',
152+
'ipdb==0.13.9;python_version>="3.6"',
155153
'parso==0.7.1;python_version<"3.6"',
156154
'parso==0.8.3;python_version>="3.6"',
157155
'jedi==0.17.2;python_version<"3.6"',
158156
'jedi==0.18.1;python_version>="3.6"',
159157
'idna==2.10;python_version<"3.6"', # Must stay in sync with "requests"
160158
'idna==3.3;python_version>="3.6"', # Must stay in sync with "requests"
161-
'chardet==3.0.4;python_version<"3.5"', # Stay in sync with "requests"
162-
'chardet==4.0.0;python_version>="3.5" and python_version<"3.7"',
159+
'chardet==3.0.4;python_version<"3.6"', # Stay in sync with "requests"
160+
'chardet==4.0.0;python_version>="3.6" and python_version<"3.7"',
163161
'chardet==5.0.0;python_version>="3.7"', # Stay in sync with "requests"
164-
'charset-normalizer==2.0.12;python_version>="3.5" and python_version<"3.7"', # noqa: E501
162+
'charset-normalizer==2.0.12;python_version>="3.6" and python_version<"3.7"', # noqa: E501
165163
'charset-normalizer==2.1.0;python_version>="3.7"', # Sync "requests"
166-
'urllib3==1.26.10;python_version<"3.5"', # Sync with "requests"
167-
'urllib3==1.26.9;python_version>="3.5" and python_version<"3.6"',
168-
'urllib3==1.26.10;python_version>"3.6"', # Sync with "requests"
169-
'requests==2.27.1;python_version<"3.5"',
170-
'requests==2.25.1;python_version>="3.5" and python_version<"3.6"',
171-
'requests==2.27.1;python_version>="3.6" and python_version<"3.7"',
164+
'urllib3==1.26.10', # Stay in sync with "requests"
165+
'requests==2.27.1;python_version<"3.7"',
172166
'requests==2.28.1;python_version>="3.7"',
173167
"nose==1.3.7",
174168
'sniffio==1.2.0;python_version>="3.7"',
@@ -181,20 +175,18 @@
181175
'selenium==3.141.0;python_version<"3.7"',
182176
'selenium==4.3.0;python_version>="3.7"',
183177
'msedge-selenium-tools==3.141.3;python_version<"3.7"',
184-
'more-itertools==5.0.0;python_version<"3.5"',
185-
'more-itertools==8.13.0;python_version>="3.5"',
178+
'more-itertools==5.0.0;python_version<"3.6"',
179+
'more-itertools==8.13.0;python_version>="3.6"',
186180
"cssselect==1.1.0",
187181
"sortedcontainers==2.4.0",
188-
'fasteners==0.16;python_version<"3.5"',
189-
'fasteners==0.16.3;python_version>="3.5" and python_version<"3.6"',
182+
'fasteners==0.16;python_version<"3.6"',
190183
'fasteners==0.17.3;python_version>="3.6"',
191184
"execnet==1.9.0",
192185
'pluggy==0.13.1;python_version<"3.6"',
193186
'pluggy==1.0.0;python_version>="3.6"',
194-
'py==1.8.1;python_version<"3.5"',
195-
'py==1.11.0;python_version>="3.5"',
196-
'pytest==4.6.11;python_version<"3.5"',
197-
'pytest==6.1.2;python_version>="3.5" and python_version<"3.6"',
187+
'py==1.8.1;python_version<"3.6"',
188+
'py==1.11.0;python_version>="3.6"',
189+
'pytest==4.6.11;python_version<"3.6"',
198190
'pytest==7.0.1;python_version>="3.6" and python_version<"3.7"',
199191
'pytest==7.1.2;python_version>="3.7"',
200192
'pytest-forked==1.3.0;python_version<"3.6"',
@@ -205,37 +197,29 @@
205197
'pytest-metadata==1.11.0;python_version>="3.6" and python_version<"3.7"', # noqa: E501
206198
'pytest-metadata==2.0.1;python_version>="3.7"',
207199
"pytest-ordering==0.6",
208-
'pytest-rerunfailures==8.0;python_version<"3.5"',
209-
'pytest-rerunfailures==9.1.1;python_version>="3.5" and python_version<"3.6"', # noqa: E501
200+
'pytest-rerunfailures==8.0;python_version<"3.6"',
210201
'pytest-rerunfailures==10.2;python_version>="3.6"',
211-
'pytest-xdist==1.34.0;python_version<"3.5"',
212-
'pytest-xdist==2.2.1;python_version>="3.5" and python_version<"3.6"',
202+
'pytest-xdist==1.34.0;python_version<"3.6"',
213203
'pytest-xdist==2.5.0;python_version>="3.6"',
214204
"parameterized==0.8.1",
215205
"sbvirtualdisplay==1.1.0",
216206
"behave==1.2.6",
217207
"parse==1.19.0",
218208
"parse-type==0.6.0",
219-
'soupsieve==1.9.6;python_version<"3.5"',
220-
'soupsieve==2.1;python_version>="3.5" and python_version<"3.6"',
209+
'soupsieve==1.9.6;python_version<"3.6"',
221210
'soupsieve==2.3.2.post1;python_version>="3.6"',
222-
'beautifulsoup4==4.9.3;python_version<"3.5"',
223-
'beautifulsoup4==4.10.0;python_version>="3.5" and python_version<"3.6"', # noqa: E501
211+
'beautifulsoup4==4.9.3;python_version<"3.6"',
224212
'beautifulsoup4==4.11.1;python_version>="3.6"',
225-
'cryptography==2.9.2;python_version<"3.5"',
226-
'cryptography==3.2.1;python_version>="3.5" and python_version<"3.6"',
213+
'cryptography==2.9.2;python_version<"3.6"',
227214
'cryptography==36.0.2;python_version>="3.6" and python_version<"3.7"',
228215
'cryptography==37.0.4;python_version>="3.7"',
229-
'pygments==2.5.2;python_version<"3.5"',
230-
'pygments==2.11.2;python_version>="3.5" and python_version<"3.6"',
216+
'pygments==2.5.2;python_version<"3.6"',
231217
'pygments==2.12.0;python_version>="3.6"',
232-
'prompt-toolkit==1.0.18;python_version<"3.5"',
233-
'prompt-toolkit==2.0.10;python_version>="3.5" and python_version<"3.6"', # noqa: E501
218+
'prompt-toolkit==1.0.18;python_version<"3.6"',
234219
'prompt-toolkit==3.0.30;python_version>="3.6"',
235-
'decorator==4.4.2;python_version<"3.5"',
236-
'decorator==5.1.1;python_version>="3.5"',
237-
'ipython==5.10.0;python_version<"3.5"',
238-
'ipython==7.9.0;python_version>="3.5" and python_version<"3.6"',
220+
'decorator==4.4.2;python_version<"3.6"',
221+
'decorator==5.1.1;python_version>="3.6"',
222+
'ipython==5.10.0;python_version<"3.6"',
239223
'ipython==7.16.1;python_version>="3.6" and python_version<"3.7"',
240224
'ipython==7.34.0;python_version>="3.7"', # Requires matplotlib-inline
241225
'matplotlib-inline==0.1.3;python_version>="3.7"', # ipython needs this
@@ -245,24 +229,22 @@
245229
"pycparser==2.21",
246230
'pymysql==0.10.1;python_version<"3.6"',
247231
'pymysql==1.0.2;python_version>="3.6"',
248-
'pyotp==2.3.0;python_version<"3.5"',
249-
'pyotp==2.6.0;python_version>="3.5"',
232+
'pyotp==2.3.0;python_version<"3.6"',
233+
'pyotp==2.6.0;python_version>="3.6"',
250234
"boto==2.49.0",
251235
"cffi==1.15.1",
252236
"toml==0.10.2",
253-
'Pillow==6.2.2;python_version<"3.5"',
254-
'Pillow==7.2.0;python_version>="3.5" and python_version<"3.6"',
237+
'Pillow==6.2.2;python_version<"3.6"',
255238
'Pillow==8.4.0;python_version>="3.6" and python_version<"3.7"',
256239
'Pillow==9.2.0;python_version>="3.7"',
257240
'typing-extensions==3.10.0.2;python_version<"3.6"', # <3.9 for "rich"
258241
'typing-extensions==4.1.1;python_version>="3.6" and python_version<"3.7"', # noqa: E501
259242
'typing-extensions==4.2.0;python_version>="3.7" and python_version<"3.9"', # noqa: E501
260243
'rich==12.5.1;python_version>="3.6" and python_version<"4.0"',
261-
'tornado==5.1.1;python_version<"3.5"',
262-
'tornado==6.1;python_version>="3.5" and python_version<"3.7"',
244+
'tornado==5.1.1;python_version<"3.6"',
245+
'tornado==6.1;python_version>="3.6" and python_version<"3.7"',
263246
'tornado==6.2;python_version>="3.7"',
264-
'pdfminer.six==20191110;python_version<"3.5"',
265-
'pdfminer.six==20201018;python_version>="3.5" and python_version<"3.6"', # noqa: E501
247+
'pdfminer.six==20191110;python_version<"3.6"',
266248
'pdfminer.six==20211012;python_version>="3.6" and python_version<"3.7"', # noqa: E501
267249
'pdfminer.six==20220524;python_version>="3.7"',
268250
],
@@ -279,15 +261,12 @@
279261
# pip install -e .[flake]
280262
# Usage: flake8
281263
"flake": [
282-
'flake8==3.7.9;python_version<"3.5"',
283-
'flake8==3.9.2;python_version>="3.5" and python_version<"3.6"',
264+
'flake8==3.7.9;python_version<"3.6"',
284265
'flake8==4.0.1;python_version>="3.6"',
285266
"mccabe==0.6.1",
286-
'pyflakes==2.1.1;python_version<"3.5"',
287-
'pyflakes==2.3.1;python_version>="3.5" and python_version<"3.6"',
267+
'pyflakes==2.1.1;python_version<"3.6"',
288268
'pyflakes==2.4.0;python_version>="3.6"',
289-
'pycodestyle==2.5.0;python_version<"3.5"',
290-
'pycodestyle==2.7.0;python_version>="3.5" and python_version<"3.6"', # noqa: E501
269+
'pycodestyle==2.5.0;python_version<"3.6"',
291270
'pycodestyle==2.8.0;python_version>="3.6"',
292271
],
293272
},

0 commit comments

Comments
 (0)