Skip to content

Commit 060190a

Browse files
committed
Refresh Python dependencies
1 parent 0f9d65d commit 060190a

File tree

3 files changed

+20
-8
lines changed

3 files changed

+20
-8
lines changed

requirements.txt

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ packaging>=23.2
33
setuptools>=68.0.0;python_version<"3.8"
44
setuptools>=69.0.3;python_version>="3.8"
55
wheel>=0.42.0
6-
attrs>=23.1.0
6+
attrs>=23.2.0
77
certifi>=2023.11.17
88
filelock>=3.12.2;python_version<"3.8"
99
filelock>=3.13.1;python_version>="3.8"
1010
platformdirs>=4.0.0;python_version<"3.8"
1111
platformdirs>=4.1.0;python_version>="3.8"
1212
parse>=1.20.0
1313
parse-type>=0.6.2
14+
pyyaml>=6.0.1
1415
six==1.16.0
1516
idna==3.6
1617
chardet==5.2.0
@@ -36,7 +37,7 @@ iniconfig==2.0.0
3637
pluggy==1.2.0;python_version<"3.8"
3738
pluggy==1.3.0;python_version>="3.8"
3839
py==1.11.0
39-
pytest==7.4.3
40+
pytest==7.4.4
4041
pytest-html==2.0.1
4142
pytest-metadata==3.0.0
4243
pytest-ordering==0.6
@@ -65,7 +66,7 @@ rich==13.7.0
6566

6667
coverage==6.2;python_version<"3.7"
6768
coverage==7.2.7;python_version>="3.7" and python_version<"3.8"
68-
coverage==7.3.4;python_version>="3.8"
69+
coverage==7.4.0;python_version>="3.8"
6970
pytest-cov==4.0.0;python_version<"3.7"
7071
pytest-cov==4.1.0;python_version>="3.7"
7172
flake8==5.0.4;python_version<"3.9"

seleniumbase/fixtures/base_case.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -6650,7 +6650,12 @@ def get_pdf_text(
66506650
try:
66516651
from pdfminer.high_level import extract_text
66526652
except Exception:
6653-
shared_utils.pip_install("pdfminer.six")
6653+
if not sys.version_info >= (3, 8):
6654+
shared_utils.pip_install(
6655+
"pdfminer.six", version="20221105"
6656+
)
6657+
else:
6658+
shared_utils.pip_install("pdfminer.six")
66546659
from pdfminer.high_level import extract_text
66556660
if not password:
66566661
password = ""

setup.py

+10-4
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,15 @@
136136
'setuptools>=68.0.0;python_version<"3.8"',
137137
'setuptools>=69.0.3;python_version>="3.8"',
138138
'wheel>=0.42.0',
139-
'attrs>=23.1.0',
139+
'attrs>=23.2.0',
140140
"certifi>=2023.11.17",
141141
'filelock>=3.12.2;python_version<"3.8"',
142142
'filelock>=3.13.1;python_version>="3.8"',
143143
'platformdirs>=4.0.0;python_version<"3.8"',
144144
'platformdirs>=4.1.0;python_version>="3.8"',
145145
'parse>=1.20.0',
146146
'parse-type>=0.6.2',
147+
'pyyaml>=6.0.1',
147148
"six==1.16.0",
148149
"idna==3.6",
149150
'chardet==5.2.0',
@@ -169,7 +170,7 @@
169170
'pluggy==1.2.0;python_version<"3.8"',
170171
'pluggy==1.3.0;python_version>="3.8"',
171172
"py==1.11.0",
172-
'pytest==7.4.3',
173+
'pytest==7.4.4',
173174
"pytest-html==2.0.1", # Newer ones had issues
174175
'pytest-metadata==3.0.0',
175176
"pytest-ordering==0.6",
@@ -206,7 +207,7 @@
206207
# Usage: coverage run -m pytest; coverage html; coverage report
207208
"coverage": [
208209
'coverage==7.2.7;python_version<"3.8"',
209-
'coverage==7.3.4;python_version>="3.8"',
210+
'coverage==7.4.0;python_version>="3.8"',
210211
'pytest-cov==4.1.0',
211212
],
212213
# pip install -e .[flake8]
@@ -229,7 +230,8 @@
229230
# pip install -e .[pdfminer]
230231
# (An optional library for parsing PDF files.)
231232
"pdfminer": [
232-
'pdfminer.six==20221105',
233+
'pdfminer.six==20221105;python_version<"3.8"',
234+
'pdfminer.six==20231228;python_version>="3.8"',
233235
'cryptography==39.0.2;python_version<"3.9"',
234236
'cryptography==41.0.7;python_version>="3.9"',
235237
'cffi==1.15.1;python_version<"3.8"',
@@ -247,6 +249,10 @@
247249
"psutil": [
248250
"psutil==5.9.6",
249251
],
252+
# pip install -e .[selenium-stealth]
253+
"selenium-stealth": [
254+
'selenium-stealth==1.0.6',
255+
],
250256
# pip install -e .[selenium-wire]
251257
"selenium-wire": [
252258
'selenium-wire==5.1.0',

0 commit comments

Comments
 (0)