Skip to content

Commit b6f64f3

Browse files
authored
Merge pull request #1942 from seleniumbase/simplify-dependencies
Simplify dependencies
2 parents 3923926 + 7bb0f0c commit b6f64f3

File tree

3 files changed

+22
-47
lines changed

3 files changed

+22
-47
lines changed

requirements.txt

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,17 @@ packaging>=21.3;python_version<"3.7"
44
packaging>=23.1;python_version>="3.7"
55
setuptools>=59.6.0;python_version<"3.7"
66
setuptools>=68.0.0;python_version>="3.7"
7-
keyring>=23.4.1;python_version<"3.8"
8-
keyring>=24.1.1;python_version>="3.8"
9-
tomli>=1.2.3;python_version<"3.7"
10-
tomli>=2.0.1;python_version>="3.7"
11-
tqdm>=4.64.1;python_version<"3.7"
12-
tqdm>=4.65.0;python_version>="3.7"
137
wheel>=0.37.1;python_version<"3.7"
148
wheel>=0.40.0;python_version>="3.7"
159
attrs==22.1.0;python_version<"3.7"
1610
attrs>=23.1.0;python_version>="3.7"
17-
PyYAML>=6.0
1811
certifi>=2023.5.7
1912
filelock>=3.4.1;python_version<"3.7"
2013
filelock>=3.12.2;python_version>="3.7"
2114
platformdirs>=2.4.0;python_version<"3.7"
2215
platformdirs>=3.8.1;python_version>="3.7"
2316
parse>=1.19.1
2417
parse-type>=0.6.2
25-
pyparsing>=3.0.7;python_version<"3.7"
26-
pyparsing>=3.1.0;python_version>="3.7"
27-
zipp==3.6.0;python_version<"3.7"
28-
zipp>=3.15.0;python_version>="3.7"
29-
more-itertools==8.14.0;python_version<"3.7"
30-
more-itertools>=9.1.0;python_version>="3.7"
3118
six==1.16.0
3219
idna==3.4
3320
chardet==4.0.0;python_version<"3.7"
@@ -39,14 +26,12 @@ urllib3>=1.26.16,<2;python_version>="3.7" and python_version<"3.10"
3926
urllib3>=1.26.16,<2.1.0;python_version>="3.10"
4027
requests==2.27.1;python_version<"3.7"
4128
requests==2.31.0;python_version>="3.7"
42-
requests-toolbelt==1.0.0
4329
pynose==1.4.6
4430
sniffio==1.3.0;python_version>="3.7"
4531
h11==0.14.0;python_version>="3.7"
4632
outcome==1.2.0;python_version>="3.7"
4733
trio==0.22.1;python_version>="3.7"
4834
trio-websocket==0.10.3;python_version>="3.7"
49-
pyopenssl==23.2.0;python_version>="3.7"
5035
wsproto==1.2.0;python_version>="3.7"
5136
selenium==3.141.0;python_version<"3.7"
5237
selenium==4.10.0;python_version>="3.7"
@@ -57,7 +42,7 @@ sortedcontainers==2.4.0
5742
fasteners==0.17.3;python_version<"3.7"
5843
fasteners==0.18;python_version>="3.7"
5944
execnet==1.9.0;python_version<"3.7"
60-
execnet==2.0.0;python_version>="3.7"
45+
execnet==2.0.2;python_version>="3.7"
6146
iniconfig==1.1.1;python_version<"3.7"
6247
iniconfig==2.0.0;python_version>="3.7"
6348
pluggy==1.0.0;python_version<"3.7"
@@ -81,8 +66,6 @@ behave==1.2.6
8166
soupsieve==2.3.2.post1;python_version<"3.7"
8267
soupsieve==2.4.1;python_version>="3.7"
8368
beautifulsoup4==4.12.2
84-
cryptography==36.0.2;python_version<"3.7"
85-
cryptography==41.0.1;python_version>="3.7"
8669
pygments==2.14.0;python_version<"3.7"
8770
pygments==2.15.1;python_version>="3.7"
8871
pyreadline3==3.4.1;platform_system=="Windows"
@@ -93,10 +76,8 @@ colorama==0.4.6;python_version>="3.7"
9376
exceptiongroup==1.1.2;python_version>="3.7"
9477
future-breakpoint==2.0.0;python_version<"3.7"
9578
importlib-metadata==4.2.0;python_version<"3.8"
96-
pycparser==2.21
9779
pyotp==2.7.0;python_version<"3.7"
9880
pyotp==2.8.0;python_version>="3.7"
99-
cffi==1.15.1
10081
typing-extensions==4.1.1;python_version<"3.7"
10182
commonmark==0.9.1;python_version<"3.7"
10283
markdown-it-py==3.0.0;python_version>="3.8"

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__ = "4.15.10"
2+
__version__ = "4.15.11"

setup.py

Lines changed: 20 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,23 @@
4545
os.system("rm -f dist/*.egg; rm -f dist/*.tar.gz; rm -f dist/*.whl")
4646
os.system("rm -rf build/bdist.*; rm -rf build/lib")
4747
print("\n*** Installing build: *** (Required for PyPI uploads)\n")
48-
os.system("python -m pip install --upgrade 'build>=0.10.0'")
48+
os.system("python -m pip install --upgrade 'build'")
4949
print("\n*** Installing pkginfo: *** (Required for PyPI uploads)\n")
50-
os.system("python -m pip install --upgrade 'pkginfo>=1.9.6'")
50+
os.system("python -m pip install --upgrade 'pkginfo'")
5151
print("\n*** Installing readme-renderer: *** (For PyPI uploads)\n")
52-
os.system("python -m pip install --upgrade 'readme-renderer>=40.0'")
52+
os.system("python -m pip install --upgrade 'readme-renderer'")
53+
print("\n*** Installing jaraco.classes: *** (For PyPI uploads)\n")
54+
os.system("python -m pip install --upgrade 'jaraco.classes'")
55+
print("\n*** Installing more-itertools: *** (For PyPI uploads)\n")
56+
os.system("python -m pip install --upgrade 'more-itertools'")
57+
print("\n*** Installing zipp: *** (Required for PyPI uploads)\n")
58+
os.system("python -m pip install --upgrade 'zipp'")
59+
print("\n*** Installing importlib-metadata: *** (For PyPI uploads)\n")
60+
os.system("python -m pip install --upgrade 'importlib-metadata'")
61+
print("\n*** Installing keyring, requests-toolbelt: *** (For PyPI)\n")
62+
os.system("python -m pip install --upgrade keyring requests-toolbelt")
5363
print("\n*** Installing twine: *** (Required for PyPI uploads)\n")
54-
os.system("python -m pip install --upgrade 'twine>=4.0.2'")
55-
print("\n*** Installing tqdm: *** (Required for PyPI uploads)\n")
56-
os.system("python -m pip install --upgrade tqdm")
64+
os.system("python -m pip install --upgrade 'twine'")
5765
print("\n*** Rebuilding distribution packages: ***\n")
5866
os.system("python -m build") # Create new tar/wheel
5967
print("\n*** Publishing The Release to PyPI: ***\n")
@@ -130,30 +138,17 @@
130138
'packaging>=23.1;python_version>="3.7"',
131139
'setuptools>=59.6.0;python_version<"3.7"',
132140
'setuptools>=68.0.0;python_version>="3.7"',
133-
'keyring>=23.4.1;python_version<"3.8"',
134-
'keyring>=24.1.1;python_version>="3.8"',
135-
'tomli>=1.2.3;python_version<"3.7"',
136-
'tomli>=2.0.1;python_version>="3.7"',
137-
'tqdm>=4.64.1;python_version<"3.7"',
138-
'tqdm>=4.65.0;python_version>="3.7"',
139141
'wheel>=0.37.1;python_version<"3.7"',
140142
'wheel>=0.40.0;python_version>="3.7"',
141143
'attrs==22.1.0;python_version<"3.7"',
142144
'attrs>=23.1.0;python_version>="3.7"',
143-
"PyYAML>=6.0",
144145
"certifi>=2023.5.7",
145146
'filelock>=3.4.1;python_version<"3.7"',
146147
'filelock>=3.12.2;python_version>="3.7"',
147148
'platformdirs>=2.4.0;python_version<"3.7"',
148149
'platformdirs>=3.8.1;python_version>="3.7"',
149150
'parse>=1.19.1',
150151
'parse-type>=0.6.2',
151-
'pyparsing>=3.0.7;python_version<"3.7"',
152-
'pyparsing>=3.1.0;python_version>="3.7"',
153-
'zipp==3.6.0;python_version<"3.7"',
154-
'zipp>=3.15.0;python_version>="3.7"',
155-
'more-itertools==8.14.0;python_version<"3.7"',
156-
'more-itertools>=9.1.0;python_version>="3.7"',
157152
"six==1.16.0",
158153
"idna==3.4",
159154
'chardet==4.0.0;python_version<"3.7"',
@@ -165,14 +160,12 @@
165160
'urllib3>=1.26.16,<2.1.0;python_version>="3.10"',
166161
'requests==2.27.1;python_version<"3.7"',
167162
'requests==2.31.0;python_version>="3.7"',
168-
'requests-toolbelt==1.0.0',
169163
"pynose==1.4.6",
170164
'sniffio==1.3.0;python_version>="3.7"',
171165
'h11==0.14.0;python_version>="3.7"',
172166
'outcome==1.2.0;python_version>="3.7"',
173167
'trio==0.22.1;python_version>="3.7"',
174168
'trio-websocket==0.10.3;python_version>="3.7"',
175-
'pyopenssl==23.2.0;python_version>="3.7"',
176169
'wsproto==1.2.0;python_version>="3.7"',
177170
'selenium==3.141.0;python_version<"3.7"',
178171
'selenium==4.10.0;python_version>="3.7"',
@@ -183,7 +176,7 @@
183176
'fasteners==0.17.3;python_version<"3.7"',
184177
'fasteners==0.18;python_version>="3.7"',
185178
'execnet==1.9.0;python_version<"3.7"',
186-
'execnet==2.0.0;python_version>="3.7"',
179+
'execnet==2.0.2;python_version>="3.7"',
187180
'iniconfig==1.1.1;python_version<"3.7"',
188181
'iniconfig==2.0.0;python_version>="3.7"',
189182
'pluggy==1.0.0;python_version<"3.7"',
@@ -207,8 +200,6 @@
207200
'soupsieve==2.3.2.post1;python_version<"3.7"',
208201
'soupsieve==2.4.1;python_version>="3.7"',
209202
"beautifulsoup4==4.12.2",
210-
'cryptography==36.0.2;python_version<"3.7"',
211-
'cryptography==41.0.1;python_version>="3.7"',
212203
'pygments==2.14.0;python_version<"3.7"',
213204
'pygments==2.15.1;python_version>="3.7"',
214205
'pyreadline3==3.4.1;platform_system=="Windows"',
@@ -219,10 +210,8 @@
219210
'exceptiongroup==1.1.2;python_version>="3.7"',
220211
'future-breakpoint==2.0.0;python_version<"3.7"',
221212
'importlib-metadata==4.2.0;python_version<"3.8"',
222-
"pycparser==2.21",
223213
'pyotp==2.7.0;python_version<"3.7"',
224214
'pyotp==2.8.0;python_version>="3.7"',
225-
"cffi==1.15.1",
226215
'typing-extensions==4.1.1;python_version<"3.7"',
227216
'commonmark==0.9.1;python_version<"3.7"', # For old "rich"
228217
'markdown-it-py==3.0.0;python_version>="3.8"', # For new "rich"
@@ -272,6 +261,11 @@
272261
"pdfminer": [
273262
'pdfminer.six==20211012;python_version<"3.7"',
274263
'pdfminer.six==20221105;python_version>="3.7"',
264+
'cryptography==36.0.2;python_version<"3.7"',
265+
'cryptography==41.0.1;python_version>="3.7"',
266+
"cffi==1.15.1",
267+
"pycparser==2.21",
268+
275269
],
276270
# pip install -e .[pillow]
277271
"pillow": [

0 commit comments

Comments
 (0)