Skip to content

Commit 709c47c

Browse files
committed
Refresh Python dependencies
1 parent 8b06574 commit 709c47c

File tree

2 files changed

+82
-125
lines changed

2 files changed

+82
-125
lines changed

requirements.txt

Lines changed: 29 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,22 @@
1-
pip>=25.0.1;python_version<"3.9"
2-
pip>=25.3;python_version>="3.9"
1+
pip>=25.3
32
packaging>=25.0
43
setuptools~=70.2;python_version<"3.10"
54
setuptools>=80.9.0;python_version>="3.10"
65
wheel>=0.45.1
7-
attrs~=25.3.0;python_version<"3.9"
8-
attrs>=25.4.0;python_version>="3.9"
6+
attrs>=25.4.0
97
certifi>=2025.11.12
108
exceptiongroup>=1.3.1
11-
websockets~=13.1;python_version<"3.9"
12-
websockets>=15.0.1;python_version>="3.9"
13-
filelock~=3.16.1;python_version<"3.9"
14-
filelock~=3.19.1;python_version>="3.9" and python_version<"3.10"
9+
websockets>=15.0.1
10+
filelock~=3.19.1;python_version<"3.10"
1511
filelock>=3.20.0;python_version>="3.10"
1612
fasteners>=0.20
17-
mycdp>=1.3.1
13+
mycdp>=1.3.2
1814
pynose>=1.5.5
19-
platformdirs~=4.3.6;python_version<"3.9"
20-
platformdirs~=4.4.0;python_version>="3.9" and python_version<"3.10"
21-
platformdirs>=4.5.0;python_version>="3.10"
22-
typing-extensions~=4.13.2;python_version<"3.9"
23-
typing-extensions>=4.15.0;python_version>="3.9"
15+
platformdirs~=4.4.0;python_version<"3.10"
16+
platformdirs>=4.5.1;python_version>="3.10"
17+
typing-extensions>=4.15.0
2418
sbvirtualdisplay>=1.4.0
25-
MarkupSafe==2.1.5;python_version<"3.9"
26-
MarkupSafe>=3.0.3;python_version>="3.9"
19+
MarkupSafe>=3.0.3
2720
Jinja2>=3.1.6
2821
six>=1.17.0
2922
parse>=1.20.2
@@ -38,48 +31,39 @@ idna>=3.11
3831
chardet==5.2.0
3932
charset-normalizer>=3.4.4,<4
4033
urllib3>=1.26.20,<2;python_version<"3.10"
41-
urllib3>=1.26.20,<2.6.0;python_version>="3.10"
42-
requests==2.32.4;python_version<"3.9"
43-
requests~=2.32.5;python_version>="3.9"
34+
urllib3>=1.26.20,<3;python_version>="3.10"
35+
requests~=2.32.5
4436
sniffio==1.3.1
4537
h11==0.16.0
4638
outcome==1.3.0.post0
47-
trio==0.27.0;python_version<"3.9"
48-
trio>=0.31.0,<1;python_version>="3.9" and python_version<"3.10"
39+
trio>=0.31.0,<1;python_version<"3.10"
4940
trio>=0.32.0,<1;python_version>="3.10"
5041
trio-websocket~=0.12.2
5142
wsproto==1.2.0;python_version<"3.10"
5243
wsproto~=1.3.2;python_version>="3.10"
53-
websocket-client~=1.8.0;python_version<"3.9"
54-
websocket-client~=1.9.0;python_version>="3.9"
55-
selenium==4.27.1;python_version<"3.9"
56-
selenium==4.32.0;python_version>="3.9" and python_version<"3.10"
57-
selenium==4.38.0;python_version>="3.10"
58-
cssselect==1.2.0;python_version<"3.9"
59-
cssselect==1.3.0;python_version>="3.9"
44+
websocket-client~=1.9.0
45+
selenium==4.32.0;python_version<"3.10"
46+
selenium==4.39.0;python_version>="3.10"
47+
cssselect==1.3.0
48+
nest-asyncio==1.6.0
6049
sortedcontainers==2.4.0
6150
execnet==2.1.1;python_version<"3.10"
6251
execnet==2.1.2;python_version>="3.10"
6352
iniconfig==2.1.0;python_version<"3.10"
6453
iniconfig==2.3.0;python_version>="3.10"
65-
pluggy==1.5.0;python_version<"3.9"
66-
pluggy==1.6.0;python_version>="3.9"
67-
pytest==8.3.5;python_version<"3.9"
68-
pytest==8.4.2;python_version>="3.9" and python_version<"3.11"
69-
pytest==9.0.1;python_version>="3.11"
54+
pluggy==1.6.0
55+
pytest==8.4.2;python_version<"3.11"
56+
pytest==9.0.2;python_version>="3.11"
7057
pytest-html==4.0.2
7158
pytest-metadata==3.1.1
7259
pytest-ordering==0.6
73-
pytest-rerunfailures==14.0;python_version<"3.9"
74-
pytest-rerunfailures==16.0.1;python_version>="3.9" and python_version<"3.10"
60+
pytest-rerunfailures==16.0.1;python_version<"3.10"
7561
pytest-rerunfailures==16.1;python_version>="3.10"
76-
pytest-xdist==3.6.1;python_version<"3.9"
77-
pytest-xdist==3.8.0;python_version>="3.9"
62+
pytest-xdist==3.8.0
7863
parameterized==0.9.0
7964
behave==1.2.6
80-
soupsieve==2.7;python_version<"3.9"
81-
soupsieve~=2.8;python_version>="3.9"
82-
beautifulsoup4~=4.14.2
65+
soupsieve~=2.8
66+
beautifulsoup4~=4.14.3
8367
pyotp==2.9.0
8468
python-xlib==0.33;platform_system=="Linux"
8569
PyAutoGUI>=0.9.54;platform_system=="Linux"
@@ -91,15 +75,10 @@ rich>=14.2.0,<15
9175
# --- Testing Requirements --- #
9276
# ("pip install -r requirements.txt" also installs this, but "pip install -e ." won't.)
9377

94-
coverage>=7.6.1;python_version<"3.9"
95-
coverage>=7.10.7;python_version>="3.9" and python_version<"3.10"
78+
coverage>=7.10.7;python_version<"3.10"
9679
coverage>=7.12.0;python_version>="3.10"
97-
pytest-cov>=5.0.0;python_version<"3.9"
98-
pytest-cov>=7.0.0;python_version>="3.9"
99-
flake8==5.0.4;python_version<"3.9"
100-
flake8==7.3.0;python_version>="3.9"
80+
pytest-cov>=7.0.0
81+
flake8==7.3.0
10182
mccabe==0.7.0
102-
pyflakes==2.5.0;python_version<"3.9"
103-
pyflakes==3.4.0;python_version>="3.9"
104-
pycodestyle==2.9.1;python_version<"3.9"
105-
pycodestyle==2.14.0;python_version>="3.9"
83+
pyflakes==3.4.0
84+
pycodestyle==2.14.0

setup.py

Lines changed: 53 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -144,34 +144,27 @@
144144
"Topic :: Software Development :: Testing :: Traffic Generation",
145145
"Topic :: Utilities",
146146
],
147-
python_requires=">=3.8",
147+
python_requires=">=3.9",
148148
install_requires=[
149-
'pip>=25.0.1;python_version<"3.9"',
150-
'pip>=25.3;python_version>="3.9"',
149+
'pip>=25.3',
151150
'packaging>=25.0',
152151
'setuptools~=70.2;python_version<"3.10"', # Newer ones had issues
153152
'setuptools>=80.9.0;python_version>="3.10"',
154153
'wheel>=0.45.1',
155-
'attrs~=25.3.0;python_version<"3.9"',
156-
'attrs>=25.4.0;python_version>="3.9"',
157-
"certifi>=2025.11.12",
158-
"exceptiongroup>=1.3.1",
159-
'websockets~=13.1;python_version<"3.9"',
160-
'websockets>=15.0.1;python_version>="3.9"',
161-
'filelock~=3.16.1;python_version<"3.9"',
162-
'filelock~=3.19.1;python_version>="3.9" and python_version<"3.10"',
154+
'attrs>=25.4.0',
155+
'certifi>=2025.11.12',
156+
'exceptiongroup>=1.3.1',
157+
'websockets>=15.0.1',
158+
'filelock~=3.19.1;python_version<"3.10"',
163159
'filelock>=3.20.0;python_version>="3.10"',
164160
'fasteners>=0.20',
165-
"mycdp>=1.3.1",
166-
"pynose>=1.5.5",
167-
'platformdirs~=4.3.6;python_version<"3.9"',
168-
'platformdirs~=4.4.0;python_version>="3.9" and python_version<"3.10"',
169-
'platformdirs>=4.5.0;python_version>="3.10"',
170-
'typing-extensions~=4.13.2;python_version<"3.9"',
171-
'typing-extensions>=4.15.0;python_version>="3.9"',
172-
"sbvirtualdisplay>=1.4.0",
173-
'MarkupSafe==2.1.5;python_version<"3.9"',
174-
'MarkupSafe>=3.0.3;python_version>="3.9"',
161+
'mycdp>=1.3.2',
162+
'pynose>=1.5.5',
163+
'platformdirs~=4.4.0;python_version<"3.10"',
164+
'platformdirs>=4.5.1;python_version>="3.10"',
165+
'typing-extensions>=4.15.0',
166+
'sbvirtualdisplay>=1.4.0',
167+
'MarkupSafe>=3.0.3',
175168
"Jinja2>=3.1.6",
176169
"six>=1.17.0",
177170
'parse>=1.20.2',
@@ -180,54 +173,45 @@
180173
'pyyaml>=6.0.3',
181174
'pygments>=2.19.2',
182175
'pyreadline3>=3.5.4;platform_system=="Windows"',
183-
"tabcompleter>=1.4.0",
184-
"pdbp>=1.8.1",
185-
"idna>=3.11",
176+
'tabcompleter>=1.4.0',
177+
'pdbp>=1.8.1',
178+
'idna>=3.11',
186179
'chardet==5.2.0',
187180
'charset-normalizer>=3.4.4,<4',
188181
'urllib3>=1.26.20,<2;python_version<"3.10"',
189-
'urllib3>=1.26.20,<2.6.0;python_version>="3.10"',
190-
'requests==2.32.4;python_version<"3.9"',
191-
'requests~=2.32.5;python_version>="3.9"',
182+
'urllib3>=1.26.20,<3;python_version>="3.10"',
183+
'requests~=2.32.5',
192184
'sniffio==1.3.1',
193185
'h11==0.16.0',
194186
'outcome==1.3.0.post0',
195-
'trio==0.27.0;python_version<"3.9"',
196-
'trio>=0.31.0,<1;python_version>="3.9" and python_version<"3.10"',
187+
'trio>=0.31.0,<1;python_version<"3.10"',
197188
'trio>=0.32.0,<1;python_version>="3.10"',
198189
'trio-websocket~=0.12.2',
199190
'wsproto==1.2.0;python_version<"3.10"',
200191
'wsproto~=1.3.2;python_version>="3.10"',
201-
'websocket-client~=1.8.0;python_version<"3.9"',
202-
'websocket-client~=1.9.0;python_version>="3.9"',
203-
'selenium==4.27.1;python_version<"3.9"',
204-
'selenium==4.32.0;python_version>="3.9" and python_version<"3.10"',
205-
'selenium==4.38.0;python_version>="3.10"',
206-
'cssselect==1.2.0;python_version<"3.9"',
207-
'cssselect==1.3.0;python_version>="3.9"',
208-
"sortedcontainers==2.4.0",
192+
'websocket-client~=1.9.0',
193+
'selenium==4.32.0;python_version<"3.10"',
194+
'selenium==4.39.0;python_version>="3.10"',
195+
'cssselect==1.3.0',
196+
'nest-asyncio==1.6.0',
197+
'sortedcontainers==2.4.0',
209198
'execnet==2.1.1;python_version<"3.10"',
210199
'execnet==2.1.2;python_version>="3.10"',
211200
'iniconfig==2.1.0;python_version<"3.10"',
212201
'iniconfig==2.3.0;python_version>="3.10"',
213-
'pluggy==1.5.0;python_version<"3.9"',
214-
'pluggy==1.6.0;python_version>="3.9"',
215-
'pytest==8.3.5;python_version<"3.9"',
216-
'pytest==8.4.2;python_version>="3.9" and python_version<"3.11"',
217-
'pytest==9.0.1;python_version>="3.11"',
218-
"pytest-html==4.0.2", # Newer ones had issues
202+
'pluggy==1.6.0',
203+
'pytest==8.4.2;python_version<"3.11"',
204+
'pytest==9.0.2;python_version>="3.11"',
205+
'pytest-html==4.0.2', # Newer ones had issues
219206
'pytest-metadata==3.1.1',
220-
"pytest-ordering==0.6",
221-
'pytest-rerunfailures==14.0;python_version<"3.9"',
222-
'pytest-rerunfailures==16.0.1;python_version>="3.9" and python_version<"3.10"', # noqa
207+
'pytest-ordering==0.6',
208+
'pytest-rerunfailures==16.0.1;python_version<"3.10"',
223209
'pytest-rerunfailures==16.1;python_version>="3.10"',
224-
'pytest-xdist==3.6.1;python_version<"3.9"',
225-
'pytest-xdist==3.8.0;python_version>="3.9"',
210+
'pytest-xdist==3.8.0',
226211
'parameterized==0.9.0',
227-
"behave==1.2.6", # Newer ones had issues
228-
'soupsieve==2.7;python_version<"3.9"',
229-
'soupsieve~=2.8;python_version>="3.9"',
230-
"beautifulsoup4~=4.14.2",
212+
'behave==1.2.6', # Newer ones had issues
213+
'soupsieve~=2.8',
214+
'beautifulsoup4~=4.14.3',
231215
'pyotp==2.9.0',
232216
'python-xlib==0.33;platform_system=="Linux"',
233217
'PyAutoGUI>=0.9.54;platform_system=="Linux"',
@@ -248,22 +232,17 @@
248232
# pip install -e .[coverage]
249233
# Usage: coverage run -m pytest; coverage html; coverage report
250234
"coverage": [
251-
'coverage>=7.6.1;python_version<"3.9"',
252-
'coverage>=7.10.7;python_version>="3.9" and python_version<"3.10"',
235+
'coverage>=7.10.7;python_version<"3.10"',
253236
'coverage>=7.12.0;python_version>="3.10"',
254-
'pytest-cov>=5.0.0;python_version<"3.9"',
255-
'pytest-cov>=7.0.0;python_version>="3.9"',
237+
'pytest-cov>=7.0.0',
256238
],
257239
# pip install -e .[flake8]
258240
# Usage: flake8
259241
"flake8": [
260-
'flake8==5.0.4;python_version<"3.9"',
261-
'flake8==7.3.0;python_version>="3.9"',
242+
'flake8==7.3.0',
262243
"mccabe==0.7.0",
263-
'pyflakes==2.5.0;python_version<"3.9"',
264-
'pyflakes==3.4.0;python_version>="3.9"',
265-
'pycodestyle==2.9.1;python_version<"3.9"',
266-
'pycodestyle==2.14.0;python_version>="3.9"',
244+
'pyflakes==3.4.0',
245+
'pycodestyle==2.14.0',
267246
],
268247
# pip install -e .[ipdb]
269248
# (Not needed for debugging anymore. SeleniumBase now includes "pdbp".)
@@ -274,26 +253,20 @@
274253
# pip install -e .[mss]
275254
# (An optional library for tile_windows() in CDP Mode.)
276255
"mss": [
277-
'mss==9.0.2;python_version<"3.9"',
278-
'mss==10.0.0;python_version>="3.9"',
256+
'mss==10.1.0',
279257
],
280258
# pip install -e .[pdfminer]
281259
# (An optional library for parsing PDF files.)
282260
"pdfminer": [
283-
'pdfminer.six==20250324;python_version<"3.9"',
284-
'pdfminer.six==20251107;python_version>="3.9"',
285-
'cryptography==39.0.2;python_version<"3.9"',
286-
'cryptography==46.0.3;python_version>="3.9"',
287-
'cffi==1.17.1;python_version<"3.9"',
288-
'cffi==2.0.0;python_version>="3.9"',
289-
'pycparser==2.22;python_version<"3.9"',
290-
'pycparser==2.23;python_version>="3.9"',
261+
'pdfminer.six==20251107',
262+
'cryptography==46.0.3',
263+
'cffi==2.0.0',
264+
'pycparser==2.23',
291265
],
292266
# pip install -e .[pillow]
293267
# (An optional library for image-processing.)
294268
"pillow": [
295-
'Pillow>=10.4.0;python_version<"3.9"',
296-
'Pillow>=11.3.0;python_version>="3.9" and python_version<"3.10"',
269+
'Pillow>=11.3.0;python_version<"3.10"',
297270
'Pillow>=12.0.0;python_version>="3.10"',
298271
],
299272
# pip install -e .[pip-system-certs]
@@ -308,9 +281,14 @@
308281
"proxy": [
309282
"proxy.py==2.4.3", # 2.4.4 did not have "Listening on ..."
310283
],
284+
# pip install -e .[playwright]
285+
# (For the Playwright integration.)
286+
"playwright": [
287+
"playwright>=1.56.0",
288+
],
311289
# pip install -e .[psutil]
312290
"psutil": [
313-
"psutil==7.1.2",
291+
"psutil>=7.1.3",
314292
],
315293
# pip install -e .[pyautogui]
316294
# (Already a required dependency on Linux now.)

0 commit comments

Comments
 (0)